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>
2020.05.x
Adam Duskett 2020-05-07 18:59:55 -07:00 committed by Yann E. MORIN
parent ebea009ffd
commit eb02ef549f
1 changed files with 2 additions and 0 deletions

View 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):