diff options
-rwxr-xr-x | share/scripts/debconf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index 4c89e6f..ba73050 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -156,6 +156,9 @@ EOF Chroot "${DIRECTORY}" "apt-get --yes --option APT::Force-LoopBreak=true upgrade" Chroot "${DIRECTORY}" "apt-get --yes --option APT::Force-LoopBreak=true dist-upgrade" + # Install systemd support packages + Chroot "${DIRECTORY}" "apt-get --yes install dbus libpam-systemd systemd-sysv" + # Unmount systems apt cache umount "${DIRECTORY}/var/cache/apt/archives" @@ -227,11 +230,11 @@ Debootstrap () # FIXME: trim down, debootstrap variants? case "${MODE}" in debian) - INCLUDE="--include=ifupdown,locales,libui-dialog-perl,dialog,isc-dhcp-client,netbase,net-tools,iproute,wget,dbus,systemd-sysv" + INCLUDE="--include=ifupdown,locales,libui-dialog-perl,dialog,isc-dhcp-client,netbase,net-tools,iproute,wget" ;; progress-linux) - INCLUDE="--include=apt-transport-https,ca-certificates,apt-utils,ifupdown,locales-all,libui-dialog-perl,dialog,isc-dhcp-client,netbase,net-tools,iproute,openssh-server,wget,dbus,libpam-systemd,systemd-sysv" + INCLUDE="--include=apt-transport-https,ca-certificates,apt-utils,ifupdown,locales-all,libui-dialog-perl,dialog,isc-dhcp-client,netbase,net-tools,iproute,openssh-server,wget" ;; esac |