Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

systemd: Version bumped to 197 #213

Merged
merged 2 commits into from

2 participants

@Ratler
Owner

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.

Ratler added some commits
@Ratler Ratler 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.
5c38275
@Ratler Ratler systemd: missed configure file 34883ff
@Ratler
Owner

Don't accept this pull request until we have merged the lunar connect() pull request. But please test this change!

@sofar sofar merged commit 81a6f3b into lunar-linux:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 9, 2013
  1. @Ratler

    systemd: Version bumped to 197

    Ratler authored
    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.
  2. @Ratler

    systemd: missed configure file

    Ratler authored
This page is out of date. Refresh to see the latest.
View
19 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
View
9 system/systemd/CONFIGURE
@@ -0,0 +1,9 @@
+NSCHEME=$(get_module_config NEW_NAME_SCHEME)
+if [ -z "$NSCHEME" ] && ip link | egrep -q '^[0-9]*: (eth|wlan|ppp|ath|tun|ra|usb|br)[0-9]+[^>]*[<,]UP[,>]'; then
+ message "${PROBLEM_COLOR}WARNING:${MESSAGE_COLOR} You are still using the old network interface naming scheme."
+ message "It is recommended to switch to the new naming scheme. Please note"
+ message "that reconfiguration of your network interfaces using the new"
+ message "device names are required!\n"
+
+ mquery NEW_NAME_SCHEME "Enable new naming scheme for network interfaces (RECOMMENDED)?" n
+fi
View
2  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"
View
6 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
View
3  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
Something went wrong with that request. Please try again.