From 77a83ce139df9fde8945425caadb7416d31598a9 Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Sun, 10 Nov 2024 03:25:38 +0100
Subject: [PATCH] generic: enable kernel namespace support

Kernel namespacce support is only enabled on non small flash targets by
default.

Enable it for all targets to allow procd-ujail to be used on small flash
targets (notably ramips-mt76x8).

Signed-off-by: David Bauer <mail@david-bauer.net>
---
 targets/generic | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/targets/generic b/targets/generic
index 48f6ad0a..6db12651 100644
--- a/targets/generic
+++ b/targets/generic
@@ -63,6 +63,9 @@ try_config('KERNEL_IO_URING', false)
 config('KERNEL_FHANDLE', false)
 config('KERNEL_FANOTIFY', false)
 config('KERNEL_CGROUPS', false)
+-- KERNEL_NAMESPACES is required for procd-ujail
+-- This option is enabled by default on non small flash targets
+config('KERNEL_NAMESPACES', true)
 config('KERNEL_IP_MROUTE', false)
 config('KERNEL_IPV6_MROUTE', false)
 config('KERNEL_IPV6_SEG6_LWTUNNEL', false)
-- 
GitLab