diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2017-07-11 20:44:22 -0500 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2017-07-11 20:44:22 -0500 |
commit | e0d08a8d12d4124e12a93525bdd570d2b998c666 (patch) | |
tree | 7d916bb9f1446a8deec24f34a723cbdcca516ce0 /libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install | |
parent | 0456c137959a8ff1c896eeb7e9ac969b0ee27dfa (diff) | |
download | abslibre-e0d08a8d12d4124e12a93525bdd570d2b998c666.tar.gz abslibre-e0d08a8d12d4124e12a93525bdd570d2b998c666.tar.bz2 abslibre-e0d08a8d12d4124e12a93525bdd570d2b998c666.zip |
mv libre{-testing,}/uboot4extlinux-sunxi
Diffstat (limited to 'libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install')
-rw-r--r-- | libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install b/libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install deleted file mode 100644 index 51b209923..000000000 --- a/libre-testing/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install +++ /dev/null @@ -1,24 +0,0 @@ -extlinux_warning() { - echo "==> WARNING: Remember to set up your kernels in /boot/extlinux/extlinux.conf" -} - -flash_uboot() { - echo "A new U-Boot version needs to be flashed onto /dev/mmcblk0." - echo "Do you want to do this now? [y|N]" - read -r shouldwe - if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then - dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8 - else - echo "You can do this later by running:" - echo "# dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8" - fi - extlinux_warning -} - -post_install() { - flash_uboot -} - -post_upgrade() { - flash_uboot -} |