diff options
-rw-r--r-- | meta-oe/recipes-core/systemd/systemd_git.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb index ba57a0239..f6c675273 100644 --- a/meta-oe/recipes-core/systemd/systemd_git.bb +++ b/meta-oe/recipes-core/systemd/systemd_git.bb | |||
@@ -15,7 +15,7 @@ inherit gitpkgv | |||
15 | PKGV = "v${GITPKGVTAG}" | 15 | PKGV = "v${GITPKGVTAG}" |
16 | 16 | ||
17 | PV = "git" | 17 | PV = "git" |
18 | PR = "r3" | 18 | PR = "r4" |
19 | 19 | ||
20 | inherit autotools vala update-alternatives | 20 | inherit autotools vala update-alternatives |
21 | 21 | ||
@@ -101,11 +101,12 @@ RRECOMMENDS_${PN} += "kbd kbd-consolefonts \ | |||
101 | # u-a for runlevel and telinit | 101 | # u-a for runlevel and telinit |
102 | 102 | ||
103 | pkg_postinst_${PN} () { | 103 | pkg_postinst_${PN} () { |
104 | # can't do this offline | 104 | # can't do this offline, but we need the u-a bits |
105 | if [ "x$D" != "x" ]; then | 105 | if [ "x$D" != "x" ]; then |
106 | exit 1 | 106 | echo "can't do addgroup offline" |
107 | else | ||
108 | grep "^lock:" /etc/group > /dev/null || addgroup lock | ||
107 | fi | 109 | fi |
108 | grep "^lock:" /etc/group > /dev/null || addgroup lock | ||
109 | 110 | ||
110 | update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300 | 111 | update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300 |
111 | update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300 | 112 | update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300 |