Forráskód Böngészése

cockpit: Add runtime dependency on GNU Coreutils

The BusyBox version of mv does not have the -Z flag for setting SELinux
security context. This results in failure
when the cockpit-certificate-helper script is executed.

Depend the package on GNU Coreutils to make sure that the proper version
of mv is installed.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Daniel Semkowicz 4 napja
szülő
commit
d8d4b7ab88

+ 2 - 2
meta-webserver/recipes-webadmin/cockpit/cockpit_337.bb

@@ -172,8 +172,8 @@ FILES:${PN} += " \
     ${nonarch_libdir}/firewalld \
 "
 RDEPENDS:${PN} += "${PN}-bridge"
-# Needs bash for /usr/libexec/cockpit-certificate-helper
-RDEPENDS:${PN} += "bash"
+# Needs bash and mv for /usr/libexec/cockpit-certificate-helper
+RDEPENDS:${PN} += "bash coreutils"
 
 do_install:append() {
     pkgdatadir=${datadir}/cockpit