Closed darkxst closed 1 year ago
I need to mantain somewhere the export of the path:
export PATH="/home/user/x-tools/arm-sonoff-linux-uclibcgnueabi/bin:$PATH"
for example in compile_ci_pre.sh
I think that this change doesn't affect the container build.
ok, the comment made it sound like it was only there for the sudo step, which is not required aynmore when running pack_fw. and yeh it wont affect container or github builds. However lets only export if the directory exists.
A couple more cleanups to build scripts now that sudo is no longer required to pack firmware.
Also deduplicate code between the compile scripts. I left the compile_ci_post.sh in there even though it doesnt appear to be used, could be useful for anyone wanting to add custom files onto sdcard as part of build.