mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
alarm/uboot-wandboard: install file tweaks
This commit is contained in:
parent
fd7ec2d828
commit
879037450d
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
flash_uboot() {
|
flash_uboot() {
|
||||||
echo "A new U-Boot version needs to be flashed onto /dev/mmcblk0p1."
|
echo "A new U-Boot version needs to be flashed onto /dev/mmcblk0."
|
||||||
echo "Do this now? [y|N]"
|
echo "Do you want to do this now? [y|N]"
|
||||||
read -r shouldwe
|
read -r shouldwe
|
||||||
if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
||||||
dd if=/boot/u-boot.imx of=/dev/mmcblk0 bs=512 seek=2
|
dd if=/boot/u-boot.imx of=/dev/mmcblk0 bs=512 seek=2
|
||||||
|
|
Loading…
Reference in a new issue