Closed khassel closed 2 weeks ago
I see the message:
+ echo 'No BASE_BOARD defined, defaulting to raspberrypiarmhf'
+ export BASE_BOARD=raspberrypiarmhf
It looks like V2 needs BASE_BOARD set.
I need to figure out of a way to not override the explicitly set settings, will update on that. For now, as a workaround you can set:
build -b raspberrypiarm64
or for arm32
build -b raspberrypiarmhf
in here: https://gitlab.com/khassel/magicmirroros/-/blob/master/build_img.sh?ref_type=heads#L27
You can also provide -d
flag in build and it will download the correct image for you, that would simplify the script.
Another workaround would be to use the docker image in release/v1
branch, it should work.
thanks, will try your options, so I can replace my current ugly workaround overriding custompios
:
curl --output /CustomPiOS/custompios -L https://raw.githubusercontent.com/guysoft/CustomPiOS/c5b7ab895dde5b0fe43c1c8e55c8b86a3d5ced92/src/custompios
Did not manage to get it running with -d
option.
Fixed it now with this commit, for me this is solved, feel free to close or leave open if you have still todo's ...
-b is --board and -d is --download. perhaps you mixed them?
I also need to update the docs
Fixed by https://github.com/guysoft/CustomPiOS/commit/c505f18ec0bde3fbe63f077328696070f8f48ad9 and https://github.com/guysoft/CustomPiOS/commit/b3f2c792e7fc5d4042916603e0ba42ab9316b52a Just make sure to add
export BASE_BOARD=raspberrypiarm64
I set
BASE_ARCH=arm64
in variant config but this is not used anymore:From the logs:
Looks like BASE_ARCH is overwritten again with
armhf
.This worked before the new release.