Skip to content

Commit 341cc04

Browse files
committed
Revert "target,base-files: unify handling of procd-ujail"
This reverts commit ac64071 as it removes base-files package when KERNEL_NAMESPACES is deselected, as base-files depends on procd-ujail which needs KERNEL_NAMESPACES. Fixes: #17075 Link: openwrt/openwrt#17081 Link: openwrt/openwrt#17081 Signed-off-by: Petr Štetiar <[email protected]>
1 parent 5695267 commit 341cc04

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

include/target.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ else
9090
endif
9191
endif
9292

93+
# include ujail on systems with enough storage
94+
ifeq ($(filter small_flash,$(FEATURES)),)
95+
DEFAULT_PACKAGES+=procd-ujail
96+
endif
97+
9398
# Add device specific packages (here below to allow device type set from subtarget)
9499
DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))
95100

package/base-files/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ define Package/base-files
4343
+netifd +libc +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring \
4444
+NAND_SUPPORT:ubi-utils +fstools +fwtool \
4545
+SELINUX:procd-selinux +!SELINUX:procd +USE_SECCOMP:procd-seccomp \
46-
+SELINUX:busybox-selinux +!SELINUX:busybox +!SMALL_FLASH:procd-ujail
46+
+SELINUX:busybox-selinux +!SELINUX:busybox
4747
TITLE:=Base filesystem for OpenWrt
4848
URL:=http://openwrt.org/
4949
VERSION:=$(PKG_RELEASE)~$(lastword $(subst -, ,$(REVISION)))

0 commit comments

Comments
 (0)