Skip to content

Commit 5f05ec9

Browse files
committed
Fixes another bit in #72
1 parent 4118a09 commit 5f05ec9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/custompios

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function execute_chroot_script() {
4040
cp "${CUSTOM_PI_OS_PATH}"/common.sh common.sh
4141
chmod 755 common.sh
4242

43-
if [ -f /.dockerenv ] && [ "$(arch)" != "armv7l" ] && [ "$(arch)" != "aarch64" ] && [ "$(arch)" != "arm64" ] ; then
43+
if [ "$(arch)" != "armv7l" ] && [ "$(arch)" != "aarch64" ] && [ "$(arch)" != "arm64" ] ; then
4444
if [ "$BASE_ARCH" == "armv7l" ]; then
4545
echo "Building on non-ARM device a armv7l system, using qemu-arm-static"
4646
chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script

0 commit comments

Comments
 (0)