summaryrefslogtreecommitdiff
path: root/helpers/lh_manifest
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_manifest')
-rwxr-xr-xhelpers/lh_manifest12
1 files changed, 12 insertions, 0 deletions
diff --git a/helpers/lh_manifest b/helpers/lh_manifest
new file mode 100755
index 000000000..997955235
--- /dev/null
+++ b/helpers/lh_manifest
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# lh_manifest
+
+# Add filesystem.manifest
+lh_chroot "dpkg-query -W \*" | awk '$2 ~ /./ {print $1 " " $2 }' > "${LIVE_ROOT}"/filesystem.manifest
+
+if [ ! -z "${LIVE_MANIFEST}" ]
+then
+ lh_chroot "aptitude install --assume-yes ${LIVE_MANIFEST}"
+ lh_chroot "dpkg-query -W \*" | awk '$2 ~ /./ {print $1 " " $2 }' > "${LIVE_ROOT}"/filesystem.manifest-desktop
+fi