create fw_env.conf on armhf so that fw_{set,print}env works

This commit is contained in:
Michael Vogt 2015-07-16 12:33:47 +02:00
parent 2e3b86a3d0
commit b3b321ea92

View File

@ -4,4 +4,8 @@ set -e
if [ "$(dpkg --print-architecture)" = "armhf" ]; then
mkdir -p /boot/uboot
cat > /etc/fw_env.conf <<EOF
# snappy u-boot env config
/boot/uboot/uboot.env 0x0000 0x4000
EOF
fi