diff options
author | Daniel Tartavel <contact@librepc.com> | 2018-12-16 14:21:26 +0100 |
---|---|---|
committer | Daniel Tartavel <contact@librepc.com> | 2018-12-16 14:21:26 +0100 |
commit | 1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c (patch) | |
tree | 801769663b125dcf690abfc4375519aeefb5b7c2 /create_arm_img_urpmi.sh | |
parent | 47e85a6d3a727cbe86208e3ae5a69a24b6e818c2 (diff) | |
download | mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.tar mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.tar.gz mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.tar.bz2 mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.tar.xz mageia4arm-1169b7fc768f5ea8a91d9d9892ff89ec4722eb1c.zip |
Big update
Diffstat (limited to 'create_arm_img_urpmi.sh')
-rwxr-xr-x | create_arm_img_urpmi.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index 836905e..1b9274b 100755 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -527,31 +527,32 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules info "making /boot/extlinux/extlinux.conf" mkdir "$BUILD_PATH/boot/extlinux" - sed -e s/\<UUID\>/$BOOT_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" info "copying firmware, overlays and dtb in /boot" cp -a "$BUILD_PATH/usr/lib/linux-"* "$BOOT/dtb" cp -a "$FIRMWARE_PATH/$FIRMWARE_DIR/boot/start"* "$BUILD_PATH/boot/" cp -a "$FIRMWARE_PATH/$FIRMWARE_DIR/boot/fixup"* "$BUILD_PATH/boot/" + cp -a "$FIRMWARE_PATH/$FIRMWARE_DIR/boot/bootcode.bin"* "$BUILD_PATH/boot/" cp -a "$FIRMWARE_PATH/$FIRMWARE_DIR/boot/overlays" "$BUILD_PATH/boot/" info "copying u-boot binary to /boot" case $TARGET_VERSION in 2) info "copying u-boot for $TARGET 2" - cp "$BUILD_PATH/usr/lib/u-boot/rpi_2/u-boot.bin" "$BUILD_PATH/boot/kernel7" + cp "$BUILD_PATH/usr/lib/u-boot/rpi_2/u-boot.bin" "$BUILD_PATH/boot/kernel7.img" ;; 0) info "copying u-boot for $TARGET 0" - cp "$BUILD_PATH/usr/lib/u-boot/rpi_0_w/u-boot.bin" "$BUILD_PATH/boot/kernel7" + cp "$BUILD_PATH/usr/lib/u-boot/rpi_0_w/u-boot.bin" "$BUILD_PATH/boot/kernel7.img" ;; 1) info "copying u-boot for $TARGET 1" - cp "$BUILD_PATH/usr/lib/u-boot/rpi/u-boot.bin" "$BUILD_PATH/boot/kernel7" + cp "$BUILD_PATH/usr/lib/u-boot/rpi/u-boot.bin" "$BUILD_PATH/boot/kernel7.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" "$BUILD_PATH/boot/kernel7" + cp "$BUILD_PATH/usr/lib/u-boot/rpi_3_32b/u-boot.bin" "$BUILD_PATH/boot/kernel7.img" ;; esac @@ -608,7 +609,8 @@ copyingcommon() { title "Copying common files and configuration" rsync -aP "$SOURCE_PATH/common/" "$ROOT/" - + rsync -aP "$SOURCE_PATH/tools/" "$ROOT/usr/local/bin/" + chown root:root "$ROOT/usr/local/bin/" } if [ $# == 0 ];then |