mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2025-12-06 07:12:01 +01:00
remove systemd-gpt-auto-generator to prevent it automounting partitions
Given some circumstances like matching IDs and partition setup, systemd-gpt-auto-generator will auto-mount specially marked partitions. This would interfere with SystemRescue and also go against the no-automount policy of SystemRescue. So remove systemd-gpt-auto-generator during build.
This commit is contained in:
parent
a30ed60994
commit
ddcd287322
|
|
@ -55,6 +55,9 @@ systemctl mask updatedb.timer
|
|||
# ldconfig ("Rebuild Dynamic Linker Cache") unnecessarily slows down boot some time after the release
|
||||
systemctl mask ldconfig.service
|
||||
|
||||
# systemd-gpt-auto-generator could automatically mount filesystems given the right config. Prevent that.
|
||||
rm -f /usr/lib/systemd/system-generators/systemd-gpt-auto-generator
|
||||
|
||||
# setup pacman signing key storage
|
||||
/usr/bin/pacman-key --init
|
||||
/usr/bin/pacman-key --populate
|
||||
|
|
|
|||
Loading…
Reference in a new issue