aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-04-14 16:08:59 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2012-04-16 11:01:38 +0200
commit397dba1ab21184317019e9808a3cc36e61050680 (patch)
tree282ebe59cd7a9eea5fc4072fe8f909ff160fa9db /meta-oe/recipes-core
parent6885f03e7cc05c07991d907793668a1a3ffdea5d (diff)
downloadmeta-openembedded-397dba1ab21184317019e9808a3cc36e61050680.tar.gz
meta-openembedded-397dba1ab21184317019e9808a3cc36e61050680.tar.bz2
meta-openembedded-397dba1ab21184317019e9808a3cc36e61050680.zip
systemd: create empty machine-id to fix first boot failures
Acked-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/systemd/systemd_git.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index b23e5f510..f4ca72a12 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -14,7 +14,7 @@ inherit gitpkgv
PKGV = "v${GITPKGVTAG}"
PV = "git"
-PR = "r26"
+PR = "r27"
inherit useradd pkgconfig autotools vala perlnative
@@ -64,6 +64,10 @@ do_install() {
# create dir for journal
install -d ${D}${localstatedir}/log/journal
+
+ # create machine-id
+ # 20:12 < mezcalero> koen: you have three options: a) run systemd-machine-id-setup at install time, b) have / read-only and an empty file there (for stateless) and c) boot with / writable
+ touch ${D}${sysconfdir}/machine-id
}
python populate_packages_prepend (){