From 397dba1ab21184317019e9808a3cc36e61050680 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 14 Apr 2012 16:08:59 +0200 Subject: systemd: create empty machine-id to fix first boot failures Acked-by: Denys Dmytriyenko Signed-off-by: Koen Kooi --- meta-oe/recipes-core/systemd/systemd_git.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 (){ -- cgit v1.2.3-18-g5258