diff --git a/recipes-core/ptx-profile/ptx-profile.bb b/recipes-core/ptx-profile/ptx-profile.bb index 53ea1a2..3d81f67 100644 --- a/recipes-core/ptx-profile/ptx-profile.bb +++ b/recipes-core/ptx-profile/ptx-profile.bb @@ -4,7 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda SRC_URI = "file://00-ptx.sh" -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" do_install () { install -d ${D}${sysconfdir}/profile.d/ diff --git a/recipes-core/systemd/systemd-rc-once.bb b/recipes-core/systemd/systemd-rc-once.bb index 804f378..fe48a38 100644 --- a/recipes-core/systemd/systemd-rc-once.bb +++ b/recipes-core/systemd/systemd-rc-once.bb @@ -9,16 +9,17 @@ SRC_URI = "\ file://systemd-rc-once \ " -S = "${WORKDIR}" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" inherit allarch systemd do_install() { install -d ${D}${base_libdir}/init - install -m 0755 ${WORKDIR}/rc-once.sh ${D}${base_libdir}/init/ + install -m 0755 ${S}/rc-once.sh ${D}${base_libdir}/init/ install -d ${D}${systemd_unitdir}/system - install -m 0755 ${WORKDIR}/systemd-rc-once ${D}${systemd_unitdir}/ - install -m 0644 ${WORKDIR}/rc-once.service ${D}${systemd_unitdir}/system/ + install -m 0755 ${S}/systemd-rc-once ${D}${systemd_unitdir}/ + install -m 0644 ${S}/rc-once.service ${D}${systemd_unitdir}/system/ install -d ${D}${systemd_unitdir}/system/system-update.target.wants ln -sf ../rc-once.service ${D}${systemd_unitdir}/system/system-update.target.wants/rc-once.service install -d ${D}${sysconfdir}/rc.once.d