summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_rootfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-26 14:28:41 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:31 +0100
commit4826b8c224940efd1716f65ad61ad1c6e58d3a4d (patch)
treece3f520a21b750689e240ce381824aacebab00cc /scripts/build/lb_binary_rootfs
parentc77053d3d81ac6bf03a16bc73f4c583b55e48a3e (diff)
downloadvyos-live-build-4826b8c224940efd1716f65ad61ad1c6e58d3a4d.tar.gz
vyos-live-build-4826b8c224940efd1716f65ad61ad1c6e58d3a4d.zip
Adding option to allow using the live-media pool in live system.
Diffstat (limited to 'scripts/build/lb_binary_rootfs')
-rwxr-xr-xscripts/build/lb_binary_rootfs3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs
index 27af0993a..483fdfb86 100755
--- a/scripts/build/lb_binary_rootfs
+++ b/scripts/build/lb_binary_rootfs
@@ -411,9 +411,10 @@ case "${LB_CHROOT_FILESYSTEM}" in
;;
esac
;;
-
esac
+rm -f chroot/etc/apt/sources.list.d/live-media.list
+
for STAGE in ${LB_CACHE_STAGES}
do
if [ "${STAGE}" = "rootfs" ]