X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mkimage.sh;h=745a209748ccadd117c90006406d64c4a93c260e;hb=a85dbb82d5c429bbb93357837b532d1f1e62acd9;hp=a26815f84db8d6d9ae50ce609d53695812c7925c;hpb=1f7a8245ace369699f2a86bebb99c873016a5fa9;p=debian-xu4 diff --git a/mkimage.sh b/mkimage.sh index a26815f..745a209 100755 --- a/mkimage.sh +++ b/mkimage.sh @@ -169,6 +169,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 @@ -188,16 +191,13 @@ cat < /mnt/xu4/etc/grub.d/25_devicetree #! /bin/sh set -e -# Hack added by prepare.sh when building the root image, +# Hack added by mkimage.sh when building the root image, # to work around Debian bug #824399. echo "echo 'Loading device tree ...'" 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