os: fix u-boot env size (#153)

* os: fix u-boot env size

* Delete fw_env.config
This commit is contained in:
Pascal Vizeli
2018-08-08 12:48:07 +02:00
committed by GitHub
parent 72a3aec55b
commit 12b5731e20
12 changed files with 24 additions and 19 deletions

View File

@@ -77,7 +77,7 @@ function install_rauc_certs() {
function install_bootloader_config() {
if [ "${BOOTLOADER}" == "uboot" ]; then
cp ${BR2_EXTERNAL_HASSOS_PATH}/misc/fw_env.config ${TARGET_DIR}/etc/fw_env.config
echo -e "/dev/disk/by-partlabel/hassos-bootstatei\t0x00\t${BOOT_ENV_SIZE}" > ${TARGET_DIR}/etc/fw_env.config
else
cp ${BR2_EXTERNAL_HASSOS_PATH}/misc/barebox-state-efi.dtb ${TARGET_DIR}/etc/barebox-state.dtb
fi