diff mbox series

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

Message ID 20201107141744.xdrvie5yrpbab6in@makrotopia.org
State Under Review
Delegated to: Daniel Golle
Headers show
Series enable procd security features by default | expand

Commit Message

Daniel Golle Nov. 7, 2020, 2:17 p.m. UTC
Add procd-ujail to DEFAULT_PACKAGES if not building for
space-constraint (FEATURES:=small_flash) targets.

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

Patch

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