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 <[email protected]>
---
 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163753): 
https://lists.openembedded.org/g/openembedded-core/message/163753
Mute This Topic: https://lists.openembedded.org/mt/90108255/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to