- 10 Aug, 2012 1 commit
-
-
Michael Shigorin authored
Don't remember who exactly recommended this nice and elegant system monitor but it fits just fine.
-
- 09 Aug, 2012 2 commits
-
-
Michael Shigorin authored
There were heaps of "if type -t git" there already; it wasn't an unintentional mishap but rather a moderate copy-paste to get the use cases, and now these seem to have essentially settled. So time to scrap some dups. NB: the scripts in the generated profile can't rely on the contents of the metaprofile (these need to be able to work in standalone case either), so a bit of crap still lurks there.
-
Michael Shigorin authored
This kind of tools can be badly missing at times.
-
- 08 Aug, 2012 3 commits
-
-
Michael Shigorin authored
There's no (convenient) "eject" at times, so it's better to provide extra ways of booting right away.
-
Michael Shigorin authored
Found myself pretty silly while sittin' at the rescue console and bein' unable to leave the cool server room for a way more comfortable armchair and a laptop's keyboard... (yes, it was that disk array needing GPT tools)
-
Michael Shigorin authored
Several GPT-related packages added along with a few more rescue related ones.
-
- 06 Aug, 2012 5 commits
-
-
Michael Shigorin authored
-
Michael Shigorin authored
- minor improvements
-
Michael Shigorin authored
Another feature suggested by Michael Radyuk (torabora): some images are known alpha/beta quality, it's more handy to just state this at the build time than to rename by hand.
-
Michael Shigorin authored
This trots along the TODO item on text branding and hopefully helps Michael Radyuk (torabora) with his feature request to tweak the installer's "Install ALT Linux" label; as an example, Simply will now offer to "Install Simply Linux".
-
Michael Shigorin authored
The package actually passed the test and just got uploaded to Sisyphus proper; its aim is to help set up the cross-arch QEMU build environment. NB: there are known issues with PPC32-on-x86_64 (which were the cause for this package and commit to be created in the first place).
-
- 31 Jul, 2012 2 commits
-
-
Michael Shigorin authored
Some images were unbuildable (at least without special setup, like ve/centos), unusable or just not useful in any meaningful way (like distro/live-isomd5sum); as these tend to get any attention during experiments, I decided to put them together in a separate configuration file that would be effectively skipped if DEBUG is not requested.
-
Michael Shigorin authored
This one was suggested by enp@ for industrial use where some extra protection for the boot process might be quite desirable. If no syslinux ui was specified (the stock configuration paths ensure there is one) or if it was set to "none" explicitly, then there's no boot: prompt (let alone any menu). If there's a need to ensure that the boot process is not interruptable by Ctrl/Shift/Caps Lock/Scroll Lock.
-
- 30 Jul, 2012 4 commits
-
-
Michael Shigorin authored
This provides the means to cross-build at least ARM chroots, there are known problems with PowerPC for me so far: http://lists.altlinux.org/pipermail/devel/2012-July/194855.html See also http://www.altlinux.org/Ports/arm/chroot for /proc magic.
-
Michael Shigorin authored
-
Michael Shigorin authored
- a bunch of fixups and cleanups
-
Michael Shigorin authored
The prerequisites for a cleanup after a successful build were somewhat weird at this point; now the rules are: - if DEBUG level is more than 1 or CHECK is set, don't do it; - otherwise if at least one of the following conditions is true: + there's more than one target being built in a row; + the build was run by e.g. alterator-mkimage; + metaprofile directory is read only ...then do a distclean. If these are still weird or feel unsuitable for profile hacking, drop me a note (or a patch).
-
- 28 Jul, 2012 4 commits
-
-
Michael Shigorin authored
Essentially all the relevant server images got cpufreq setup and a power button handler; feel free to ask for revert if this causes any harm in any situation.
-
Michael Shigorin authored
It wasn't obvious at all what BRANDING variable is for (at least until the source code and existing configurarion has been examined).
-
Michael Shigorin authored
`help' used to be the default target described at the very top of the toplevel makefile but that got broken with g2f307fff; spotted while discussing m-p with enp@.
-
Michael Shigorin authored
Also pulled the pkglist/kmodule part out of distro/server-mini's recipe and started off a standalone feature based on it. NB: el-smp kernel now contains aufs as a module but propagator doesn't try to modprobe it.
-
- 27 Jul, 2012 1 commit
-
-
Michael Shigorin authored
"textinst" != "textinstall", so let's just stick to the latter form.
-
- 21 Jul, 2012 1 commit
-
-
Michael Shigorin authored
Actually the templates pretending to be usable missed the whole interactivesystem (sysvinit would get pulled in by services as well). Fixed somewhat but time and practice will tell.
-
- 19 Jul, 2012 2 commits
-
-
Michael Shigorin authored
TDE distros don't really need kdm4 which was proposed as a replacement by zerg@ (for all the valid reasons but kdm3 wasn't maintained at that point, this has changed since).
-
Michael Shigorin authored
The reason is that package lists and individual packages are processed in different dependency resolution "transactions" by mkimage; thus if packages (the more precise form of specifying the contents) come first they can't override the lists appearing later, and that's wrong: we should be able to specify the more generic things and then pinpoint the specifics. This became apparent while authoring [[Mkimage/Profiles/m-p/howto]] asked for by drool@.
-
- 18 Jul, 2012 2 commits
-
-
Michael Shigorin authored
The problem was spotted by Alexander Bandura: bin/tar2vm wasn't present in the generated profile. I considered extending features.in/Makefile to include bin/ alongside lib/ but that would make the helper's location unpredictable (unless BUILDDIR is specified explicitly) so restricting sudoers would be harder; worse yet, the copied file would come with write access for the user building an image. The implications in restricted case are complex enough anyways so the recommended implementation would only include a fixed readonly location like /usr/share/mkimage-profiles/bin/tar2vm as laid out in doc/vm.txt, and that means it's in the metaprofile not a generated profile.
-
Michael Shigorin authored
Argh, is it overdocumentation already? The temporary name bites once again...
-
- 17 Jul, 2012 2 commits
-
-
Michael Shigorin authored
say() redirects to stderr already.
-
Michael Shigorin authored
No need to just go ahead and source files in potentially unavailable directories, really.
-
- 16 Jul, 2012 7 commits
-
-
Michael Shigorin authored
-
Michael Shigorin authored
- ppc builds
-
Michael Shigorin authored
As it happens, adding another architecture required almost no changes; native 32-bit ppc build took only ARCH and a repo, qemu-ppc one still has problems (/.host/entry hangs while unpacking setup for fakedata). Proof of concept on a QS22: $ make ve/bare.tar.gz ** ARCH: ppc /bin/sh: rpmvercmp: command not found 21:41:01 cleaning up 21:41:03 initializing BUILDDIR: build/ 21:41:03 preparing distro config 21:41:05 starting image build (coffee time) 21:42:48 done (1:42) ** image: $TMP/out/bare-20120716-ppc.tar.gz [21M]
-
Michael Shigorin authored
"df -l" is going to hurt (or at least spam) if it's a diskless node; "df -P" helps maintain output parseability. So be it.
-
Michael Shigorin authored
su wasn't making it into the image breaking ~/.git setup, and there's no reason for a full default boot timeout either.
-
Michael Shigorin authored
There was some extra duplication, just clean it up.
-
Michael Shigorin authored
mkimage and hasher can make use of qemu to run non-native binaries while working on the chroots; thanks kas@, manowar@ and sbolshakov@ for implementing this functionality as well as providing nice examples through mkimage-profiles-arm and mkimage-profile-armrootfs. This required the architecture check to be added since baking a tarball with "arm" as its specified arch and x86_64 inside isn't particularly good thing to let slip through; however the implementation is quite fragile, bugreports and patches are seriously welcome. NB: APTCONF evaluation order between lazy make and nimble shell turned out to be quite a delicate issue in this particular case.
-
- 09 Jul, 2012 4 commits
-
-
Michael Shigorin authored
-
Michael Shigorin authored
- arm builds
-
Michael Shigorin authored
The only thing to be fixed was setarch(8) symlinks assumption that is correct for x86 but not for ARM. There's also some hasher(7) setup to be done: mkdir -p ~/.hasher echo >> ~/.hasher/config <<-EOF def_target=arm #cache_dir=$HOME/tmp # depends on RAM/storage configuration EOF ...and of course apt(8) should be properly set up too. An example PoC build on a CM-A510 board (tmpfs): $ make BRANDING=altlinux-centaurus ve/bare.tar.gz ** ARCH: arm 18:10:45 initializing BUILDDIR: build/ 18:10:45 preparing distro config: build/distcfg.mk 18:10:46 starting image build: tail -f build/build.log 18:14:49 done (4:02) ** image: $TMP/out/bare-20120706-arm.tar.gz [23M]
-
Michael Shigorin authored
~/.mkimage/profiles.mk is useful but not requisite by any margin; no need to make noise trying to make it either.
-