Skip to content
Browse files

systemd: create systemd-journal group, BUILD clean up

  • Loading branch information...
1 parent 3123c44 commit 80a1e02709be130a7bd6907b8ffec0602618dfbb @Ratler Ratler committed Oct 12, 2013
Showing with 32 additions and 33 deletions.
  1. +31 −32 system/systemd/BUILD
  2. +1 −1 system/systemd/DETAILS
View
63 system/systemd/BUILD
@@ -1,43 +1,42 @@
-(
+OPTS+=" --libexecdir=/usr/lib \
+ --enable-split-usr \
+ --disable-tcpwrap \
+ --with-kbd-loadkeys=/usr/bin/loadkeys \
+ --with-kbd-setfont=/usr/bin/setfont"
- OPTS+=" --libexecdir=/usr/lib \
- --enable-split-usr \
- --disable-tcpwrap \
- --with-kbd-loadkeys=/usr/bin/loadkeys \
- --with-kbd-setfont=/usr/bin/setfont"
- # a not existing hostname is set to lunar.
- [ -f /etc/hostname ] || install -m 0644 -o root -g root $SCRIPT_DIRECTORY/files/hostname /etc/hostname &&
+add_priv_group systemd-journal &&
- # vconsole.conf defaults to us-layout
- [ -f /etc/vconsole.conf ] || install -m 0644 -o root -g root $SCRIPT_DIRECTORY/files/vconsole.conf /etc/vconsole.conf &&
+# a not existing hostname is set to lunar.
+[ -f /etc/hostname ] || install -m 0644 -o root -g root $SCRIPT_DIRECTORY/files/hostname /etc/hostname &&
- # last but not least the locale settings, defaulting to US
- [ -f /etc/locale.conf ] || install -m 0644 -o root -g root $SCRIPT_DIRECTORY/files/locale.conf /etc/locale.conf &&
+# vconsole.conf defaults to us-layout
+[ -f /etc/vconsole.conf ] || install -m 0644 -o root -g root $SCRIPT_DIRECTORY/files/vconsole.conf /etc/vconsole.conf &&
- # systemd guys wrongly assume that on every linux
- # installation is a group called "lock" this isn't
- # the case in lunar, so we switch it to root.
- sedit "s:0775 root lock:0775 root root:" tmpfiles.d/legacy.conf &&
+# last but not least the locale settings, defaulting to US
+[ -f /etc/locale.conf ] || install -m 0644 -o root -g root $SCRIPT_DIRECTORY/files/locale.conf /etc/locale.conf &&
- default_config &&
- make &&
- prepare_install &&
+# systemd guys wrongly assume that on every linux
+# installation is a group called "lock" this isn't
+# the case in lunar, so we switch it to root.
+sedit "s:0775 root lock:0775 root root:" tmpfiles.d/legacy.conf &&
- # Needed to migrate from udev module
- if module_installed udev; then
- lrm --upgrade udev
- fi &&
+default_config &&
+make &&
+prepare_install &&
- make install &&
+# Needed to migrate from udev module
+if module_installed udev; then
+ lrm --upgrade udev
+fi &&
- # Disable new naming scheme
- if [[ "$NEW_NAME_SCHEME" == "n" && ! -e /etc/udev/rules.d/80-net-name-slot.rules ]]; then
- echo "Disabled the new network interface naming scheme"
- ln -sf /dev/null /etc/udev/rules.d/80-net-name-slot.rules
- fi &&
+make install &&
- # Always install the legacy.conf file even if SysV compatibility isn't enabled
- install -m 0644 -o root -g root tmpfiles.d/legacy.conf /usr/lib/tmpfiles.d
+# Disable new naming scheme
+if [[ "$NEW_NAME_SCHEME" == "n" && ! -e /etc/udev/rules.d/80-net-name-slot.rules ]]; then
+ echo "Disabled the new network interface naming scheme"
+ ln -sf /dev/null /etc/udev/rules.d/80-net-name-slot.rules
+fi &&
-) > $C_FIFO 2>&1
+# Always install the legacy.conf file even if SysV compatibility isn't enabled
+install -m 0644 -o root -g root tmpfiles.d/legacy.conf /usr/lib/tmpfiles.d
View
2 system/systemd/DETAILS
@@ -5,7 +5,7 @@
SOURCE_VFY=sha1:e1a4e213d5d1e3498bca851347f2f07fdb9b4e1f
WEB_SITE=http://www.freedesktop.org/wiki/Software/systemd
ENTERED=20100919
- UPDATED=20131002
+ UPDATED=20131012
SHORT="A system and program management daemon"
PSAFE=no

0 comments on commit 80a1e02

Please sign in to comment.
Something went wrong with that request. Please try again.