We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4118a09 commit 5f05ec9Copy full SHA for 5f05ec9
1 file changed
src/custompios
@@ -40,7 +40,7 @@ function execute_chroot_script() {
40
cp "${CUSTOM_PI_OS_PATH}"/common.sh common.sh
41
chmod 755 common.sh
42
43
- if [ -f /.dockerenv ] && [ "$(arch)" != "armv7l" ] && [ "$(arch)" != "aarch64" ] && [ "$(arch)" != "arm64" ] ; then
+ if [ "$(arch)" != "armv7l" ] && [ "$(arch)" != "aarch64" ] && [ "$(arch)" != "arm64" ] ; then
44
if [ "$BASE_ARCH" == "armv7l" ]; then
45
echo "Building on non-ARM device a armv7l system, using qemu-arm-static"
46
chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script
0 commit comments