diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-22 20:08:39 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-22 20:08:39 -0300 |
commit | af5db9bb56f91f13f0ba11de09e0ecbf2199062e (patch) | |
tree | 5e12a3c511d35c6936f159677c409da602070a3a /libre-testing/uboot-am335x_bone/uboot-am335x_bone.install | |
parent | dfe00a727ad11d7589b8de4105c01017fcaa5e0c (diff) | |
download | abslibre-af5db9bb56f91f13f0ba11de09e0ecbf2199062e.tar.gz abslibre-af5db9bb56f91f13f0ba11de09e0ecbf2199062e.tar.bz2 abslibre-af5db9bb56f91f13f0ba11de09e0ecbf2199062e.zip |
uboot-am335x_bone: add kernels examples in extlinux.conf
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 } |