From 22e175036b552eb1a65fb5f6893dd47ccecf6c41 Mon Sep 17 00:00:00 2001 From: Dan Johansen Date: Sun, 29 Dec 2019 08:16:51 +0100 Subject: [PATCH] Fix odroid N2 uboot flashing command The odroid N2 flashing command was using an of= device that does not exist, resulting in non-booting installs. Setting it to the same device variable as the others should fix this. Also removed a losetup line, that does not exist in the other device sections. And updated version to 1.2.11. --- manjaro-arm-installer | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/manjaro-arm-installer b/manjaro-arm-installer index a467969..bbfae09 100755 --- a/manjaro-arm-installer +++ b/manjaro-arm-installer @@ -1,7 +1,7 @@ #! /bin/bash # ***************************** -# Version 1.2.10 +# Version 1.2.11 # ***************************** # Set globals @@ -396,13 +396,12 @@ cleanup () { mv $TMPDIR/root/boot/* $TMPDIR/boot if [[ "$DEVICE" = "on2" ]]; then #flash bootloader - dd if=$TMPDIR/boot/u-boot.bin of=${LDEV} conv=fsync,notrunc bs=512 seek=1 1> /dev/null 2>&1 + dd if=$TMPDIR/boot/u-boot.bin of=${SDCARD} conv=fsync,notrunc bs=512 seek=1 1> /dev/null 2>&1 fi #clean up umount $TMPDIR/root umount $TMPDIR/boot - losetup -d $LDEV 1> /dev/null 2>&1 rm -r $TMPDIR/root $TMPDIR/boot partprobe $SDCARD 1> /dev/null 2>&1