X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mkimage.sh;h=3f1102208d7fc372959eacb51e61f66da20f419b;hb=2e14b6ffa6e6723989d40400e9837ea60ac3b666;hp=98ad18bd0c4214c26443e8dd46d4befd4696790e;hpb=71dccfd50b2546ee5bbe946ed0a709236621770e;p=debian-xu4 diff --git a/mkimage.sh b/mkimage.sh index 98ad18b..3f11022 100755 --- a/mkimage.sh +++ b/mkimage.sh @@ -2,10 +2,6 @@ # Install a bog-standard Debian bootable for ODROID XU3/XU4. # -# Note: You will need u-boot-exynos >= 2016.05~rc3+dfsg1-1, -# which at the time of writing is in experimental (it will -# probably eventually hit stretch). -# # Beware: This will ERASE ALL DATA on the target SD card # or MMC partition. # @@ -169,6 +165,9 @@ echo odroid > /mnt/xu4/etc/hostname # Work around Debian bug #824391. echo ttySAC2 >> /mnt/xu4/etc/securetty +# Work around Debian bug #825026. +echo ledtrig-heartbeat >> /mnt/xu4/etc/modules + # Install GRUB, chainloaded from U-Boot via UEFI. mount --bind /dev /mnt/xu4/dev mount --bind /proc /mnt/xu4/proc @@ -195,9 +194,6 @@ echo "devicetree /exynos5422-odroidxu4.dtb" EOF chmod 0755 /mnt/xu4/etc/grub.d/25_devicetree -# Work around Debian bug #823552. -sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 loglevel=4"/' /mnt/xu4/etc/default/grub - # Now we can create the GRUB boot menu. chroot /mnt/xu4 /usr/sbin/update-grub