also move the sources.list.d dir out of the way on ubuntu-touch

ubuntu/trusty
Oliver Grawert 12 years ago
parent 78d65603c6
commit f95a12af84

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.138) UNRELEASED; urgency=low
* also move the sources.list.d dir out of the way on ubuntu-touch
-- Oliver Grawert <ogra@ubuntu.com> Tue, 28 May 2013 15:17:46 +0200
livecd-rootfs (2.137) saucy; urgency=low livecd-rootfs (2.137) saucy; urgency=low
* clear up /var/lib/initramfs-tools/ in the chroot after building initrds * clear up /var/lib/initramfs-tools/ in the chroot after building initrds

@ -413,6 +413,7 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
lb chroot_devpts install "$@" lb chroot_devpts install "$@"
mv "${sourceslist}" "${sourceslist}.orig" mv "${sourceslist}" "${sourceslist}.orig"
mv "${sourceslist}.d" "${sourceslist}.d.orig"
echo "deb http://ftpmaster.internal/ubuntu/ $codename main universe" >$sourceslist echo "deb http://ftpmaster.internal/ubuntu/ $codename main universe" >$sourceslist
Chroot chroot "apt-get -y update" Chroot chroot "apt-get -y update"
@ -439,7 +440,8 @@ if [ "$PROJECT" = "ubuntu-touch" ] && [ "$ARCH" = "armhf" ]; then
Chroot chroot "apt-get -y purge crda wireless-regdb" Chroot chroot "apt-get -y purge crda wireless-regdb"
Chroot chroot "apt-get -y clean" Chroot chroot "apt-get -y clean"
mv $sourceslist.orig $sourceslist mv "${sourceslist}.orig" "${sourceslist}"
mv "${sourceslist}.d.orig" "${sourceslist}.d"
for file in $(find chroot/var/lib/apt/lists/ -name ftpmaster.internal*); do for file in $(find chroot/var/lib/apt/lists/ -name ftpmaster.internal*); do
rm $file rm $file
done done

Loading…
Cancel
Save