fix(os): In chroot without active systemd 'enable --now' won't work (#1)

This commit is contained in:
hygienic-books 2023-02-21 03:41:36 +01:00
parent 8aa2f6ea44
commit 0f6cc4aa13

View File

@ -417,7 +417,7 @@ Type=oneshot
ExecStart=/usr/bin/chmod 600 /boot/initramfs-linux.img
EOF
systemctl daemon-reload
systemctl enable --now "${path_unit}"
systemctl enable "${path_unit}"
}
function install_os_in_chroot () {