[PATCH openbmc v2 2/3] initfs: use S instead of WORKDIR when installing
OpenBMC Patches
openbmc-patches at stwcx.xyz
Thu Feb 18 09:10:23 AEDT 2016
From: "Milton D. Miller II" <miltonm at us.ibm.com>
We define S, lets use it.
Signed-off-by: Milton Miller <miltonm at us.ibm.com>
---
.../recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-init.bb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-init.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-init.bb
index 68ee00d..cb18dc8 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-init.bb
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/obmc-phosphor-init.bb
@@ -12,10 +12,10 @@ SRC_URI += "file://obmc-update.sh"
SRC_URI += "file://whitelist"
do_install() {
- install -m 0755 ${WORKDIR}/obmc-init.sh ${D}/init
- install -m 0755 ${WORKDIR}/obmc-shutdown.sh ${D}/shutdown
- install -m 0755 ${WORKDIR}/obmc-update.sh ${D}/update
- install -m 0644 ${WORKDIR}/whitelist ${D}/whitelist
+ install -m 0755 ${S}/obmc-init.sh ${D}/init
+ install -m 0755 ${S}/obmc-shutdown.sh ${D}/shutdown
+ install -m 0755 ${S}/obmc-update.sh ${D}/update
+ install -m 0644 ${S}/whitelist ${D}/whitelist
install -d ${D}/dev
mknod -m 622 ${D}/dev/console c 5 1
}
--
2.7.1
More information about the openbmc
mailing list