aboutsummaryrefslogtreecommitdiffstats
path: root/create_arm_img_urpmi.sh
diff options
context:
space:
mode:
authorDaniel Tartavel <contact@librepc.com>2019-03-17 15:13:55 +0100
committerDaniel Tartavel <contact@librepc.com>2019-03-17 15:13:55 +0100
commit1c3749325bca0c71288d8085e85d14e1ba831fed (patch)
treec50c4b90fa5b67ef32a85d703ad8d6d665ab99bf /create_arm_img_urpmi.sh
parentb4e21eca057bdb617047dabe38cfd5ed40812974 (diff)
downloadmageia4arm-1c3749325bca0c71288d8085e85d14e1ba831fed.tar
mageia4arm-1c3749325bca0c71288d8085e85d14e1ba831fed.tar.gz
mageia4arm-1c3749325bca0c71288d8085e85d14e1ba831fed.tar.bz2
mageia4arm-1c3749325bca0c71288d8085e85d14e1ba831fed.tar.xz
mageia4arm-1c3749325bca0c71288d8085e85d14e1ba831fed.zip
bug on the name of kernel7 in place of kernel7.img
Diffstat (limited to 'create_arm_img_urpmi.sh')
-rwxr-xr-xcreate_arm_img_urpmi.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh
index d6d050c..6847d39 100755
--- a/create_arm_img_urpmi.sh
+++ b/create_arm_img_urpmi.sh
@@ -530,7 +530,7 @@ UUID=$ROOT_UUID / ext4 defaults 0 0" > "$BUILD_PA
info "making /boot/extlinux/extlinux.conf"
mkdir -p "$BUILD_PATH/boot/extlinux"
-sed 212!!;n**รน**:;ncq -e s/\<UUID\>/$ROOT_UUID/g $SOURCE_PATH/$CONFIG_PATH/extlinux.conf >"$BUILD_PATH/boot/extlinux/extlinux.conf"
+sed -e s/\<UUID\>/$ROOT_UUID/g $SOURCE_PATH/$CONFIG_PATH/extlinux.conf >"$BUILD_PATH/boot/extlinux/extlinux.conf"
KERNEL_ID=`basename $BUILD_PATH/usr/lib/linux-*`
sed -i -e s/\<FDTDIR\>/$KERNEL_ID/g "$BUILD_PATH/boot/extlinux/extlinux.conf"
@@ -564,23 +564,23 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules
case $TARGET_VERSION in
2)
info "copying u-boot for $TARGET 2"
- cp "$BUILD_PATH/usr/lib/u-boot/rpi_2/u-boot.bin" "$ARM_BOOT/kernel7"
+ cp "$BUILD_PATH/usr/lib/u-boot/rpi_2/u-boot.bin" "$ARM_BOOT/kernel.img"
;;
0)
info "copying u-boot for $TARGET 0"
- cp "$BUILD_PATH/usr/lib/u-boot/rpi_0_w/u-boot.bin" "$ARM_BOOT/kernel7"
+ cp "$BUILD_PATH/usr/lib/u-boot/rpi_0_w/u-boot.bin" "$ARM_BOOT/kernel.img"
;;
1)
info "copying u-boot for $TARGET 1"
- cp "$BUILD_PATH/usr/lib/u-boot/rpi/u-boot.bin" "$ARM_BOOT/kernel7"
+ cp "$BUILD_PATH/usr/lib/u-boot/rpi/u-boot.bin" "$ARM_BOOT/kernel.img"
;;
3_32)
info "copying u-boot for $TARGET 3 32 bits"
- cp "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$ARM_BOOT/kernel7"
+ cp "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$ARM_BOOT/kernel.img"
;;
3+)
info "copying u-boot for $TARGET 3b+ 32 bits"
- cp "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$ARM_BOOT/kernel7"
+ cp "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$ARM_BOOT/kernel.img"
;;
esac