From 40da812d3afeca78d8c17565132ef14a1993e638 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 25 Oct 2016 14:46:11 +0200 Subject: Changing installation of systemd support packages to workaround systemd-shim failures in debootstrap. Signed-off-by: Daniel Baumann --- share/scripts/debconf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'share/scripts') 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 -- cgit v1.2.3