On Mon, 24 Jul 2023 at 16:02, Alexander Kanavin <[email protected]> wrote: > > + sed -i \ > > + -e "s:^%_lib\t.*$:%_lib\t${baselib}:" \ > > + -e "s:^%_libdir\t.*$:%_libdir\t${libdir}:" \ > > + ${D}${prefix}/lib/rpm/platform/${MACHINE_ARCH}-linux/macros > > Can this be refactored to avoid sed please? This is both difficult or > impossible to understand, and is prone to silent regressions.
What I mean is, can the file be generated in the first place with the correct values? Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#184792): https://lists.openembedded.org/g/openembedded-core/message/184792 Mute This Topic: https://lists.openembedded.org/mt/100328070/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
