mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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:
parent
37a554a249
commit
95b848f219
|
@ -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).*"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -64,4 +64,3 @@ do_install() {
|
|||
ln -sf runc ${D}/${bindir}/docker-runc
|
||||
}
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
|
|
@ -78,5 +78,4 @@ deltask compile_ptest_base
|
|||
|
||||
FILES_${PN} += "/usr/local/bin/*"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INSANE_SKIP_${PN} += "ldflags already-stripped"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user