Skip to content

Commit

Permalink
Merge pull request #91 from leon-anavi/rpi-system-conf
Browse files Browse the repository at this point in the history
rauc-conf.bbappend: Use MACHINE variable
  • Loading branch information
leon-anavi authored Apr 2, 2024
2 parents 85b4aaa + 065a28d commit d9dc644
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions meta-rauc-raspberrypi/recipes-core/rauc/rauc-conf.bbappend
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append := " file://ca.cert.pem "

do_install:prepend() {
sed -i "s/@@MACHINE@@/${MACHINE}/g" ${WORKDIR}/system.conf
}
4 changes: 0 additions & 4 deletions meta-rauc-raspberrypi/recipes-core/rauc/rauc_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ PACKAGES += "rauc-grow-data-part"

RDEPENDS:${PN}-grow-data-part += "parted"

do_install:prepend() {
sed -i "s|@@MACHINE@@|${MACHINE}|g" ${WORKDIR}/system.conf
}

do_install:append() {
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/rauc-grow-data-partition.service ${D}${systemd_unitdir}/system/
Expand Down

0 comments on commit d9dc644

Please sign in to comment.