Pārlūkot izejas kodu

package/apparmor: add a dependency on net-tools if utils is selected

aa-unconfied requires the full version of netstat provided by the net-tools
package. Without the full version, running aa-unconfined will result in the
error:
netstat: invalid option -- 'p'

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - net-ttols is a runtime depednency
  - select BB_SHOW_OTHERS
  - reorder depends
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Adam Duskett 5 gadi atpakaļ
vecāks
revīzija
eb02ef549f
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      package/apparmor/Config.in

+ 2 - 0
package/apparmor/Config.in

@@ -32,6 +32,8 @@ comment "utils need python3"
 config BR2_PACKAGE_APPARMOR_UTILS
 	bool "utils"
 	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # net-tools
+	select BR2_PACKAGE_NET_TOOLS # runtime (aa-unconfined)
 	select BR2_PACKAGE_PYTHON3_READLINE
 	help
 	  A set of utilities (written in python):