mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add bsod to init
This commit is contained in:
parent
3d73d36c32
commit
20585a9952
1 changed files with 2 additions and 2 deletions
|
@ -8,14 +8,14 @@ _run ()
|
|||
: > "${_ROOTFS}"/etc/initrd-release
|
||||
_map _dir /mnt/{cdrom,ventoy,efi}
|
||||
# systemd
|
||||
_map _binary /usr/lib/systemd/systemd{,-battery-check,-executor,-journald,-shutdown,-sulogin-shell,-sysctl,-udevd}
|
||||
_map _binary /usr/lib/systemd/systemd{,-battery-check,-executor,-bsod,-journald,-shutdown,-sulogin-shell,-sysctl,-udevd}
|
||||
_map _file /usr/lib/systemd/{lib*,system-generators/systemd-fstab-generator}
|
||||
# only take services from systemd package
|
||||
pacman -Sy &>"${_NO_LOG}"
|
||||
_map _file $(pacman -Ql systemd | grep '/usr/lib/systemd/system/.' | cut -d ' ' -f2)
|
||||
_map _file /usr/lib/sysusers.d/{arch,basic}.conf
|
||||
# disable systemd services:
|
||||
for i in lvm2-{lvmpolld,monitor} systemd-{boot,-bsod,-pcrphase-initrd,random-seed,sysusers\
|
||||
for i in lvm2-{lvmpolld,monitor} systemd-{boot,random-seed,sysusers\
|
||||
,update-{done,utmp},vconsole-setup}; do
|
||||
_symlink "/etc/systemd/system/${i}.service" /dev/null
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue