[oe-commits] Koen Kooi : systemd: create empty machine-id to fix first boot failures
git at git.openembedded.org
git at git.openembedded.org
Mon Apr 16 09:13:24 UTC 2012
Module: meta-openembedded.git
Branch: master
Commit: 397dba1ab21184317019e9808a3cc36e61050680
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=397dba1ab21184317019e9808a3cc36e61050680
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Sat Apr 14 16:08:59 2012 +0200
systemd: create empty machine-id to fix first boot failures
Acked-by: Denys Dmytriyenko <denys at ti.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta-oe/recipes-core/systemd/systemd_git.bb | 6 +++++-
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 b23e5f5..f4ca72a 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 (){
More information about the Openembedded-commits
mailing list