diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-26 17:38:06 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-02-26 17:39:20 -0300 |
commit | 969609c3df945079418d2e90a85df1a09f411f36 (patch) | |
tree | ea5bf8e55a86a58c6b3fe8978af38dd4aee44c5c /libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.install | |
parent | 3e1e7a769de7dc339fbf10f760ec90a2dea4f500 (diff) | |
download | abslibre-969609c3df945079418d2e90a85df1a09f411f36.tar.gz abslibre-969609c3df945079418d2e90a85df1a09f411f36.tar.bz2 abslibre-969609c3df945079418d2e90a85df1a09f411f36.zip |
uboot4extlinux-sunxi: add new package to [libre]
Diffstat (limited to 'libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.install')
-rw-r--r-- | libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.install | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-pcduino3-linux-libre.install deleted file mode 100644 index b6fba6640..000000000 --- a/libre/uboot-sunxi-linux-libre/uboot-pcduino3-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-pcduino3-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-pcduino3-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 -} |