- 21 Aug, 2023 1 commit
-
-
Anton Midyukov authored
-
- 26 May, 2023 1 commit
-
-
Anton Midyukov authored
See: https://bugzilla.altlinux.org/46271
-
- 10 Mar, 2023 1 commit
-
-
Anton Midyukov authored
If udev-rule-generator-net is installed on the system, add the interface naming rules from this package to the initrd. If not, add the standard udev rules.
-
- 01 Mar, 2023 1 commit
-
-
Anton Midyukov authored
When unpacking squash into multiple partitions using unsquashfs, hardlinks are not converted to files and an unpacking error occurs. See also: https://bugzilla.altlinux.org/45329
-
- 24 Jun, 2022 1 commit
-
-
Anton Midyukov authored
dtb on an ESP partition can be loaded by u-boot. devicetree directory contain symlinks to enable booting on systems, where use path of directory by vendor (modern u-boot) and flat path (older u-boot). In the case of iso, there is no need to support old u-boot given the price of 15 MB image increase on aarch64.
-
- 03 Jun, 2022 1 commit
-
-
Anton Midyukov authored
With this change, we simplify the created initrd image. Kernel modules and firmware are added by make-Initrd itself. The layer in Initrd is now one. It also allows you to unifyed configs for bootloading with propagator and bootchain. Config files for refind and elilo is creates in mkimage, so have to copy initrd.img in efi/boot/ with the name full.cz.
-
- 12 Apr, 2021 3 commits
-
-
Anton Midyukov authored
In the future, it is planned building iso without propagator.
-
Anton Midyukov authored
-
Anton Midyukov authored
At the moment, the ability to select the kernel with which to boot is implemented only for grub (grub-pc, grub-efi, ieee1275boot). note that renamed STAGE1_KFLAVOUR to STAGE1_KFLAVOURS, as multiple kernels can now be added.
-
- 05 Apr, 2021 1 commit
-
-
Anton Midyukov authored
-
- 03 Apr, 2021 1 commit
-
-
Anton Midyukov authored
squashfs built with this option are not loaded with modern kernels.
-
- 22 May, 2020 1 commit
-
-
Anton Midyukov authored
-
- 15 Oct, 2018 2 commits
-
-
Michael Shigorin authored
sin@ was kind enough to just stick mount.cifs into initrd regardless of its presence in the chroot in question; let's look first and only add what's found. This started as a stopgap fix after make-initrd 2.2.0 which happened to collide with cifs-related m-p commits in a somewhat unfortunate manner...
-
Evgeny Sinelnikov authored
-
- 21 May, 2018 1 commit
-
-
Michael Shigorin authored
This has been made a bit messy with commit 9f72780d, just split the "involved" and straightforward checks into two.
-
- 23 May, 2016 1 commit
-
-
Konstantin A. Lepikhov authored
If aufs not available/broken we could try to use overlayfs. NB: changes below doesn't work without modified make-initrd-propagator!
-
- 19 Sep, 2014 1 commit
-
-
Michael Shigorin authored
stage2 has been thinking it's synonymous with propagator and used to usurp kernel's belongings either; carefully tear scripts apart so that kernel feature makes sure initrd gets generated, and stage2 (which is still all about propagator) cares for its bits.
-
- 12 May, 2014 1 commit
-
-
Michael Shigorin authored
The newly-introduced STAGE1_KCONFIG variable serves to keep those kernel configuration options that are required to be present in the kernel to boot.
-
- 27 Jan, 2014 1 commit
-
-
Michael Shigorin authored
This change tries to force loading the storage driver for cases when SecureBoot is "helping" the chainloader to fail, see #29705 for details collected so far. Of course ahci.ko only does AHCI but that's every storage controller I've seen on UEFI/SecureBoot systems so far.
-
- 19 Feb, 2013 1 commit
-
-
Michael Shigorin authored
It was removing autodetection setting completely thus implicitly setting it to the default "all" with make-initrd-0.8.1+; just set it to be empty. Thanks legion@ and boyarsh@; see also #28578.
-
- 03 Dec, 2012 1 commit
-
-
Michael Shigorin authored
The previous part was fixed and discussed in commit c30490e2; so much for a deduplication effort... This would result in almost immediate make[1]: *** [profile/populate] Error 2 as well.
-
- 19 Nov, 2012 1 commit
-
-
Michael Shigorin authored
propagator-20121109-alt1 obsoleted initfs (and dropped mkinitfs script altogether); that was taken into account in both make-initrd-propagator and mkimage-profiles-desktop but not in mkimage proper, see also discussion in #27976.
-
- 10 Nov, 2012 1 commit
-
-
Michael Shigorin authored
*Of course* the "weird" [ ... ] || ... construct meant to avoid the non-zero exit status of the whole thing wasn't employed where it actually does make the difference! Thanks ildar@ for hitting and reporting this, as in + verbose '/usr/lib64/propagator exists' + '[' -n '' ']' mki-scripts: .../stage1/scripts.d/80-make-initfs: unable to run script. make[3]: *** [run-scripts] Error 1
-
- 15 Oct, 2012 2 commits
-
-
Michael Shigorin authored
The added pdir check was a hillarious(tm) overlooked bug indeed: I tried to put .../initfs/initfs instead of .../initfs as the result. Duly spotted by torabora@, thanks a lot. Still the kmod+propagator+kernel-image combo needed some tweaking too, see #27640
-
Michael Shigorin authored
A tiny bit less cut-n-paste. :)
-
- 24 Sep, 2012 1 commit
-
-
Michael Shigorin authored
Thanks mithraen@ for spotting, boyarsh@ for explaining, and legion@ for hearty support :) The problem would manifest itself like this: /.host/script.sh: line 20: /usr/lib64/propagator/initfs: \ No such file or directory mki-scripts: .../stage1/scripts.d/80-make-initfs: unable to run script.
-
- 14 Jun, 2012 1 commit
-
-
Michael Shigorin authored
An initial draft of it was done half a year ago but several tricky thingies had kept the code from showing up as it was rather brittle and incomplete. This implementation involves quite a few changes all over the place but finally works good enough for live and installer images. Please pay attention to the versions of these packages: - installer-feature-setup-plymouth (0.3.2-alt1+) - branding-altlinux-sisyphus (20110706-alt2+ if used) - plymouth (0.8.3-alt20.git20110406+) See also: - http://www.altlinux.org/Branding - http://www.altlinux.org/Plymouth
-
- 25 May, 2012 1 commit
-
-
Michael Shigorin authored
legion@ implemented skipping depmod call, and that's several more seconds for most of the images; let's shave these off if possible.
-
- 09 Apr, 2012 2 commits
-
-
Michael Shigorin authored
Looks like the 128k default block size is pretty well chosen: it saves ~6% of image size compared to 64k, and subsequent differences are ~3% per doubling the block size up to 1M (thanks led@ for carrying out the tests). So we'll stick with 256k for "normal" xz compression (inodes uncompressed) and get 512k back for "tight" one (compressed). The runtime performance issues are to be examined yet when bootchart or the like is deployed, nothing drastic though. With "fast" (gzip/lzo) squash compression inodes go unmolested. For the record, tight live-webkiosk builds as 95M image in 3:40, and tight live-flightgear.iso builds as 669M image in 6:34. Nice. There's no much sense going for 1M block size: e.g. live-webkiosk would drop to 93M (3:46) but its load time would increase up to 2:07 as compared to 1:48 for -b 524288 and 1:42 for -b 262144 -noI on a Duron 500/512M system given the very same DVD+RW media.
-
Michael Shigorin authored
The existing implementation would handle kernel differences just fine but a bit too automatically: if it sees xz support, that's what will end up being used (and if there's -Xbcj binary compression filter available for the target platform, it will be applied unequivocally either). It's perfectly suitabe for getting fine-tuned release images but is also a bit too resource-consuming while developing the image configuration which has no business with its compression. The one and only knob is SQUASHFS (see doc/variables.txt); to give an idea of the differences, here are some numbers for a mostly-binary (43% as per 99-elf-stats) webkiosk livecd and a rather less so (18%) flightgear one on a dual quad-core X5570 node (each mksquashfs run used up all the cores): SQUASHFS | live-webkiosk.iso | live-flightgear.iso ---------+-------------------+--------------------- fast | 3:30 / 130M | 5:11 / 852M normal * | 3:37 / 100M | 5:35 / 688M tight | 3:50 / 98M | 6:47 / 683M Thus if the knob isn't fiddled with, the defaults will allow for a reasonably fast build of a pretty slim image; if one is building a release or if a particular image is very sensitive being close to the media capacity then just add SQUASHFS=tight and see it a percent or two down on size. Please note that lzo/gzip-compressed images are also quicker to uncompress thus further helping with test iterations. Thanks to led@ and glebfm@ for helpful hints and questions.
-
- 07 Apr, 2012 1 commit
-
-
Michael Shigorin authored
gns@ has 512k, led@ suggests that it's too much a bit; let's try 256k.
-
- 18 Jan, 2012 1 commit
-
-
Michael Shigorin authored
A larger block size was recommended by led@; gns@ seems to concur as the 512k value was borrowed from liveflash.eeepc profile (along with -noI). The other issue is with binary specific compressors: x86 was clearly assumed while the data for an educated guess are pretty handy. Please note that using filters incurs additional compression attempts for the utility to choose the best result.
-
- 26 Dec, 2011 1 commit
-
-
Michael Shigorin authored
Initial openSUSE package base taming effort has shown that relatively few things should be fixed; subst has been generalized as -i option to sed(1) since its introduction, so let's just fix it.
-
- 04 Nov, 2011 1 commit
-
-
Michael Shigorin authored
- introduced generic stage2 subprofile (non-standalone) - ported installer and rescue over to stage2/{install2,rescue} - initial stage2/live (needs more work for sure) - use make-initrd-propagator - updated and somewhat extended doc/ NB: mind #26133, #26134
-