summaryrefslogtreecommitdiff
path: root/helpers/lh_manifest
diff options
context:
space:
mode:
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