summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2013-04-24 17:17:19 +0200
committerJonathan Bauer2013-04-24 17:17:19 +0200
commit5633488d5a50c58e7ad05fc186cef95af338506b (patch)
tree7aaffefc7cdae07a601dbc0ad8c040fdff883b54 /remote
parentcompile kernel on the reference system with our config requirements (diff)
parentdelete plymouth/data/etc/systemd... (diff)
downloadtm-scripts-5633488d5a50c58e7ad05fc186cef95af338506b.tar.gz
tm-scripts-5633488d5a50c58e7ad05fc186cef95af338506b.tar.xz
tm-scripts-5633488d5a50c58e7ad05fc186cef95af338506b.zip
merge?
Diffstat (limited to 'remote')
-rw-r--r--remote/modules/dbus/dbus.build7
-rw-r--r--remote/modules/dbus/dbus.conf3
-rw-r--r--remote/modules/dbus/dbus.conf.zypper3
-rw-r--r--remote/modules/kdm/kdm.conf.zypper6
-rw-r--r--remote/modules/pam/pam.conf.zypper14
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/plymouth-halt.service11
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/plymouth-kexec.service11
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/plymouth-poweroff.service11
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/plymouth-quit-wait.service8
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/plymouth-quit.service8
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/plymouth-read-write.service9
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/plymouth-reboot.service11
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/plymouth-start.service13
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/systemd-ask-password-plymouth.path13
-rw-r--r--remote/modules/plymouth/data/etc/systemd/system/systemd-ask-password-plymouth.service12
-rw-r--r--remote/modules/rsyslogd/rsyslogd.build30
-rw-r--r--remote/modules/rsyslogd/rsyslogd.conf.zypper6
-rw-r--r--remote/modules/systemd/systemd.build6
-rw-r--r--remote/modules/systemd/systemd.conf.zypper5
-rw-r--r--remote/modules/xorg/xorg.build1
-rw-r--r--remote/modules/xorg/xorg.conf.zypper26
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.build6
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.conf2
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper4
-rwxr-xr-xremote/setup_target19
l---------remote/targets/stage3.2-opensuse/consolekit1
26 files changed, 90 insertions, 156 deletions
diff --git a/remote/modules/dbus/dbus.build b/remote/modules/dbus/dbus.build
index 31c75fc9..7f6d663f 100644
--- a/remote/modules/dbus/dbus.build
+++ b/remote/modules/dbus/dbus.build
@@ -16,7 +16,8 @@ post_copy() {
# quick fix to get the unit files from the package
# moved them from lib/systemd to usr/lib/systemd
- cd "${BUILDDIR}"
- tarcopy lib/systemd "${TARGET_BUILD_DIR}"/usr
- cd - &> /dev/null
+ #cd "${BUILDDIR}"
+ #tarcopy lib/systemd "${TARGET_BUILD_DIR}"/usr
+ #cd - &> /dev/null
+ :
}
diff --git a/remote/modules/dbus/dbus.conf b/remote/modules/dbus/dbus.conf
index a8c97d9c..4a1bc6a5 100644
--- a/remote/modules/dbus/dbus.conf
+++ b/remote/modules/dbus/dbus.conf
@@ -5,5 +5,6 @@ REQUIRED_BINARIES=" dbus-cleanup-sockets
dbus-monitor
dbus-send
dbus-daemon-launch-helper"
-REQUIRED_DIRECTORIES=" /etc/dbus-1"
+REQUIRED_DIRECTORIES=" /etc/dbus-1
+ /lib/systemd"
REQUIRED_FILES=" /etc/default/dbus"
diff --git a/remote/modules/dbus/dbus.conf.zypper b/remote/modules/dbus/dbus.conf.zypper
index db7183c5..e34e47d8 100644
--- a/remote/modules/dbus/dbus.conf.zypper
+++ b/remote/modules/dbus/dbus.conf.zypper
@@ -5,5 +5,6 @@ REQUIRED_BINARIES=" dbus-cleanup-sockets
dbus-monitor
dbus-send
dbus-daemon-launch-helper"
-REQUIRED_DIRECTORIES=" /etc/dbus-1"
+REQUIRED_DIRECTORIES=" /etc/dbus-1
+ /usr/lib/systemd"
REQUIRED_FILES=""
diff --git a/remote/modules/kdm/kdm.conf.zypper b/remote/modules/kdm/kdm.conf.zypper
index 51e73fbf..23034356 100644
--- a/remote/modules/kdm/kdm.conf.zypper
+++ b/remote/modules/kdm/kdm.conf.zypper
@@ -10,5 +10,9 @@ REQUIRED_DIRECTORIES=" /etc/dbus-1
REQUIRED_FILES=""
REQUIRED_LIBRARIES=""
#non-standard vars
-REQUIRED_SYSTEM_FILES=""
+REQUIRED_SYSTEM_FILES=" /usr/share/icons/oxygen/16x16/actions/system-reboot.png
+ /usr/share/icons/oxygen/16x16/actions/system-shutdown.png
+ /usr/share/icons/oxygen/16x16/actions/dialog-cancel.png
+ /usr/share/icons/oxygen/index.theme
+ /usr/share/icons/default.kde4/index.theme"
diff --git a/remote/modules/pam/pam.conf.zypper b/remote/modules/pam/pam.conf.zypper
index 1562ec7f..311b7f6c 100644
--- a/remote/modules/pam/pam.conf.zypper
+++ b/remote/modules/pam/pam.conf.zypper
@@ -1,11 +1,9 @@
-REQUIRED_DEPENDENCIES=" pam_ldap pam pam-devel nss_ldap"
-REQUIRED_PACKAGES=" pam_ldap pam pam-devel nss_ldap"
+REQUIRED_DEPENDENCIES=" pam_ldap pam pam-devel nss_ldap nss-pam-ldapd pam-modules"
+REQUIRED_PACKAGES=" pam_ldap pam pam-devel nss_ldap nss-pam-ldapd pam-modules"
REQUIRED_DIRECTORIES=" /lib
/usr/lib
/etc/security"
-REQUIRED_SYSTEM_FILES=" /etc/pam.conf
- /etc/login.defs
- /etc/nsswitch.conf
- /etc/securetty
- /etc/default/locale
- /lib/security"
+REQUIRED_SYSTEM_FILES=" /etc/login.defs
+ /etc/securetty
+ /lib/security"
+
diff --git a/remote/modules/plymouth/data/etc/systemd/system/plymouth-halt.service b/remote/modules/plymouth/data/etc/systemd/system/plymouth-halt.service
deleted file mode 100644
index d01ba9b8..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/plymouth-halt.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Show Plymouth Halt Screen
-After=getty@tty1.service prefdm.service plymouth-start.service
-Before=halt.service
-DefaultDependencies=no
-ConditionKernelCommandLine=!plymouth.enable=0
-
-[Service]
-ExecStart=/sbin/plymouthd --mode=shutdown --attach-to-session
-ExecStartPost=-/bin/plymouth show-splash
-Type=forking
diff --git a/remote/modules/plymouth/data/etc/systemd/system/plymouth-kexec.service b/remote/modules/plymouth/data/etc/systemd/system/plymouth-kexec.service
deleted file mode 100644
index 1fe6e47f..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/plymouth-kexec.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Show Plymouth Reboot with kexec Screen
-After=getty@tty1.service prefdm.service plymouth-start.service
-Before=kexec.service
-DefaultDependencies=no
-ConditionKernelCommandLine=!plymouth.enable=0
-
-[Service]
-ExecStart=/sbin/plymouthd --mode=shutdown --attach-to-session
-ExecStartPost=-/bin/plymouth show-splash
-Type=forking
diff --git a/remote/modules/plymouth/data/etc/systemd/system/plymouth-poweroff.service b/remote/modules/plymouth/data/etc/systemd/system/plymouth-poweroff.service
deleted file mode 100644
index 49742f6e..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/plymouth-poweroff.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Show Plymouth Power Off Screen
-After=getty@tty1.service prefdm.service plymouth-start.service
-Before=poweroff.service
-DefaultDependencies=no
-ConditionKernelCommandLine=!plymouth.enable=0
-
-[Service]
-ExecStart=/sbin/plymouthd --mode=shutdown --attach-to-session
-ExecStartPost=-/bin/plymouth show-splash
-Type=forking
diff --git a/remote/modules/plymouth/data/etc/systemd/system/plymouth-quit-wait.service b/remote/modules/plymouth/data/etc/systemd/system/plymouth-quit-wait.service
deleted file mode 100644
index 56af45a7..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/plymouth-quit-wait.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Wait for Plymouth Boot Screen to Quit
-After=rc-local.service plymouth-start.service systemd-user-sessions.service
-
-[Service]
-ExecStart=-/bin/plymouth --wait
-Type=oneshot
-TimeoutSec=20
diff --git a/remote/modules/plymouth/data/etc/systemd/system/plymouth-quit.service b/remote/modules/plymouth/data/etc/systemd/system/plymouth-quit.service
deleted file mode 100644
index be3c1888..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/plymouth-quit.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Terminate Plymouth Boot Screen
-After=rc-local.service plymouth-start.service systemd-user-sessions.service
-
-[Service]
-ExecStart=-/bin/plymouth quit
-Type=oneshot
-TimeoutSec=20
diff --git a/remote/modules/plymouth/data/etc/systemd/system/plymouth-read-write.service b/remote/modules/plymouth/data/etc/systemd/system/plymouth-read-write.service
deleted file mode 100644
index caa3973b..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/plymouth-read-write.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Tell Plymouth To Write Out Runtime Data
-DefaultDependencies=no
-After=local-fs.target
-Before=sysinit.target
-
-[Service]
-ExecStart=-/bin/plymouth update-root-fs --read-write
-Type=oneshot
diff --git a/remote/modules/plymouth/data/etc/systemd/system/plymouth-reboot.service b/remote/modules/plymouth/data/etc/systemd/system/plymouth-reboot.service
deleted file mode 100644
index dbedd00d..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/plymouth-reboot.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Show Plymouth Reboot Screen
-After=getty@tty1.service prefdm.service plymouth-start.service
-Before=reboot.service
-DefaultDependencies=no
-ConditionKernelCommandLine=!plymouth.enable=0
-
-[Service]
-ExecStart=/sbin/plymouthd --mode=shutdown --attach-to-session
-ExecStartPost=-/bin/plymouth show-splash
-Type=forking
diff --git a/remote/modules/plymouth/data/etc/systemd/system/plymouth-start.service b/remote/modules/plymouth/data/etc/systemd/system/plymouth-start.service
deleted file mode 100644
index 09243001..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/plymouth-start.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Show Plymouth Boot Screen
-DefaultDependencies=no
-Wants=systemd-ask-password-plymouth.path
-After=systemd-vconsole-setup.service systemd-udev-settle.service
-Before=systemd-ask-password-plymouth.service
-ConditionKernelCommandLine=!plymouth.enable=0
-ConditionPathExists=!/run/plymouth/pid
-
-[Service]
-ExecStart=/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
-ExecStartPost=-/bin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/drm/card0/dev;-/bin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/graphics/fb0/dev; -/bin/plymouth show-splash
-Type=forking
diff --git a/remote/modules/plymouth/data/etc/systemd/system/systemd-ask-password-plymouth.path b/remote/modules/plymouth/data/etc/systemd/system/systemd-ask-password-plymouth.path
deleted file mode 100644
index c2ee4206..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/systemd-ask-password-plymouth.path
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Forward Password Requests to Plymouth Directory Watch
-Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
-DefaultDependencies=no
-Conflicts=shutdown.target
-After=plymouth-start.service
-Before=basic.target shutdown.target
-ConditionKernelCommandLine=!plymouth.enable=0
-ConditionPathExists=/run/plymouth/pid
-
-[Path]
-DirectoryNotEmpty=/run/systemd/ask-password
-MakeDirectory=yes
diff --git a/remote/modules/plymouth/data/etc/systemd/system/systemd-ask-password-plymouth.service b/remote/modules/plymouth/data/etc/systemd/system/systemd-ask-password-plymouth.service
deleted file mode 100644
index aa9ffc21..00000000
--- a/remote/modules/plymouth/data/etc/systemd/system/systemd-ask-password-plymouth.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Forward Password Requests to Plymouth
-Documentation=http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
-DefaultDependencies=no
-Conflicts=shutdown.target
-After=plymouth-start.service
-Before=shutdown.target
-ConditionKernelCommandLine=!plymouth.enable=0
-ConditionPathExists=/run/plymouth/pid
-
-[Service]
-ExecStart=/bin/systemd-tty-ask-password-agent --watch --plymouth
diff --git a/remote/modules/rsyslogd/rsyslogd.build b/remote/modules/rsyslogd/rsyslogd.build
index 43aa112d..cee5c7ed 100644
--- a/remote/modules/rsyslogd/rsyslogd.build
+++ b/remote/modules/rsyslogd/rsyslogd.build
@@ -3,30 +3,22 @@ fetch_source() {
}
build() {
+ COPYLIST="list_dpkg_output"
+ [ -e "$COPYLIST" ] && rm "$COPYLIST"
- FILELIST="list_binaries_and_files"
- BIN_LOCATION=$(which rsyslogd)
- if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ];
- then
- get_link_chain "${BIN_LOCATION}" >> "${FILELIST}"
- else
- perror "${BIN} not found on the system! Please install it."
- exit 1
- fi
-
- for ENTRY in ${REQUIRED_FILES} ${REQUIRED_DIRECTORIES}; do
- get_link_chain "${ENTRY}" >> "${FILELIST}"
- done
-
- tarcopy "$(cat ${FILELIST}|sort -u)" "${MODULE_BUILD_DIR}"
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+ return 0
}
-post_copy() {
+post_copy() {
+ # pwd = module's build dir
mkdir -p "${TARGET_BUILD_DIR}"/var/spool/rsyslog
-
- [ -e /lib/systemd/system/rsyslog.service ] \
- && cp /lib/systemd/system/rsyslog.service "${TARGET_BUILD_DIR}"/etc/systemd/system/
+
+ local RSL="$(find /usr/lib/ /lib/ -name rsyslog.service | head -1)"
+ [ -z "$RSL" -o ! -e "$RSL" ] && perror "rsyslog.service not found on vorlage"
+ cp -L "$RSL" "$TARGET_BUILD_DIR/etc/systemd/system/"
sed -i 's/\/bin\/systemctl/-\/usr\/bin\/systemctl/g' "${TARGET_BUILD_DIR}"/etc/systemd/system/rsyslog.service
sed -i 's/^Before=udev/#&/' "${TARGET_BUILD_DIR}"/etc/systemd/system/rsyslog.service
diff --git a/remote/modules/rsyslogd/rsyslogd.conf.zypper b/remote/modules/rsyslogd/rsyslogd.conf.zypper
index c41d7922..a70940e8 100644
--- a/remote/modules/rsyslogd/rsyslogd.conf.zypper
+++ b/remote/modules/rsyslogd/rsyslogd.conf.zypper
@@ -1,2 +1,6 @@
+REQUIRED_BINARIES=" rsyslogd
+ rsyslog-service-prepare"
+REQUIRED_PACKAGES=" rsyslog"
REQUIRED_DIRECTORIES=" /etc/rsyslog.d
- /lib/rsyslog"
+ /usr/lib/rsyslog
+ /var/run"
diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build
index ee74d53a..fb56f231 100644
--- a/remote/modules/systemd/systemd.build
+++ b/remote/modules/systemd/systemd.build
@@ -8,9 +8,9 @@ fetch_source () {
build () {
#build libkmod
cd "${MODULE_DIR}/src/$LIBKMOD_VERSION"
- ./configure
- make || perror "make failed."
- make install || perror "make install failed."
+ ./configure || perror "./configure kmod failed."
+ make || perror "kmod make failed."
+ make install || perror "kmod make install failed."
cd - &> /dev/null
#build systemd
diff --git a/remote/modules/systemd/systemd.conf.zypper b/remote/modules/systemd/systemd.conf.zypper
index d76d008e..8fd38a30 100644
--- a/remote/modules/systemd/systemd.conf.zypper
+++ b/remote/modules/systemd/systemd.conf.zypper
@@ -1,11 +1,12 @@
-VERSION=systemd-197
+VERSION=systemd-201
URL=http://www.freedesktop.org/software/systemd/${VERSION}.tar.xz
REQUIRED_DEPENDENCIES=" intltool
gperf
pkg-config
libcap-devel
libudev-devel
- dbus-1-devel"
+ dbus-1-devel
+ libxslt-tools"
REQUIRED_BINARIES=" hostnamectl
journalctl
localectl
diff --git a/remote/modules/xorg/xorg.build b/remote/modules/xorg/xorg.build
index 34750ef5..5b1b0847 100644
--- a/remote/modules/xorg/xorg.build
+++ b/remote/modules/xorg/xorg.build
@@ -10,6 +10,7 @@ build() {
list_packet_files >> "$COPYLIST"
tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+ pdebug ....
}
post_copy() {
diff --git a/remote/modules/xorg/xorg.conf.zypper b/remote/modules/xorg/xorg.conf.zypper
index 8d02136c..22a6bdd8 100644
--- a/remote/modules/xorg/xorg.conf.zypper
+++ b/remote/modules/xorg/xorg.conf.zypper
@@ -3,15 +3,31 @@ REQUIRED_PACKAGES=" xorg-x11
xorg-x11-driver-input
xorg-x11-driver-video
xorg-x11-driver-video-nouveau
- xorg-x11-driver-video-radeonhd
+ xf86-video-vmware
+ xf86-video-ati
+ xf86-video-nv
+ xf86-video-intel
+ xf86-video-i128
+ xf86-video-geode
+ xf86-video-vesa
+ xf86-video-fbdev
+ xf86-video-modesetting
+ xf86-input-vmmouse
+ xf86-input-wacom
+ xf86-input-evdev
+ xf86-input-joystick
+ xf86-input-keyboard
+ xf86-input-mouse
+ xf86-input-synaptics
+ xf86-input-void
xkeyboard-config
- dejavu
+ xkbcomp
+ dejavu-fonts
kdm-branding-openSUSE"
REQUIRED_BINARIES=" Xorg
gtf
cvt
X
- xkbcomp
xkbvleds
xkbprint
setxkbmap
@@ -19,8 +35,8 @@ REQUIRED_BINARIES=" Xorg
xkbbell
xkbevd
vmmouse_detect"
-REQUIRED_DIRECTORIES=" /lib/udev
- /usr/lib
+REQUIRED_DIRECTORIES=" /usr/lib
+ /usr/bin
/usr/share/X11
/usr/share/fonts"
REQUIRED_FILES="/var/adm/fillup-templates/sysconfig.displaymanager-kdm"
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
index e7c1d5f3..164a3464 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
@@ -4,6 +4,12 @@ fetch_source() {
}
build() {
+ if [ ! -z "$REQUIRED_PACKAGES" ]; then
+ COPYLIST="list_dpkg_output"
+ [ -e "${COPYLIST}" ] && rm "${COPYLIST}"
+ list_packet_files >> "${COPYLIST}"
+ tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
+ fi
FILELIST="list_binaries_and_files"
[ -e "${FILELIST}" ] && rm "${FILELIST}"
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
index d2c1e5a9..d421cf1b 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
@@ -49,8 +49,6 @@ REQUIRED_FILES=" /etc/environment
/etc/localtime
/etc/login.defs
/etc/securetty
- /etc/default/locale
- /etc/default/aufs
/etc/protocols
/etc/services
/etc/networks
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper
index ec489fd1..a8a8c1b3 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper
@@ -1,4 +1,6 @@
+pinfo "If aufs install fails, run zypper addrepo http://jftp.inai.de/openSUSE_12.3/ j.eng-i586"
REQUIRED_DEPENDENCIES="nfs-client aufs squashfs"
+REQUIRED_PACKAGES="timezone"
REQUIRED_BINARIES=" bash
agetty
cat
@@ -47,8 +49,6 @@ REQUIRED_FILES=" /etc/environment
/etc/login.defs
/etc/nsswitch.conf
/etc/securetty
- /etc/default/locale
- /etc/default/aufs
/etc/protocols
/etc/services
/etc/networks
diff --git a/remote/setup_target b/remote/setup_target
index c070f1fc..992390a9 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -170,6 +170,9 @@ generate_target() {
process_module "$1"
shift
done
+
+ post_process_target
+
pinfo "Target completed. Total size: $(du -bsh "${TARGET_BUILD_DIR}" | awk 'END {print $1}')"
TOOL_STR=""
}
@@ -231,6 +234,22 @@ process_module() {
fi
}
+post_process_target() {
+
+local TOOL_STR="$TOOL_STR post_process_target:"
+
+#move systemd files from /lib to /etc/lib
+pinfo "move systemd files from /lib/systemd to /etc/systemd"
+
+if [ -d "${TARGET_BUILD_DIR}/lib" ]; then
+ cd "${TARGET_BUILD_DIR}/lib"
+ tarcopy "systemd" "${TARGET_BUILD_DIR}/etc"
+ cd - &> /dev/null
+ rm -r "${TARGET_BUILD_DIR}/lib/systemd"
+fi
+
+}
+
clean_modules() {
TARGET=$1
diff --git a/remote/targets/stage3.2-opensuse/consolekit b/remote/targets/stage3.2-opensuse/consolekit
deleted file mode 120000
index 261968c7..00000000
--- a/remote/targets/stage3.2-opensuse/consolekit
+++ /dev/null
@@ -1 +0,0 @@
-../../modules/consolekit \ No newline at end of file