summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 12:33:07 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:08 +0200
commitee674162daca3c9c4c379f8d8a1440258ab26064 (patch)
treeffabbdd5528ab65799a01a02ee332d4479acc1a9 /scripts/build
parent36a44c849ad3cf21c7178146f5160155e44fc8d7 (diff)
downloadvyos-live-build-ee674162daca3c9c4c379f8d8a1440258ab26064.tar.gz
vyos-live-build-ee674162daca3c9c4c379f8d8a1440258ab26064.zip
Adding ls -lR files as .files output.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_manifest2
-rwxr-xr-xscripts/build/chroot1
-rwxr-xr-xscripts/build/clean3
3 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build/binary_manifest b/scripts/build/binary_manifest
index 1d322bebe..95bfddf68 100755
--- a/scripts/build/binary_manifest
+++ b/scripts/build/binary_manifest
@@ -67,5 +67,7 @@ echo "$(diff chroot.packages.live chroot.packages.install | awk '/^< / { print $
cp chroot.packages.live ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.packages
+cp chroot.files ${LIVE_IMAGE_NAME}-${LIVE_IMAGE_ARCHITECTURE}.files
+
# Creating stage file
Create_stagefile .build/binary_manifest
diff --git a/scripts/build/chroot b/scripts/build/chroot
index f15068f30..bb3c3dbaf 100755
--- a/scripts/build/chroot
+++ b/scripts/build/chroot
@@ -74,6 +74,7 @@ lb chroot_hacks ${@}
lb chroot_interactive ${@}
Chroot chroot "dpkg-query -W" > chroot.packages.live
+Chroot chroot "ls -lR" > chroot.files
# Deconfiguring chroot
lb chroot_archives chroot remove ${@}
diff --git a/scripts/build/clean b/scripts/build/clean
index b9d7e822d..cca2736c7 100755
--- a/scripts/build/clean
+++ b/scripts/build/clean
@@ -90,6 +90,7 @@ do
rm -rf chroot chroot.tmp
rm -f chroot.packages.live chroot.packages.install
+ rm -f chroot.files
rm -f .build/chroot*
;;
@@ -102,7 +103,7 @@ do
rm -f ${LIVE_IMAGE_NAME}*.tar.gz
rm -f ${LIVE_IMAGE_NAME}*.zsync*
rm -f ${LIVE_IMAGE_NAME}.sh
- rm -f ${LIVE_IMAGE_NAME}*.contents ${LIVE_IMAGE_NAME}*.packages
+ rm -f ${LIVE_IMAGE_NAME}*.contents ${LIVE_IMAGE_NAME}*.packages ${LIVE_IMAGE_NAME}*.files
rm -f MD5SUMS SHA1SUMS SHA256SUMS SHA512SUMS
rm -f md5sum.txt sha1sum.txt sha256sum.txt sha512sum.txt