package/apparmor: add a dependency on net-tools if utils is selected
authorAdam Duskett <Aduskett@gmail.com>
Fri, 8 May 2020 01:59:55 +0000 (18:59 -0700)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 8 May 2020 08:06:44 +0000 (10:06 +0200)
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>
package/apparmor/Config.in

index b0d2e44ff79c0f30d11332b35ab01e65713b7fe4..1cc9daa7b505a03cec3ec5f386587df81893ac57 100644 (file)
@@ -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):