On 4 Jan 2024, at 02:10, Khem Raj via lists.openembedded.org 
<[email protected]> wrote:
> -# The tests need to run as a non-root user, so pull in the ptest user
> -DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' 
> ptest-runner', '', d)}"
> -PACKAGE_WRITE_DEPS += "ptest-runner"
> +# The tests need to run as a non-root user
> +USERADD_PACKAGES = "${PN}-ptest"
> +USERADD_PARAM:${PN}-ptest = "--system --home /nonexistent --no-create-home 
> --user-group ptest”

The original lines were intended to pull in the ptest user that the 
ptest-runner recipe creates.  Why is that not sufficient?

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

Reply via email to