Skip to content

Commit 86d5206

Browse files
committed
configs: fix overlay order so system inittab takes precedence
The nftables rootfs overlay was listed after system/rootfs, causing its simplified inittab (rc.local only, no rcS) to silently overwrite the system container's inittab. This prevented any init.d service script from running at boot. Reorder overlays so system/rootfs is applied last and wins. Fixes: fd109c0 ("configs: rename -> simplify") Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent 80ee641 commit 86d5206

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

configs/system_amd64_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BR2_TARGET_GENERIC_HOSTNAME="curiOS"
99
BR2_TARGET_GENERIC_ISSUE="Welcome to curiOS"
1010
# BR2_TARGET_GENERIC_GETTY is not set
1111
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
12-
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/rootfs $(BR2_EXTERNAL_CURIOS_PATH)/board/system/rootfs $(BR2_EXTERNAL_CURIOS_PATH)/board/nftables/rootfs"
12+
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/rootfs $(BR2_EXTERNAL_CURIOS_PATH)/board/nftables/rootfs $(BR2_EXTERNAL_CURIOS_PATH)/board/system/rootfs"
1313
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/post-build.sh"
1414
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/post-image.sh"
1515
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_CURIOS_PATH)/board/system/busybox_defconfig"

configs/system_arm64_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BR2_TARGET_GENERIC_HOSTNAME="curiOS"
1010
BR2_TARGET_GENERIC_ISSUE="Welcome to curiOS"
1111
# BR2_TARGET_GENERIC_GETTY is not set
1212
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
13-
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/rootfs $(BR2_EXTERNAL_CURIOS_PATH)/board/system/rootfs $(BR2_EXTERNAL_CURIOS_PATH)/board/nftables/rootfs"
13+
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/rootfs $(BR2_EXTERNAL_CURIOS_PATH)/board/nftables/rootfs $(BR2_EXTERNAL_CURIOS_PATH)/board/system/rootfs"
1414
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/post-build.sh"
1515
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/post-image.sh"
1616
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_CURIOS_PATH)/board/system/busybox_defconfig"

0 commit comments

Comments
 (0)