MT#6807 Do not disable backports repository after installing systemd

Make check-deb-reinstall happy
ksolomko/vlan
Michael Prokop 12 years ago
parent a736bbba07
commit c142a42279

@ -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

Loading…
Cancel
Save