|
|
@ -2,7 +2,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$(dpkg --print-architecture)" = "armhf" ]; then
|
|
|
|
case "$(dpkg --print-architecture)" in
|
|
|
|
|
|
|
|
arm*)
|
|
|
|
mkdir -p /boot/uboot
|
|
|
|
mkdir -p /boot/uboot
|
|
|
|
cat > /etc/fw_env.config <<EOF
|
|
|
|
cat > /etc/fw_env.config <<EOF
|
|
|
|
# snappy u-boot env config
|
|
|
|
# snappy u-boot env config
|
|
|
@ -15,4 +16,5 @@ if [ "$(dpkg --print-architecture)" = "armhf" ]; then
|
|
|
|
/boot/uboot/uboot.env 0x0000 0x20000
|
|
|
|
/boot/uboot/uboot.env 0x0000 0x20000
|
|
|
|
/boot/uboot/uboot.env 0x0000 0x20000
|
|
|
|
/boot/uboot/uboot.env 0x0000 0x20000
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|