kbd: avoid vlock conflict with busybox
PATCH 1/1 kbd: avoid vlock conflict with busybox
busybox as well as vlock utility from meta-oe provides vlock utility which can conflict when with kbd if pam is a enabled distro_feature
Fixes image build errors
update-alternatives: Error: not linking <rootfs>/usr/bin/vlock to /bin/busybox.suid since <rootfs>/usr/bin/vlock exists and is not a link
ERROR: yoe-qt5-wayland-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
--- meta/recipes-core/kbd/kbd_2.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/kbd/kbd_2.2.0.bb +1 -1
@@ -61,7 +61,7 @@ RDEPENDS_${PN}-ptest = "make" inherit update-alternatives -ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt showkey" +ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt showkey vlock" ALTERNATIVE_PRIORITY = "100" BBCLASSEXTEND = "native"
Signature · 1 line
2.24.0
✗ patchtest: failure for kbd: avoid vlock conflict with busybox
== Series Details ==
Series: kbd: avoid vlock conflict with busybox
Revision: 1
URL : https://patchwork.openembedded.org/series/21511/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at d40853b10d)
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
Quoted 6 lines · Khem Raj
busybox as well as vlock utility from meta-oe provides vlock utility which can conflict when with kbd if pam is a enabled
distro_featureFixes image build errors
update-alternatives: Error: not linking <rootfs>/usr/bin/vlock to
/bin/busybox.suidsince <rootfs>/usr/bin/vlock exists and is not a link
WARNING: kbd-2.2.0-r0 do_package: kbd: alternative target (/usr/bin/vlock or /usr/bin/vlock.kbd) does not exist, skipping...
vlock doesn't exist is PAM isn't enabled.
Ross
Quoted 5 lines · Khem Raj
busybox as well as vlock utility from meta-oe provides vlock utility which can conflict when with kbd if pam is a enabled
distro_featureFixes image build errors
Quoted 7 lines
update-alternatives: Error: not linking <rootfs>/usr/bin/vlock to
/bin/busybox.suidsince <rootfs>/usr/bin/vlock exists and is not a linkERROR: yoe-qt5-wayland-image-1.0-r0
do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.Signed-off-by Khem Raj <[email protected]>
PATCH v2 1/1 kbd: avoid vlock conflict with busybox
In reply to Khem Rajbusybox as well as vlock utility from meta-oe provides vlock utility which can conflict when with kbd if pam is a enabled distro_feature
Fixes image build errors
update-alternatives: Error: not linking <rootfs>/usr/bin/vlock to /bin/busybox.suid since <rootfs>/usr/bin/vlock exists and is not a link
ERROR: yoe-qt5-wayland-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
The vlock doesn't exist if PAM isn't enabled.
--- meta/recipes-core/kbd/kbd_2.2.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/kbd/kbd_2.2.0.bb +2 -1
@@ -61,7 +61,8 @@ RDEPENDS_${PN}-ptest = "make" inherit update-alternatives -ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt showkey" +ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt showkey \ + ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'vlock','', d)}" ALTERNATIVE_PRIORITY = "100" BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4