diff options
Diffstat (limited to 'libre-testing/uboot-am335x_bone/uboot-am335x_bone.install')
-rw-r--r-- | libre-testing/uboot-am335x_bone/uboot-am335x_bone.install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libre-testing/uboot-am335x_bone/uboot-am335x_bone.install b/libre-testing/uboot-am335x_bone/uboot-am335x_bone.install index 24ccc1acb..0a71c804a 100644 --- a/libre-testing/uboot-am335x_bone/uboot-am335x_bone.install +++ b/libre-testing/uboot-am335x_bone/uboot-am335x_bone.install @@ -3,6 +3,10 @@ flash_instructions() { echo "# dd if=/boot/u-boot.img of=/dev/mmcblk0 count=2 seek=1 conv=notrunc bs=384k" } +extlinux_warning() { + echo ">>> WARNING: for new entries, edit /boot/extlinux/extlinux.conf" +} + flash_uboot() { root=$(mount | awk '/ on \/ / { print $1; }') if [[ $root =~ ^/dev/mmcblk.*$ ]]; then @@ -25,8 +29,10 @@ flash_uboot() { post_install() { flash_uboot + extlinux_warning } post_upgrade() { flash_uboot + extlinux_warning } |