summaryrefslogtreecommitdiff
path: root/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-04 14:49:59 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-04 14:50:25 +0100
commitea975dcb1c8d4b59b2082fae842f5929e1242353 (patch)
tree24d6cad9514b103c9aa290698d098926f57c494b /libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install
parented02d43a3f325e1d49ed593eec51ac04527cab93 (diff)
downloadabslibre-ea975dcb1c8d4b59b2082fae842f5929e1242353.tar.gz
abslibre-ea975dcb1c8d4b59b2082fae842f5929e1242353.tar.bz2
abslibre-ea975dcb1c8d4b59b2082fae842f5929e1242353.zip
Revert "uboot4extlinux-sunxi: .install: make u-boot image path configurable"
This commit was accidentally pushed to master instead of a branch. This reverts commit 1f2f68301569e4918d2d1da122ff241f93561ab8.
Diffstat (limited to 'libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install')
-rw-r--r--libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install6
1 files changed, 2 insertions, 4 deletions
diff --git a/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install b/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install
index 799856f1a..46f8304cd 100644
--- a/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install
+++ b/libre/uboot4extlinux-sunxi/uboot4extlinux-sunxi.install
@@ -1,7 +1,5 @@
-_image="/boot/u-boot/images/u-boot-sunxi-with-spl.bin"
-
flash_instructions() {
- echo "# dd if=${_image} of=/dev/mmcblk0 bs=1024 seek=8"
+ echo "# dd if=/boot/u-boot/images/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8"
}
extlinux_warning() {
@@ -16,7 +14,7 @@ flash_uboot() {
echo "Do you want to do this now? [y|N]"
read -r shouldwe
if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then
- dd "if=${_image}" "of=${root}" bs=1024 seek=8
+ dd if=/boot/u-boot/images/u-boot-sunxi-with-spl.bin of=$root bs=1024 seek=8
else
echo "You can do this later by running:"
flash_instructions