[Lunar-commits] <moonbase-core> systemd: Version bumped to 197

Stefan Wold ratler at lunar-linux.org
Wed Jan 9 21:54:21 CET 2013


commit 5c3827558ded566a5b23b32ab7d3df175ceaf777
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Wed, 09 Jan 2013 12:54:21 -0800
URL: https://github.com/lunar-linux/moonbase-core/commit/5c3827558ded566a5b23b32ab7d3df175ceaf777

systemd: Version bumped to 197

This release brings a new network interface naming scheme
with udev. Added a check and question for people still using
legacy interface names to switch to the new scheme, defaults
to 'n' for unattended updates.
---
  system/systemd/BUILD        | +10/-9    
  system/systemd/DEPENDS      | +1/-1     
  system/systemd/DETAILS      | +3/-3     
  system/systemd/POST_INSTALL | +3/-0     
  4 files changed, 17 insertions(+), 13 deletions(-)

--- a/system/systemd/BUILD
+++ b/system/systemd/BUILD
@@ -1,9 +1,10 @@
 (
 
-  OPTS+=" --with-distro=other \
-          --libexecdir=/usr/lib \
+  OPTS+=" --libexecdir=/usr/lib \
           --enable-split-usr \
-          --disable-tcpwrap"
+          --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 &&
@@ -19,9 +20,6 @@
   # the case in lunar, so we switch it to root.
   sedit "s:0775 root lock:0775 root root:" tmpfiles.d/legacy.conf &&
 
-  # loadkeys and setfont are in /usr/bin
-  sedit 's:"/bin/loadkeys:"/usr/bin/loadkeys:;s:"/bin/setfont:"/usr/bin/setfont:' Makefile.am Makefile.in &&
-
   default_config &&
   make &&
   prepare_install &&
@@ -31,11 +29,14 @@
     lrm --upgrade udev
   fi &&
 
-  # systemd is no longer PSAFE during the make install phase due to install order of some libs (systemd-journal).
-  # Please check if this is fixed with the next release.
-  unset MAKES &&
   make install &&
 
+  # 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 &&
+
   # 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/DEPENDS
+++ b/system/systemd/DEPENDS
@@ -8,4 +8,4 @@ depends intltool
 depends gperf
 
 optional_depends "cryptsetup" "--enable-libcryptsetup" "--disable-libcryptsetup" "for Device-mapper crypto encryption"
-optional_depends "Linux-PAM" "--with-pamlibdir=/lib/security" "--disable-pam"
+optional_depends "Linux-PAM" "--with-pamlibdir=/lib/security" "--disable-pam" "for PAM support"
--- a/system/systemd/DETAILS
+++ b/system/systemd/DETAILS
@@ -1,11 +1,11 @@
           MODULE=systemd
-         VERSION=196
+         VERSION=197
           SOURCE=$MODULE-$VERSION.tar.xz
       SOURCE_URL=http://www.freedesktop.org/software/systemd
-      SOURCE_VFY=sha1:65f6844c2d2a5e6b7ed1f77bb9f457b04774c74f
+      SOURCE_VFY=sha1:1b0b4e0fa97c9cf143f17838aa2da34d980d86d4
         WEB_SITE=http://www.freedesktop.org/wiki/Software/systemd
          ENTERED=20100919
-         UPDATED=20121231
+         UPDATED=20130109
            SHORT="A system and program management daemon"
 
 cat << EOF
--- a/system/systemd/POST_INSTALL
+++ b/system/systemd/POST_INSTALL
@@ -1,6 +1,9 @@
 # generate the machine id
 /usr/bin/systemd-machine-id-setup
 
+# Remove obsolete 70-persistent-net.rules
+[ -f /etc/udev/rules.d/70-persistent-net.rules ] && rm /etc/udev/rules.d/70-persistent-net.rules
+
 # systemd readyness checks
 if [ ! -f /etc/machine-id ]; then
   SYSTEMD_ERROR=1




More information about the Lunar-commits mailing list