From 8b9421a444251ff94a3afea8e62da587b3409ef7 Mon Sep 17 00:00:00 2001 From: Chris Reed Date: Thu, 17 Jul 2025 12:36:27 -0500 Subject: [PATCH] configs/buildroot: set FORCE_UNSAFE_CONFIG Setting FORCE_UNSAFE_CONFIG bypasses a check against building as root in the host-tar package, to work around a build failure when using the Docker runtime on macOS. Fixes #33. Signed-off-by: Chris Reed --- config/buildroot.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/buildroot.yaml b/config/buildroot.yaml index 98723a4..dc24908 100644 --- a/config/buildroot.yaml +++ b/config/buildroot.yaml @@ -20,6 +20,10 @@ build: stderrfilt: true prebuild: + # Building with the Docker runtime on macOS will fail while configuring + # host-tar unless this variable is set. + - export FORCE_UNSAFE_CONFIGURE=1 + # Start from default config, but allow higher level layers to modify it. - make BR2_JLEVEL=${param:jobs} O=${param:builddir} BR2_DEFCONFIG=${param:configdir}/buildroot.config defconfig # Uncomment the below line if you want to regenerate the defconfig and -- GitLab