From c142a42279c04b8c3aa057fff2317a2fd47f134d Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 14 May 2014 11:21:26 +0200 Subject: [PATCH] MT#6807 Do not disable backports repository after installing systemd Make check-deb-reinstall happy --- deployment.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/deployment.sh b/deployment.sh index 40a8893..97b426b 100755 --- a/deployment.sh +++ b/deployment.sh @@ -939,16 +939,12 @@ echo "systemd.sh: mounting rootfs $ROOT_FS to $TARGET" mount "$ROOT_FS" "$TARGET" echo "systemd.sh: enabling ${DEBIAN_RELEASE} backports" -echo deb http://debian.sipwise.com/debian/ ${DEBIAN_RELEASE}-backports main contrib non-free >> ${TARGET}/etc/apt/sources.list.d/tmp_systemd.list +echo deb http://debian.sipwise.com/debian/ ${DEBIAN_RELEASE}-backports main contrib non-free >> ${TARGET}/etc/apt/sources.list.d/systemd.list chroot $TARGET apt-get update echo "systemd.sh: installing systemd" echo 'Yes, do as I say!' | chroot $TARGET apt-get -t ${DEBIAN_RELEASE}-backports --force-yes -y install systemd-sysv sysvinit- -echo "systemd.sh: getting rid of ${DEBIAN_RELEASE} backports again" -rm ${TARGET}/etc/apt/sources.list.d/tmp_systemd.list -chroot $TARGET apt-get update - echo "systemd.sh: unmounting $TARGET again" umount "$TARGET" EOF