[PATCH 1/2] target: select procd-ujail if !SMALL_FLASH

Daniel Golle daniel at makrotopia.org
Sat Nov 7 09:17:44 EST 2020


Add procd-ujail to DEFAULT_PACKAGES if not building for
space-constraint (FEATURES:=small_flash) targets.

Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 include/target.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/target.mk b/include/target.mk
index a2e76f8149..7a74aceb59 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -36,6 +36,11 @@ else
 DEFAULT_PACKAGES+=busybox procd
 endif
 
+# include ujail on systems with enough storage
+ifeq ($(CONFIG_SMALL_FLASH),)
+DEFAULT_PACKAGES+=procd-ujail
+endif
+
 # For the basic set
 DEFAULT_PACKAGES.basic:=
 # For nas targets
-- 
2.29.2




More information about the openwrt-devel mailing list