remove initrd-release cleanup

This commit is contained in:
Tobias Powalowski 2023-10-15 10:55:46 +02:00
parent 26a019dfb6
commit 94a48d407c
2 changed files with 0 additions and 5 deletions

View file

@ -169,9 +169,6 @@ _run ()
/usr/lib/libnss_resolve.so.2 /usr/lib/libnss_systemd.so.2 /usr/lib/libnss_resolve.so.2 /usr/lib/libnss_systemd.so.2
### fix tmpfiles startup ### fix tmpfiles startup
_map _file /usr/lib/libnss_compat.so.2 /usr/lib/libnsl.so.1 _map _file /usr/lib/libnss_compat.so.2 /usr/lib/libnsl.so.1
## fix for systemd >=245 set default.target
# remove initrd-release to allow normal systemd boot without initrd.target
rm -f "${_ROOTFS}"/etc/initrd-release
# mask systemd-gpt-auto-generator, errors out on initramfs usage # mask systemd-gpt-auto-generator, errors out on initramfs usage
_symlink /etc/systemd/system-generators/systemd-gpt-auto-generator /dev/null _symlink /etc/systemd/system-generators/systemd-gpt-auto-generator /dev/null
### add udev ### add udev

View file

@ -4,8 +4,6 @@
_run () _run ()
{ {
# remove initrd-release
rm -f /tmp/etc/initrd-release
# remove pacman-init.service # remove pacman-init.service
rm -f /tmp/etc/systemd/system/multi-user.target.wants/pacman-init.service rm -f /tmp/etc/systemd/system/multi-user.target.wants/pacman-init.service
rm -f /tmp/etc/systemd/system/pacman-init.service rm -f /tmp/etc/systemd/system/pacman-init.service