mkfs.fat phase kills gen_config #2736

This commit is contained in:
Andrey 2021-05-24 15:35:35 -04:00
parent d04bdd075e
commit 112370ae6c
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ java -DSystemOut.name=gen_config_board \
# 1) using unique file name for each configuration?
# 2) leverage consistent caching mechanism so that image is generated only in case of fresh .ini. Laziest approach would be to return exit code from java process above
#
# todo uncomment #2736 ./hw_layer/mass_storage/create_ini_image.sh ./tunerstudio/generated/rusefi_${SHORT_BOARDNAME}.ini ./hw_layer/mass_storage/ramdisk_image.h
hw_layer/mass_storage/create_ini_image.sh ./tunerstudio/generated/rusefi_${SHORT_BOARDNAME}.ini ./hw_layer/mass_storage/ramdisk_image.h
hw_layer/mass_storage/create_ini_image_compressed.sh ./tunerstudio/generated/rusefi_${SHORT_BOARDNAME}.ini ./hw_layer/mass_storage/ramdisk_image_compressed.h
exit 0

View File

@ -5,8 +5,8 @@ set -e
rm -f rusefi.zip ramdisk_image.h
# copy 100KB of zeroes
dd if=/dev/zero of=ramdisk.image bs=1024 count=100
# copy *count*KB of zeroes
dd if=/dev/zero of=ramdisk.image bs=1024 count=112
# create a FAT filesystem inside, name it RUSEFI
mkfs.fat ramdisk.image