From 30c32b7ec6d8698e92a2c05ff111d54c245ef353 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 21 May 2011 15:44:33 +0200 Subject: [PATCH] scripts/image_squashfs: cleanup Signed-off-by: Stephan Raue --- scripts/image_squashfs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/image_squashfs b/scripts/image_squashfs index 9b3fa60d53..57cfac61c5 100755 --- a/scripts/image_squashfs +++ b/scripts/image_squashfs @@ -30,11 +30,10 @@ $SCRIPTS/image $SCRIPTS/build squashfs $SCRIPTS/build fakeroot -get_version - mkdir -p $TARGET_IMG rm -rf $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.kernel rm -rf $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.mach_kernel + if [ "$BOOTLOADER" = "u-boot" ]; then KERNEL_IMAGE="uImage" else @@ -53,7 +52,7 @@ mkdir -p $TARGET_IMG cp -PR $BUILD/atv-bootloader-*/mach_kernel $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.mach_kernel chmod 0644 $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.mach_kernel fi - + echo "rm -rf $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.system" >> $FAKEROOT_SCRIPT # echo "$ROOT/$TOOLCHAIN/bin/mksquashfs $BUILD/image/system $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.system -noappend -comp xz" >> $FAKEROOT_SCRIPT echo "$ROOT/$TOOLCHAIN/bin/mksquashfs $BUILD/image/system $TARGET_IMG/$DISTRONAME-$TARGET_VERSION.system -noappend" >> $FAKEROOT_SCRIPT