[Lunar-commits] <moonbase-core> systemd: create systemd-journal group, BUILD clean up

Stefan Wold ratler at lunar-linux.org
Mon Oct 14 01:31:41 CEST 2013


commit 80a1e02709be130a7bd6907b8ffec0602618dfbb
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 12 Oct 2013 10:24:58 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/80a1e02709be130a7bd6907b8ffec0602618dfbb

systemd: create systemd-journal group, BUILD clean up
---
  system/systemd/BUILD   | +31/-32   
  system/systemd/DETAILS | +1/-1     
  2 files changed, 32 insertions(+), 33 deletions(-)

--- a/system/systemd/BUILD
+++ b/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
--- a/system/systemd/DETAILS
+++ b/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
 




More information about the Lunar-commits mailing list