Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

basefiles bbappend: add tmpfiles.d snippet to empty /var/run on boot

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
commit d3ed55d4e647138382930ab95fce66c28544a4bf 1 parent d63931d
@koenkooi koenkooi authored
View
2  recipes-core/base-files/base-files/var-run.conf
@@ -0,0 +1,2 @@
+# empty /var/run
+R /var/run/* - - - - -
View
9 recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,6 +1,8 @@
FILESEXTRAPATHS := "${THISDIR}/${PN}"
-PRINC = "13"
+PRINC = "14"
+
+SRC_URI_append = " file://var-run.conf"
# Original: volatiles = "cache run log lock tmp"
# We don't any of those in volatiles, so:
@@ -32,3 +34,8 @@ do_install_angstromissue () {
echo >> ${D}${sysconfdir}/issue
fi
}
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/tmpfiles.d
+ install -m 0644 ${WORKDIR}/var-run.conf ${D}${sysconfdir}/tmpfiles.d/
+}
Please sign in to comment.
Something went wrong with that request. Please try again.