summaryrefslogtreecommitdiffstats
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
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
14PKGV = "v${GITPKGVTAG}" 14PKGV = "v${GITPKGVTAG}"
15 15
16PV = "git" 16PV = "git"
17PR = "r26" 17PR = "r27"
18 18
19inherit useradd pkgconfig autotools vala perlnative 19inherit useradd pkgconfig autotools vala perlnative
20 20
@@ -64,6 +64,10 @@ do_install() {
64 64
65 # create dir for journal 65 # create dir for journal
66 install -d ${D}${localstatedir}/log/journal 66 install -d ${D}${localstatedir}/log/journal
67
68 # create machine-id
69 # 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
70 touch ${D}${sysconfdir}/machine-id
67} 71}
68 72
69python populate_packages_prepend (){ 73python populate_packages_prepend (){