diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:41 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:41 +0200 |
commit | 9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e (patch) | |
tree | ec480b64ed7197038b63eebb23f2b9f1829408c3 /helpers/lh_genrootfs | |
parent | cee1de85c8b7c3576ae9a899a0f9a6482f7c339f (diff) | |
download | live-build-9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e.zip live-build-9be72d4e6933c6ec0c611d75d53a9dfd8dbf676e.tar.gz |
Adding live-package 0.99.24-1.
Diffstat (limited to 'helpers/lh_genrootfs')
-rwxr-xr-x | helpers/lh_genrootfs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_genrootfs b/helpers/lh_genrootfs index 9ba4b31..5853ed2 100755 --- a/helpers/lh_genrootfs +++ b/helpers/lh_genrootfs @@ -47,7 +47,12 @@ case "${LIVE_FILESYSTEM}" in rm "${LIVE_ROOT}"/binary/casper/filesystem.squashfs fi - mksquashfs "${LIVE_CHROOT}" "${LIVE_ROOT}"/binary/casper/filesystem.squashfs + if [ "${LIVE_FLAVOUR}" = "minimal" ] || [ "${LIVE_FLAVOUR}" = "mini" ] + then + mksquashfs "${LIVE_CHROOT}" "${LIVE_ROOT}"/binary/casper/filesystem.squashfs -e "${LIVE_CHROOT}"/boot/vmlinuz* "${LIVE_CHROOT}"/boot/initrd.img* "${LIVE_CHROOT}"/vmlinuz "${LIVE_CHROOT}"/initrd.img "${LIVE_CHROOT}"/boot/config-* "${LIVE_CHROOT}"/boot/System.map-* + else + mksquashfs "${LIVE_CHROOT}" "${LIVE_ROOT}"/binary/casper/filesystem.squashfs + fi if [ -n "$LIVE_ENCRYPTION" ] then |