Mercurial > hg > aboriginal
changeset 932:61e95d49f520
Have host-tools.sh only make e2fs or squashfs tools if we need them.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 13 Dec 2009 00:13:09 -0600 |
parents | 809d705262f8 |
children | ff7be0c4daeb |
files | host-tools.sh |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/host-tools.sh Fri Dec 11 22:29:06 2009 +0100 +++ b/host-tools.sh Sun Dec 13 00:13:09 2009 -0600 @@ -150,7 +150,7 @@ # fsck.ext2 and tune2fs. These are installed by default in most distros # (which genext2fs isn't), and genext2fs doesn't have ext3 support anyway. -if [ ! -f "${STAGE_DIR}"/mke2fs ] +if [ ! -f "${STAGE_DIR}"/mke2fs ] && [ "$SYSIMAGE_TYPE" == ext2 ] then setupfor e2fsprogs && ./configure --disable-tls --disable-nls --enable-htree && @@ -163,7 +163,8 @@ # Squashfs is an alternate packaging option. -if [ ! -f "${STAGE_DIR}"/mksquashfs ] +if [ ! -f "${STAGE_DIR}"/mksquashfs ] && + ([ -z "$SYSIMAGE_TYPE" ] || [ "$SYSIMAGE_TYPE" == squashfs ]) then setupfor squashfs && cd squashfs-tools &&