summaryrefslogtreecommitdiff
path: root/libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-02-26 17:38:06 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-02-26 17:39:20 -0300
commit969609c3df945079418d2e90a85df1a09f411f36 (patch)
treeea5bf8e55a86a58c6b3fe8978af38dd4aee44c5c /libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.install
parent3e1e7a769de7dc339fbf10f760ec90a2dea4f500 (diff)
downloadabslibre-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-cubietruck-linux-libre.install')
-rw-r--r--libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.install22
1 files changed, 0 insertions, 22 deletions
diff --git a/libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.install b/libre/uboot-sunxi-linux-libre/uboot-cubietruck-linux-libre.install
deleted file mode 100644
index 420ead6e0..000000000
--- a/libre/uboot-sunxi-linux-libre/uboot-cubietruck-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-cubietruck-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-cubietruck-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
-}