This is not suitable unfortunately. Having ptest should not be affecting completely unrelated files. The problem should be solved without using it as a decision point.
Alex On Fri 17. Mar 2023 at 7.04, Markus Volk <[email protected]> wrote: > glib-2.0 ptest will fail if /tmp is a symlink to /var/tmp > > Signed-off-by: Markus Volk <[email protected]> > --- > meta/recipes-core/initscripts/initscripts_1.0.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb > b/meta/recipes-core/initscripts/initscripts_1.0.bb > index 4dc477bb8d..51a90ddf58 100644 > --- a/meta/recipes-core/initscripts/initscripts_1.0.bb > +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb > @@ -108,7 +108,7 @@ do_install () { > sed -i -e '\@^d root root 0755 /var/volatile/log none$@ > a\l root root 0755 /var/log /var/volatile/log' \ > ${D}${sysconfdir}/default/volatiles/00_core > fi > - if [ "${VOLATILE_TMP_DIR}" != "yes" ]; then > + if [ "${VOLATILE_TMP_DIR}" != "yes" ] || > ${@bb.utils.contains('DISTRO_FEATURES','ptest','true','false',d)}; then > sed -i -e "/\<tmp\>/d" > ${D}${sysconfdir}/default/volatiles/00_core > fi > install -m 0755 ${WORKDIR}/dmesg.sh > ${D}${sysconfdir}/init.d > -- > 2.34.1 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#178742): https://lists.openembedded.org/g/openembedded-core/message/178742 Mute This Topic: https://lists.openembedded.org/mt/97667599/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
