mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
scripts/image_squashfs: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user