From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.missinglinkelectronics.com (smtp.missinglinkelectronics.com [94.130.14.54]) by mail.openembedded.org (Postfix) with ESMTP id BA5BB7D075 for ; Tue, 15 Oct 2019 06:56:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.missinglinkelectronics.com (Postfix) with ESMTP id 6174E20B3E; Tue, 15 Oct 2019 08:56:24 +0200 (CEST) Received: from smtp.missinglinkelectronics.com ([127.0.0.1]) by localhost (mail.missinglinkelectronics.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ge0m4x4ZYYtY; Tue, 15 Oct 2019 08:56:24 +0200 (CEST) Received: from pfanne-bionic1.mle (p578c5bfe.dip0.t-ipconnect.de [87.140.91.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: stefan) by smtp.missinglinkelectronics.com (Postfix) with ESMTPSA id 1FF942029E; Tue, 15 Oct 2019 08:56:24 +0200 (CEST) From: Stefan Wiehler To: openembedded-devel@lists.openembedded.org Date: Tue, 15 Oct 2019 08:56:06 +0200 Message-Id: <20191015065606.63705-1-stefan.wiehler@missinglinkelectronics.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <1ff659c05553cc4516ff8a446525d46199c1946a.camel@gmail.com> References: <1ff659c05553cc4516ff8a446525d46199c1946a.camel@gmail.com> MIME-Version: 1.0 Subject: [meta-oe][PATCH v2] nvme-cli: defer host ID generation to post installation X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2019 06:56:24 -0000 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Wiehler --- meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb index 6133b3a27..92c902b75 100644 --- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb +++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_1.9.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/linux-nvme/nvme-cli" SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" -DEPENDS = "util-linux util-linux-native" +DEPENDS = "util-linux" PV .= "+git${SRCPV}" SRC_URI = "git://github.com/linux-nvme/nvme-cli.git" @@ -21,6 +21,7 @@ do_install() { pkg_postinst_ontarget_${PN}() { ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn + ${bindir}/uuidgen > ${sysconfdir}/nvme/hostid } PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion" @@ -28,3 +29,5 @@ PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion" FILES_${PN} += "${systemd_system_unitdir}" FILES_${PN}-dracut = "${libdir}/dracut/dracut.conf.d" FILES_${PN}-zsh-completion = "${datadir}/zsh/site-functions" + +RDEPENDS_${PN} = "util-linux-uuidgen" -- 2.19.2