diff options
Diffstat (limited to 'helpers/lh_manifest')
-rwxr-xr-x | helpers/lh_manifest | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/helpers/lh_manifest b/helpers/lh_manifest new file mode 100755 index 0000000..9979552 --- /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 |