[Lunar-commits] <moonbase-core> systemd: fix some issues with the bump to 216

Stefan Wold ratler at lunar-linux.org
Sat Sep 20 12:34:06 CEST 2014


commit d27f40cb29b32aa8c19c75f39c5bbc766d1ba437
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 20 Sep 2014 12:32:47 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/d27f40cb29b32aa8c19c75f39c5bbc766d1ba437

systemd: fix some issues with the bump to 216

The compat patch is still needed, please do not remove it!
---
  system/systemd/BUILD     | +0/-2     
  system/systemd/DEPENDS   | +2/-2     
  system/systemd/DETAILS   | +4/-1     
  system/systemd/PRE_BUILD | +5/-3     
  4 files changed, 11 insertions(+), 8 deletions(-)

--- a/system/systemd/BUILD
+++ b/system/systemd/BUILD
@@ -1,11 +1,9 @@
 OPTS+=" --libexecdir=/usr/lib  \
         --enable-split-usr     \
-        --enable-gudev         \
         --disable-terminal     \
         --disable-audit        \
         --disable-ima          \
         --disable-kdbus        \
-        --enable-introspection \
         --with-kbd-loadkeys=/usr/bin/loadkeys \
         --with-kbd-setfont=/usr/bin/setfont"
 
--- a/system/systemd/DEPENDS
+++ b/system/systemd/DEPENDS
@@ -5,17 +5,17 @@ depends intltool
 depends gperf
 depends util-linux
 depends kbd
-depends gobject-introspection
 
 optional_depends "acl"           "--enable-acl"                   "--disable-acl"           "for ACL support"
 optional_depends "cryptsetup"    "--enable-libcryptsetup"         "--disable-libcryptsetup" "for device-mapper crypto encryption"
 optional_depends "Linux-PAM"     "--with-pamlibdir=/lib/security" "--disable-pam"           "for PAM support"
 optional_depends "docbook-xsl"   ""                               "--disable-manpages"      "for manpages"
 optional_depends "docbook-xml"   ""                               "--disable-manpages"      "for manpages"
+optional_depends "glib-2"        "--enable-gudev"                 "--disable-gudev"         "for Gobject libudev support"
+optional_depends "gobject-introspection" "--enable-introspection" "--disable-introspection" "for introspection support"
 optional_depends "libgcrypt"     "--enable-gcrypt"                "--disable-gcrypt"        "for gcrypt support"
 optional_depends "elfutils"      "--enable-elfutils"              "--disable-elfutils"      "for elfutils support"
 optional_depends "libseccomp"    "--enable-seccomp"               "--disable-seccomp"       "for seccomp support"
 optional_depends "libmicrohttpd" "--enable-microhttpd"            "--disable-microhttpd"    "for microhttpd support"
 optional_depends "polkit"        "--enable-polkit"                "--disable-polkit"        "for user policy support"
 optional_depends "xz"            "--enable-xz"                    "--disable-xz"            "for xz compression support"
-#optional_depends "lz4"           "--enable-lz4"                   "--disable-lz4"           "for lz4 compression support"
--- a/system/systemd/DETAILS
+++ b/system/systemd/DETAILS
@@ -1,11 +1,14 @@
           MODULE=systemd
          VERSION=216
           SOURCE=$MODULE-$VERSION.tar.xz
+         SOURCE2=systemd-216-compat-1.patch
       SOURCE_URL=http://www.freedesktop.org/software/systemd
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha256:945d3db7d840d6ffe98aa68394428e13317161ae79905397faab6671619728f3
+     SOURCE2_VFY=sha256:e8a73f26fea0a3cada63c514eda690fb6a7b2f59533f8a14bb3834597539c65b
         WEB_SITE=http://www.freedesktop.org/wiki/Software/systemd
          ENTERED=20100919
-         UPDATED=20140822
+         UPDATED=20140920
            SHORT="A system and program management daemon"
 PSAFE=no
 
--- a/system/systemd/PRE_BUILD
+++ b/system/systemd/PRE_BUILD
@@ -25,12 +25,14 @@ if [ -n "$FAIL" ]; then
   fi
 fi
 
-if mountpoint -q /usr; then
+if mountpoint -q /usr && ! module_installed dracut; then
   message "${PROBLEM_COLOR}WARNING: ${MESSAGE_COLOR}You appear to have an /usr partition mounted. If you continue this"
-  message "installation your computer will NOT be able to boot properly. This will be supported soon!${DEFAULT_COLOR}"
+  message "installation your computer might NOT be able to boot properly. Installing dracut to get initrd support"
+  message "will take care of the issue.${DEFAULT_COLOR}"
   if ! query "Ignore this warning and continue installation?" n ; then
     exit 1
   fi
 fi
 
-default_pre_build
+default_pre_build &&
+patch_it $SOURCE2 1




More information about the Lunar-commits mailing list