diff options
Diffstat (limited to 'meta-openpower')
-rw-r--r-- | meta-openpower/recipes-phosphor/network/first-boot-set-hostname_1.0.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-openpower/recipes-phosphor/network/first-boot-set-hostname_1.0.bb b/meta-openpower/recipes-phosphor/network/first-boot-set-hostname_1.0.bb index 1e9fdd66f..7f71e7c01 100644 --- a/meta-openpower/recipes-phosphor/network/first-boot-set-hostname_1.0.bb +++ b/meta-openpower/recipes-phosphor/network/first-boot-set-hostname_1.0.bb @@ -10,13 +10,13 @@ RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_base-utils}" SYSTEMD_SERVICE_${PN} = "first-boot-set-hostname.service" -SRC_URI = "file://${PN}.sh file://${PN}.service" +SRC_URI = "file://${BPN}.sh file://${BPN}.service" S = "${WORKDIR}" do_install() { - sed "s/{MACHINE}/${MACHINE}/" -i ${PN}.sh + sed "s/{MACHINE}/${MACHINE}/" -i ${BPN}.sh install -d ${D}${bindir} ${D}${systemd_system_unitdir} - install ${PN}.sh ${D}${bindir}/ - install -m 644 ${PN}.service ${D}${systemd_system_unitdir}/ + install ${BPN}.sh ${D}${bindir}/ + install -m 644 ${BPN}.service ${D}${systemd_system_unitdir}/ } |