mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
daemontools: use u-a for /usr/bin/svc and /usr/bin/svok
* busybox provides the same, causing busybox postinst to fail when both packages are installed in the same image: update-alternatives: Error: not linking rootfs/usr/bin/svc to /usr/bin/busybox.nosuid since rootfs/usr/bin/svc exists and is not a link update-alternatives: Error: not linking rootfs/usr/bin/svok to /usr/bin/busybox.nosuid since rootfs/usr/bin/svok exists and is not a link Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -38,3 +38,7 @@ do_install() {
|
||||
do_install_append_class-target() {
|
||||
install -m755 ${S}/command/* ${D}/${bindir}
|
||||
}
|
||||
|
||||
inherit update-alternatives
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
ALTERNATIVE_${PN} = "svc svok"
|
||||
|
||||
Reference in New Issue
Block a user