From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 33FE571DF7 for ; Thu, 19 Jan 2017 22:53:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v0JMrRYM005705; Thu, 19 Jan 2017 22:53:29 GMT Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ugkKZXYFwmV2; Thu, 19 Jan 2017 22:53:29 +0000 (GMT) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v0JMrN8u005670 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 19 Jan 2017 22:53:24 GMT Received: from richard by hex with local (Exim 4.86_2) (envelope-from ) id 1cULa7-0004ij-TH; Thu, 19 Jan 2017 22:53:23 +0000 From: Richard Purdie To: openembedded-core@lists.openembedded.org Date: Thu, 19 Jan 2017 22:53:04 +0000 Message-Id: <1484866395-17971-22-git-send-email-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1484866395-17971-1-git-send-email-richard.purdie@linuxfoundation.org> References: <1484866395-17971-1-git-send-email-richard.purdie@linuxfoundation.org> Subject: [PATCH 22/33] systemd: Add PACKAGE_WRITE_DEPS for postinst X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 22:53:37 -0000 From: Jussi Kukkonen Qemu is used to run udevadm in postinstall. Signed-off-by: Jussi Kukkonen --- meta/recipes-core/systemd/systemd_232.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb index 9b76b69..cc8781e 100644 --- a/meta/recipes-core/systemd/systemd_232.bb +++ b/meta/recipes-core/systemd/systemd_232.bb @@ -4,7 +4,7 @@ PROVIDES = "udev" PE = "1" -DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup qemu-native util-linux" +DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup util-linux" SECTION = "base/shell" @@ -571,6 +571,7 @@ pkg_prerm_${PN} () { -i $D${sysconfdir}/nsswitch.conf } +PACKAGE_WRITE_DEPS += "qemu-native" pkg_postinst_udev-hwdb () { if test -n "$D"; then ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \ -- 2.7.4