mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
cri-o: fix already-stripped QA issue and clean up
Set DEBUG=1 to avoid stripping. See https://github.com/cri-o/cri-o/blob/main/Makefile#L93 Set STRIP=true to avoid stripping bin/pinns. See https://github.com/cri-o/cri-o/blob/main/pinns/Makefile#L4 ALLOW_EMPTY:${PN} = "1" is not needed. Remove it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
af1d32686e
commit
7834a259ad
|
@ -60,7 +60,7 @@ inherit goarch
|
|||
inherit pkgconfig
|
||||
inherit container-host
|
||||
|
||||
EXTRA_OEMAKE="BUILDTAGS=''"
|
||||
EXTRA_OEMAKE = "BUILDTAGS='' DEBUG=1 STRIP=true"
|
||||
|
||||
do_compile() {
|
||||
set +e
|
||||
|
@ -115,15 +115,13 @@ do_install_ptest() {
|
|||
cp -rf ${S}/src/import/test ${D}${PTEST_PATH}
|
||||
cp -rf ${S}/src/import/bin ${D}${PTEST_PATH}
|
||||
}
|
||||
|
||||
FILES:${PN}-config = "${sysconfdir}/crio/config/*"
|
||||
FILES:${PN} += "${systemd_unitdir}/system/*"
|
||||
FILES:${PN} += "/usr/local/bin/*"
|
||||
FILES:${PN} += "/usr/share/containers/oci/hooks.d"
|
||||
|
||||
# don't clobber hooks.d
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
INSANE_SKIP:${PN} += "ldflags already-stripped textrel"
|
||||
INSANE_SKIP:${PN} += "ldflags textrel"
|
||||
INSANE_SKIP:${PN}-ptest += "textrel"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
|
|
Loading…
Reference in New Issue
Block a user