Open
Description
Something in the last month or so is making the value set of BASE_ARCH
skew from what is set in the configuration. Given the following config:
export DIST_NAME=AllStarLink3
export DIST_VERSION=3.0.14
# rpi-imager json generator settings
export RPI_IMAGER_NAME="${DIST_NAME}"
export RPI_IMAGER_DESCRIPTION="ASL3"
export RPI_IMAGER_WEBSITE="https://allstarlink.org"
export RPI_IMAGER_ICON="https://raw.githubusercontent.com/guysoft/CustomPiOS/devel/media/rpi-imager-CustomPiOS.png"
export MODULES="base(network,pkgupgrade,asl3)"
# Base configuration
export BASE_ARCH=aarch64
export BASE_IMAGE_ENLARGEROOT=512
export BASE_DISTRO=raspios64
export BASE_BOARD=raspberrypiarm64
export BASE_ADD_USER=no
# PKGUPGRADE
export PKGUPGRADE_DISTUPGRADE=y
export PKGUPGRADE_DISTUPGRADE_METHOD=dist-upgrade
export ASL3_REPO_LVL="main"
I would expect BASE_ARCH=aarch64
to be fixed. However when the code gets to the selection of qemu-arm-static in src/custompios
the value is being reset to BASE_ARCH=armhf
and I'm not entirely sure where:
+ echo BASE_ARCH=armhf
BASE_ARCH=armhf
++ uname -m
+ '[' aarch64 '!=' armv7l ']'
++ uname -m
+ '[' aarch64 '!=' aarch64 ']'
+ [[ armhf == \a\r\m\v\7\l ]]
+ [[ armhf == \a\r\m\h\f ]]
++ uname -m
+ [[ aarch64 != \a\r\m\v\7\l ]]
++ which qemu-aarch64-static
+ cp usr/bin/qemu-aarch64-static
cp: missing destination file operand after 'usr/bin/qemu-aarch64-static'
Try 'cp --help' for more information.
++++ echo_red 'build failed, unmounting image...'
Note that I've added some debugging and changes to custompios
to try to figure out what's happening. By the time the build process gets here, BASE_ARCH
is being change from aarch64
to armhf
.
Metadata
Metadata
Assignees
Labels
No labels