diff options
author | Daniel Tartavel <contact@librepc.com> | 2018-10-12 08:49:54 +0200 |
---|---|---|
committer | Daniel Tartavel <contact@librepc.com> | 2018-10-12 08:49:54 +0200 |
commit | 10ce931950da38fe63e7023900d02134fe1fc772 (patch) | |
tree | 44d9540a585e20bd78566b1b9ea592e7b1de28a7 /create_arm_img_urpmi.sh | |
parent | ff35f306cb691ccef2a9aef6f6ac9caee5e8f6e5 (diff) | |
download | mageia4arm-10ce931950da38fe63e7023900d02134fe1fc772.tar mageia4arm-10ce931950da38fe63e7023900d02134fe1fc772.tar.gz mageia4arm-10ce931950da38fe63e7023900d02134fe1fc772.tar.bz2 mageia4arm-10ce931950da38fe63e7023900d02134fe1fc772.tar.xz mageia4arm-10ce931950da38fe63e7023900d02134fe1fc772.zip |
- suppressed raspberry pi fondation hardware ( only Mageia packages )
- added fsck.repair=1 in config.txt
Diffstat (limited to 'create_arm_img_urpmi.sh')
-rwxr-xr-x | create_arm_img_urpmi.sh | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index 1377cb8..90f244a 100755 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -380,6 +380,7 @@ function createrpiimage() fi formatpartitions $BOOTFS ext4 copyingsystem + } createimage() @@ -486,13 +487,14 @@ UUID=$ROOT_UUID / ext4 defaults 0 0" > "$BUILD_PA case $TARGET in rpi) - info "copying raspberry firmware in /boot" - /bin/rsync -rlptDH "$FIRMWARE_PATH/firmware-stable/boot/" "$BOOT" - cp -a "$FIRMWARE_PATH/firmware-stable/extra/uname_string" "$BOOT" - cp -a "$FIRMWARE_PATH/firmware-stable/extra/uname_string7" "$BOOT" - info "copying config.txt" +# info "copying raspberry firmware in /boot" +# /bin/rsync -rlptDH "$FIRMWARE_PATH/firmware-stable/boot/" "$BOOT" +# cp -a "$FIRMWARE_PATH/firmware-stable/extra/uname_string" "$BOOT" +# cp -a "$FIRMWARE_PATH/firmware-stable/extra/uname_string7" "$BOOT" + info "copying config.txt, boot.cmd and 10-vchiq-permissions.rules" cp "$SOURCE_PATH/$CONFIG_PATH/config.txt" "$BOOT" - info "adding modules in /etc/modules" + cp "$SOURCE_PATH/$CONFIG_PATH/boot.cmd" "$BOOT" + cp "$SOURCE_PATH/$CONFIG_PATH/10-vchiq-permissions.rules" "$BUILD_PATH/etc/udev/rules.d/"" echo "vchiq snd_bcm2835 vc4 @@ -503,12 +505,12 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules chown root:root "$BUILD_PATH/etc/modprobe.conf" info "making /boot/cmdline.txt" - echo "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" > "$BOOT/cmdline.txt" - info "copying raspberry modules in /lib/modules" - /bin/rsync -rlptDH "$FIRMWARE_PATH/firmware-stable/modules/" "$BUILD_PATH/lib/modules/" + echo "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait fsck.repair=1" > "$BOOT/cmdline.txt" +# info "copying raspberry modules in /lib/modules" +# /bin/rsync -rlptDH "$FIRMWARE_PATH/firmware-stable/modules/" "$BUILD_PATH/lib/modules/" - info "copying raspberry optionals files in opt" - /bin/rsync -rlptDH "$FIRMWARE_PATH/firmware-stable/opt/" "$BUILD_PATH/opt/" +# info "copying raspberry optionals files in opt" +# /bin/rsync -rlptDH "$FIRMWARE_PATH/firmware-stable/opt/" "$BUILD_PATH/opt/" info "copying wifi firmware file missing in Mageia" /bin/mkdir -p "$ROOT/usr/lib/firmware/brcm/" @@ -523,6 +525,7 @@ brcmfmac" >> "$BUILD_PATH"/etc/modules error "line $LINENO error copying tools" ERRORN=$((ERRORN++)) fi + info "copying " ;; xu3 | xu4) ;; |