From af5db9bb56f91f13f0ba11de09e0ecbf2199062e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 22 Feb 2016 20:08:39 -0300 Subject: uboot-am335x_bone: add kernels examples in extlinux.conf --- libre-testing/uboot-am335x_bone/uboot-am335x_bone.install | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libre-testing/uboot-am335x_bone/uboot-am335x_bone.install') 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 } -- cgit v1.2.3