* [RFC PATCH] zlib: remove historical movement of libz.so to /lib
@ 2022-03-29 13:45 Ross Burton
0 siblings, 0 replies; only message in thread
From: Ross Burton @ 2022-03-29 13:45 UTC (permalink / raw)
To: openembedded-core
Historically there's been a split between /lib for early boot and
/usr/lib for everything else, but with modern systems this split is
meaningless and incomplete. If a minimal system for early boot is
needed, it should be a full minimal system in a initramfs.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta/recipes-core/zlib/zlib_1.2.12.bb | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/meta/recipes-core/zlib/zlib_1.2.12.bb b/meta/recipes-core/zlib/zlib_1.2.12.bb
index 95e873584ba..45c31f1e678 100644
--- a/meta/recipes-core/zlib/zlib_1.2.12.bb
+++ b/meta/recipes-core/zlib/zlib_1.2.12.bb
@@ -38,16 +38,4 @@ do_install_ptest() {
install ${B}/examplesh ${D}${PTEST_PATH}
}
-# Move zlib shared libraries for target builds to $base_libdir so the library
-# can be used in early boot before $prefix is mounted.
-do_install:append:class-target() {
- if [ ${base_libdir} != ${libdir} ]
- then
- mkdir -p ${D}/${base_libdir}
- mv ${D}/${libdir}/libz.so.* ${D}/${base_libdir}
- libname=`readlink ${D}/${libdir}/libz.so`
- ln -sf ${@oe.path.relative("${libdir}", "${base_libdir}")}/$libname ${D}${libdir}/libz.so
- fi
-}
-
BBCLASSEXTEND = "native nativesdk"
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-29 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 13:45 [RFC PATCH] zlib: remove historical movement of libz.so to /lib Ross Burton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox