On Fri, 2023-03-17 at 07:03 +0100, Markus Volk 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

Having a delta between what we ship and what we test on is asking for a
ton of trouble so this isn't an option.

We can't change a key image behaviour just to make some ptests pass.

Cheers,

Richard




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#178745): 
https://lists.openembedded.org/g/openembedded-core/message/178745
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to