From 0192402f20baa553e9318fe7bcc093f9c33a6054 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 5 Oct 2015 18:18:54 -0500 Subject: uboot-sunxi-linux-libre: Rename uboot-a10s-olinuxino-lime-linux-libre to uboot-a10s-olinuxino-micro-linux-libre --- .../uboot-a10s-olinuxino-lime-linux-libre.install | 22 ---------------------- .../uboot-a10s-olinuxino-micro-linux-libre.install | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-lime-linux-libre.install create mode 100644 libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-micro-linux-libre.install (limited to 'libre') diff --git a/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-lime-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-lime-linux-libre.install deleted file mode 100644 index ea85e388d..000000000 --- a/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-lime-linux-libre.install +++ /dev/null @@ -1,22 +0,0 @@ -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/uboot-a10s-olinuxino-lime-linux-libre/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/uboot-a10s-olinuxino-lime-linux-libre/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8" - fi -} - -## arg 1: the new package version -post_install() { - flash_uboot -} - -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - flash_uboot -} diff --git a/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-micro-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-micro-linux-libre.install new file mode 100644 index 000000000..420a93b0d --- /dev/null +++ b/libre/uboot-sunxi-linux-libre/uboot-a10s-olinuxino-micro-linux-libre.install @@ -0,0 +1,22 @@ +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/uboot-a10s-olinuxino-micro-linux-libre/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/uboot-a10s-olinuxino-micro-linux-libre/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8" + fi +} + +## arg 1: the new package version +post_install() { + flash_uboot +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + flash_uboot +} -- cgit v1.2.3