summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_rootfs
diff options
context:
space:
mode:
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" ]