From aa72123e1201759fa09a9f23240a876f58c0eb78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 28 Jul 2021 20:11:06 +0200 Subject: [PATCH] dosbox-staging: Avoid file clashes in do_rootfs with dosbox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-emulators/dosbox/dosbox-staging.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-emulators/dosbox/dosbox-staging.bb b/recipes-emulators/dosbox/dosbox-staging.bb index 5590e3c..242143b 100644 --- a/recipes-emulators/dosbox/dosbox-staging.bb +++ b/recipes-emulators/dosbox/dosbox-staging.bb @@ -35,6 +35,12 @@ EXTRA_OEMESON = " \ ${DYNCORE} \ " +do_install_append() { + # avoid clashes + mv ${D}${bindir}/dosbox ${D}${bindir}/dosbox-staging + sed -i 's:Exec=dosbox:Exec=dosbox-staging:g' ${D}${datadir}/applications/dosbox-staging.desktop +} + # sorry - but it does not make sense COMPATIBLE_HOST_armv4 = 'null' COMPATIBLE_HOST_armv5 = 'null'