summaryrefslogtreecommitdiff
path: root/helpers/lh_manifest
blob: 997955235b05f795781d669a259d2f8d3fc32af7 (plain)
1
2
3
4
5
6
7
8
9
10
11
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