[openwrt/openwrt] build: select procd-ujail if !SMALL_FLASH

LEDE Commits lede-commits at lists.infradead.org
Fri Oct 8 12:28:24 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/44f694ba1bca1417d24e851c637c284f9f78c06d

commit 44f694ba1bca1417d24e851c637c284f9f78c06d
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed Oct 21 15:04:17 2020 +0100

    build: select procd-ujail if !SMALL_FLASH
    
    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 7526224972..eac2d164c3 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -33,6 +33,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



More information about the lede-commits mailing list