[Git-commits] [grml/live-boot-grml] 02b7fe: 9990-misc-helpers.sh: remove mdadm.conf in initram...
Michael Prokop
noreply at github.com
Sat Apr 24 22:03:23 CEST 2021
Branch: refs/heads/master
Home: https://github.com/grml/live-boot-grml
Commit: 02b7fee2ca2d7180b8bceef8ac831034595f0eef
https://github.com/grml/live-boot-grml/commit/02b7fee2ca2d7180b8bceef8ac831034595f0eef
Author: Mihai Moldovan <ionic at ionic.de>
Date: 2021-04-07 (Wed, 07 Apr 2021)
Changed paths:
M components/9990-misc-helpers.sh
Log Message:
-----------
9990-misc-helpers.sh: remove mdadm.conf in initramfs if existent.
mkinitramfs is creating the initramfs based on host system parameters.
This is important for RAID support - if the base system (in that case,
the FAI chroot we use to bootstrap grml from) does not contain an
/etc/mdadm/mdadm.conf file (which is the default), it will automatically
generate one for the initramfs from the RAID devices in the currently
running system.
This essentially means that the RAID configuration spills into the
initramfs, even if later grml-live/FAI scripts make sure that they are
not recorded in the squashfs mdadm.conf.
Consequently, the generated image will boot fine on the system that
created the image, but will fail to boot from RAID devices on other
systems, since mdadm --assemble --scan will just refuse to start any
arrays not included in the provided mdadm.conf file as shipped in the
initramfs. Since we build general-purpose images and desperately want to
have auto-detection in such a case, this behavior is unwanted.
The easiest way to fix that is to just delete the initramfs's mdadm.conf
file before calling the RAID auto-detection script. This should restore
correct auto-detection behavior regardless of the system that built the
image without any disadvantage.
Closes: https://github.com/grml/grml/issues/125
Commit: 6aa95101942a323e9bab7a2c925e75bad2ec9274
https://github.com/grml/live-boot-grml/commit/6aa95101942a323e9bab7a2c925e75bad2ec9274
Author: Michael Prokop <mika at grml.org>
Date: 2021-04-24 (Sat, 24 Apr 2021)
Changed paths:
M components/9990-misc-helpers.sh
Log Message:
-----------
Merge remote-tracking branch 'origin/github/pr/15'
Commit: 35b6ae0bceffa786cfe375c7b84383eb74ccf91e
https://github.com/grml/live-boot-grml/commit/35b6ae0bceffa786cfe375c7b84383eb74ccf91e
Author: Michael Prokop <mika at grml.org>
Date: 2021-04-24 (Sat, 24 Apr 2021)
Changed paths:
M debian/changelog
Log Message:
-----------
Release new version 1:20210208+grml.3
Compare: https://github.com/grml/live-boot-grml/compare/80b6bc422d0e...35b6ae0bceff
More information about the Git-commits
mailing list