summaryrefslogtreecommitdiff
path: root/helpers/lh_manifest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:41 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:41 +0200
commitcee1de85c8b7c3576ae9a899a0f9a6482f7c339f (patch)
treed4eaae141bab202e052715c0557c3b6977a114ab /helpers/lh_manifest
parent6f5e2da03e5fd1af2200d2f55ca84647bc8d3626 (diff)
downloadlive-build-cee1de85c8b7c3576ae9a899a0f9a6482f7c339f.zip
live-build-cee1de85c8b7c3576ae9a899a0f9a6482f7c339f.tar.gz
Adding live-package 0.99.23-1.
Diffstat (limited to 'helpers/lh_manifest')
-rwxr-xr-xhelpers/lh_manifest5
1 files changed, 3 insertions, 2 deletions
diff --git a/helpers/lh_manifest b/helpers/lh_manifest
index 9979552..d755335 100755
--- a/helpers/lh_manifest
+++ b/helpers/lh_manifest
@@ -3,10 +3,11 @@
# lh_manifest
# Add filesystem.manifest
-lh_chroot "dpkg-query -W \*" | awk '$2 ~ /./ {print $1 " " $2 }' > "${LIVE_ROOT}"/filesystem.manifest
+lh_chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > "${LIVE_ROOT}"/filesystem.manifest
-if [ ! -z "${LIVE_MANIFEST}" ]
+if [ -n "${LIVE_MANIFEST}" ]
then
+ # FIXME; what should that be good for anyway?
lh_chroot "aptitude install --assume-yes ${LIVE_MANIFEST}"
lh_chroot "dpkg-query -W \*" | awk '$2 ~ /./ {print $1 " " $2 }' > "${LIVE_ROOT}"/filesystem.manifest-desktop
fi