containers/go/build: don't override global package strip flags

When the go-lang container recipes were first created there were issues
with strip and the resulting binaries. As such, strip was inhibited for
the various packages.

This variable is now set in the default classes, and tests show that
strip works on the binaries (saving up to 2M on disk for some binaries)
with no runtime issues found.

So we drop our explicit set of the inhibit and let the build proceed
by the defaults.

If issues are found, we can re-enable the setting or bbappends can
turn it back on for builds showing issues.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2019-07-22 14:48:07 +00:00
parent 37a554a249
commit 95b848f219
7 changed files with 0 additions and 8 deletions

View File

@ -95,7 +95,6 @@ do_install() {
FILES_${PN} += "${systemd_system_unitdir}/*"
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} += "ldflags already-stripped"
COMPATIBLE_HOST = "^(?!(qemu)?mips).*"

View File

@ -143,7 +143,6 @@ FILES_${PN}-config = "${sysconfdir}/crio/config/*"
FILES_${PN} += "${systemd_unitdir}/system/*"
FILES_${PN} += "/usr/local/bin/*"
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} += "ldflags already-stripped"
deltask compile_ptest_base

View File

@ -52,6 +52,4 @@ GROUPADD_PARAM_${PN} = "-r docker"
COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
# DO NOT STRIP docker
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} += "ldflags textrel"

View File

@ -106,6 +106,5 @@ FILES_kubectl = "${bindir}/kubectl"
FILES_kube-proxy = "${bindir}/kube-proxy"
FILES_${PN}-misc = "${bindir}"
INHIBIT_PACKAGE_STRIP = "1"
deltask compile_ptest_base

View File

@ -64,4 +64,3 @@ do_install() {
ln -sf runc ${D}/${bindir}/docker-runc
}
INHIBIT_PACKAGE_STRIP = "1"

View File

@ -78,5 +78,4 @@ deltask compile_ptest_base
FILES_${PN} += "/usr/local/bin/*"
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} += "ldflags already-stripped"

View File

@ -92,7 +92,6 @@ do_install() {
FILES_${PN} += "/opt/cni/bin/*"
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} += "ldflags already-stripped"
deltask compile_ptest_base