Closed masseelch closed 3 years ago
I see there is this in custompios
:
if [[ $BASE_ZIP_IMG =~ \.img$ ]]; then
# if the image is already extracted copy over
cp "$BASE_ZIP_IMG" .
else
7za x -aoa "$BASE_ZIP_IMG"
fi
But i am not able to give the correct path to my extracted image. I always get Error: could not find image: ....
Got it!
For everyone landing here: The custompios
does its magic in the workspace
folder. Adding this to my config:
export BASE_ZIP_IMG=../image/2021-01-11-raspios-buster-armhf.img
made it work.
Thanks for reporting, if you think this should go anywhere in the documentation then you are welcome to put in the wiki or wherever you were searching the the solution.
Looks like it is not. Would be a nice feature though. I do a lot of builds and they could be fastened up a lot if the image decompressing step on start would be skipped when providing an already unzipped image.
I can provide (or at least try to) a contribution.