summaryrefslogtreecommitdiff
path: root/helpers/lh_manifest
blob: d755335cdc8415c254c64fa6c3eae88e0bd38b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# lh_manifest

# Add filesystem.manifest
lh_chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > "${LIVE_ROOT}"/filesystem.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