summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
Diffstat (limited to 'remote')
-rw-r--r--remote/modules/consolekit/consolekit.conf2
-rw-r--r--remote/modules/consolekit/consolekit.conf.zypper2
-rw-r--r--remote/modules/dbus/dbus.build6
-rw-r--r--remote/modules/dbus/dbus.conf2
-rw-r--r--remote/modules/dbus/dbus.conf.zypper3
-rw-r--r--remote/modules/hwinfo/hwinfo.conf2
-rw-r--r--remote/modules/kdm/kdm.conf4
-rw-r--r--remote/modules/kdm/kdm.conf.zypper4
-rw-r--r--remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.conf4
-rw-r--r--remote/modules/ldm/ldm.conf4
-rw-r--r--remote/modules/openbox/openbox.build4
-rw-r--r--remote/modules/openbox/openbox.conf11
-rw-r--r--remote/modules/openbox/openbox.conf.zypper5
-rw-r--r--remote/modules/pam/pam.conf4
-rw-r--r--remote/modules/pam/pam.conf.zypper4
-rw-r--r--remote/modules/plymouth/plymouth.conf2
-rw-r--r--remote/modules/plymouth/plymouth.conf.zypper2
-rw-r--r--remote/modules/policykit-src/policykit.conf4
-rw-r--r--remote/modules/policykit/policykit.conf4
-rw-r--r--remote/modules/policykit/policykit.conf.zypper4
-rw-r--r--remote/modules/rsyslogd/rsyslogd.conf2
-rw-r--r--remote/modules/rsyslogd/rsyslogd.conf.zypper2
-rw-r--r--remote/modules/systemd/data/etc/systemd/system/debug-shell.service3
-rw-r--r--remote/modules/systemd/systemd.conf2
-rw-r--r--remote/modules/systemd/systemd.conf.zypper75
-rw-r--r--remote/modules/vmchooser/vmchooser.conf2
-rw-r--r--remote/modules/vmchooser/vmchooser.conf.zypper5
-rw-r--r--remote/modules/vmplayer/vmplayer.conf4
-rw-r--r--remote/modules/xorg/xorg.conf2
-rw-r--r--remote/modules/xorg/xorg.conf.zypper2
-rw-r--r--remote/rootfs/rootfs-stage32/data/etc/issue12
-rw-r--r--remote/rootfs/rootfs-stage32/data/etc/systemd/system/mount-tmp.service7
-rwxr-xr-xremote/rootfs/rootfs-stage32/data/opt/openslx/bin/analyse-disk105
-rwxr-xr-xremote/rootfs/rootfs-stage32/data/opt/openslx/bin/disk-tmp24
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.build2
-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_target2
l---------remote/targets/stage32-opensuse/openbox1
l---------remote/targets/stage32-opensuse/vmchooser1
40 files changed, 203 insertions, 133 deletions
diff --git a/remote/modules/consolekit/consolekit.conf b/remote/modules/consolekit/consolekit.conf
index 38f1718f..afb573ce 100644
--- a/remote/modules/consolekit/consolekit.conf
+++ b/remote/modules/consolekit/consolekit.conf
@@ -1,4 +1,4 @@
-REQUIRED_PACKAGES="consolekit"
+REQUIRED_CONTENT_PACKAGES="consolekit"
REQUIRED_BINARIES=" ck-history
ck-launch-session
ck-list-sessions
diff --git a/remote/modules/consolekit/consolekit.conf.zypper b/remote/modules/consolekit/consolekit.conf.zypper
index c528ddc0..394ee0da 100644
--- a/remote/modules/consolekit/consolekit.conf.zypper
+++ b/remote/modules/consolekit/consolekit.conf.zypper
@@ -1,4 +1,4 @@
-REQUIRED_PACKAGES="ConsoleKit"
+REQUIRED_CONTENT_PACKAGES="ConsoleKit"
REQUIRED_BINARIES=" ck-history
ck-launch-session
ck-list-sessions
diff --git a/remote/modules/dbus/dbus.build b/remote/modules/dbus/dbus.build
index 7f6d663f..bcab63b0 100644
--- a/remote/modules/dbus/dbus.build
+++ b/remote/modules/dbus/dbus.build
@@ -13,11 +13,5 @@ build() {
}
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
:
}
diff --git a/remote/modules/dbus/dbus.conf b/remote/modules/dbus/dbus.conf
index 4a1bc6a5..c8fa050d 100644
--- a/remote/modules/dbus/dbus.conf
+++ b/remote/modules/dbus/dbus.conf
@@ -1,4 +1,4 @@
-REQUIRED_PACKAGES="dbus"
+REQUIRED_CONTENT_PACKAGES="dbus"
REQUIRED_BINARIES=" dbus-cleanup-sockets
dbus-daemon
dbus-uuidgen
diff --git a/remote/modules/dbus/dbus.conf.zypper b/remote/modules/dbus/dbus.conf.zypper
index e34e47d8..ce3d5d08 100644
--- a/remote/modules/dbus/dbus.conf.zypper
+++ b/remote/modules/dbus/dbus.conf.zypper
@@ -1,4 +1,4 @@
-REQUIRED_PACKAGES="dbus-1"
+REQUIRED_CONTENT_PACKAGES="dbus-1"
REQUIRED_BINARIES=" dbus-cleanup-sockets
dbus-daemon
dbus-uuidgen
@@ -8,3 +8,4 @@ REQUIRED_BINARIES=" dbus-cleanup-sockets
REQUIRED_DIRECTORIES=" /etc/dbus-1
/usr/lib/systemd"
REQUIRED_FILES=""
+
diff --git a/remote/modules/hwinfo/hwinfo.conf b/remote/modules/hwinfo/hwinfo.conf
index 2d3db99d..c254fc71 100644
--- a/remote/modules/hwinfo/hwinfo.conf
+++ b/remote/modules/hwinfo/hwinfo.conf
@@ -1,3 +1,3 @@
REQUIRED_BINARIES=" hwinfo"
-REQUIRED_DEPENDENCIES=" flex
+REQUIRED_INSTALLED_PACKAGES=" flex
hwinfo"
diff --git a/remote/modules/kdm/kdm.conf b/remote/modules/kdm/kdm.conf
index a6f0161e..d59f0009 100644
--- a/remote/modules/kdm/kdm.conf
+++ b/remote/modules/kdm/kdm.conf
@@ -1,6 +1,6 @@
-REQUIRED_DEPENDENCIES=" kdm
+REQUIRED_INSTALLED_PACKAGES=" kdm
kde-workspace-kgreet-plugins"
-REQUIRED_PACKAGES=" kdm
+REQUIRED_CONTENT_PACKAGES=" kdm
kde-workspace-kgreet-plugins
libicu48
libxcursor1
diff --git a/remote/modules/kdm/kdm.conf.zypper b/remote/modules/kdm/kdm.conf.zypper
index 23034356..a2266c52 100644
--- a/remote/modules/kdm/kdm.conf.zypper
+++ b/remote/modules/kdm/kdm.conf.zypper
@@ -1,5 +1,5 @@
-REQUIRED_DEPENDENCIES="kdm"
-REQUIRED_PACKAGES="kdm kde4-kgreeter-plugins"
+REQUIRED_INSTALLED_PACKAGES="kdm"
+REQUIRED_CONTENT_PACKAGES="kdm kde4-kgreeter-plugins"
REQUIRED_BINARIES=""
REQUIRED_DIRECTORIES=" /etc/dbus-1
/usr/lib/kde4
diff --git a/remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.conf b/remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.conf
index 58d189b7..e9349002 100644
--- a/remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.conf
+++ b/remote/modules/ldm-gtk-greeter/ldm-gtk-greeter.conf
@@ -1,7 +1,7 @@
VERSION=lightdm-gtk-greeter-1.3.1
URL=https://launchpad.net/lightdm-gtk-greeter/1.4/1.3.1/+download/lightdm-gtk-greeter-1.3.1.tar.gz
-REQUIRED_DEPENDENCIES="gtk+-3.0 liblightdm-gobject-1-dev libgdk-pixbuf2.0-0 libpango1.0-0 librsvg2-common shared-mime-info gnome-themes-standard"
-REQUIRED_PACKAGES="libgdk-pixbuf2.0-0 libpango1.0-0 librsvg2-common shared-mime-info gnome-themes-standard"
+REQUIRED_INSTALLED_PACKAGES="gtk+-3.0 liblightdm-gobject-1-dev libgdk-pixbuf2.0-0 libpango1.0-0 librsvg2-common shared-mime-info gnome-themes-standard"
+REQUIRED_CONTENT_PACKAGES="libgdk-pixbuf2.0-0 libpango1.0-0 librsvg2-common shared-mime-info gnome-themes-standard"
REQUIRED_BINARIES="lightdm-gtk-greeter"
REQUIRED_DIRECTORIES="/usr/lib /usr/share/lightdm-gtk-greeter /usr/share/mime /usr/share/xgreeters /usr/share/icons /usr/share/themes /etc /usr/bin"
REQUIRED_FILES="/etc/lightdm/lightdm-gtk-greeter.conf"
diff --git a/remote/modules/ldm/ldm.conf b/remote/modules/ldm/ldm.conf
index d40aab7f..74ab9450 100644
--- a/remote/modules/ldm/ldm.conf
+++ b/remote/modules/ldm/ldm.conf
@@ -1,7 +1,7 @@
VERSION=lightdm-1.4.0
URL=https://launchpad.net/lightdm/1.4/1.4.0/+download/lightdm-1.4.0.tar.gz
-REQUIRED_DEPENDENCIES="libpam-dev itstool liblightdm-gobject-1-dev"
-REQUIRED_PACKAGES=""
+REQUIRED_INSTALLED_PACKAGES="libpam-dev itstool liblightdm-gobject-1-dev"
+REQUIRED_CONTENT_PACKAGES=""
REQUIRED_BINARIES="dm-tool lightdm lightdm-set-defaults gdmflexiserver lightdm-guest-session-wrapper lightdm-set-defaults"
REQUIRED_DIRECTORIES="/etc /lib"
REQUIRED_FILES=""
diff --git a/remote/modules/openbox/openbox.build b/remote/modules/openbox/openbox.build
index 3e56fbfb..51c6beec 100644
--- a/remote/modules/openbox/openbox.build
+++ b/remote/modules/openbox/openbox.build
@@ -7,7 +7,9 @@ build() {
[ -e "$COPYLIST" ] && rm "$COPYLIST"
list_packet_files >> "$COPYLIST"
- tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+ # FIXME: Hack: openSUSE's rpm -ql lilsts non-existant pango.modules, which makes
+ # tarcopy fail. We probably can't fix that, so remove it using grep....
+ tarcopy "$(cat "$COPYLIST" | grep -v 'pango\.modules$' | sort -u)" "${MODULE_BUILD_DIR}"
return 0
}
diff --git a/remote/modules/openbox/openbox.conf b/remote/modules/openbox/openbox.conf
index 67c63c4c..2dc5da54 100644
--- a/remote/modules/openbox/openbox.conf
+++ b/remote/modules/openbox/openbox.conf
@@ -1,12 +1,11 @@
-REQUIRED_DEPENDENCIES=" openbox
+REQUIRED_INSTALLED_PACKAGES=" openbox
libpango1.0-0"
-REQUIRED_PACKAGES=" openbox
+REQUIRED_CONTENT_PACKAGES=" openbox
libpango1.0-0"
REQUIRED_BINARIES=" openbox
openbox-session"
REQUIRED_FILES=" /usr/share/xsessions/openbox.desktop"
REQUIRED_DIRECTORIES=" /etc
- /usr/lib/openbox
- /usr/share/themes/Clearlooks
- /usr/lib/$ARCH_TRIPLET/pango/"
-
+ /usr/lib
+ /usr/share/themes/Clearlooks"
+
diff --git a/remote/modules/openbox/openbox.conf.zypper b/remote/modules/openbox/openbox.conf.zypper
new file mode 100644
index 00000000..63e5e25d
--- /dev/null
+++ b/remote/modules/openbox/openbox.conf.zypper
@@ -0,0 +1,5 @@
+REQUIRED_INSTALLED_PACKAGES=" openbox
+ libpango-1_0-0"
+REQUIRED_CONTENT_PACKAGES=" openbox
+ libpango-1_0-0"
+
diff --git a/remote/modules/pam/pam.conf b/remote/modules/pam/pam.conf
index 0afd3ec3..2d334b52 100644
--- a/remote/modules/pam/pam.conf
+++ b/remote/modules/pam/pam.conf
@@ -1,7 +1,7 @@
-REQUIRED_DEPENDENCIES=" libpam-ldap
+REQUIRED_INSTALLED_PACKAGES=" libpam-ldap
libnss-ldap
libpam-script"
-REQUIRED_PACKAGES=" libpam0g
+REQUIRED_CONTENT_PACKAGES=" libpam0g
libpam-modules
libpam-ck-connector
libpam-cap
diff --git a/remote/modules/pam/pam.conf.zypper b/remote/modules/pam/pam.conf.zypper
index ab0039ff..191850db 100644
--- a/remote/modules/pam/pam.conf.zypper
+++ b/remote/modules/pam/pam.conf.zypper
@@ -1,5 +1,5 @@
-REQUIRED_DEPENDENCIES=" pam_ldap pam pam-devel nss_ldap pam-modules"
-REQUIRED_PACKAGES=" pam_ldap pam pam-devel nss_ldap pam-modules"
+REQUIRED_INSTALLED_PACKAGES=" pam_ldap pam pam-devel nss_ldap pam-modules"
+REQUIRED_CONTENT_PACKAGES=" pam_ldap pam pam-devel nss_ldap pam-modules nss-mdns"
REQUIRED_DIRECTORIES=" /lib
/usr/lib
/etc/security"
diff --git a/remote/modules/plymouth/plymouth.conf b/remote/modules/plymouth/plymouth.conf
index 026aff9c..0e3e6eda 100644
--- a/remote/modules/plymouth/plymouth.conf
+++ b/remote/modules/plymouth/plymouth.conf
@@ -1,6 +1,6 @@
VERSION=plymouth-0.8.6.1
URL=http://www.freedesktop.org/software/plymouth/releases/${VERSION}.tar.bz2
-REQUIRED_DEPENDENCIES=" libpng-dev
+REQUIRED_INSTALLED_PACKAGES=" libpng-dev
libpango1.0-dev
libcairo-dev
libgtk2.0-dev
diff --git a/remote/modules/plymouth/plymouth.conf.zypper b/remote/modules/plymouth/plymouth.conf.zypper
index 9166c137..ad9052e5 100644
--- a/remote/modules/plymouth/plymouth.conf.zypper
+++ b/remote/modules/plymouth/plymouth.conf.zypper
@@ -1,6 +1,6 @@
VERSION=plymouth-0.8.6.1
URL=http://www.freedesktop.org/software/plymouth/releases/${VERSION}.tar.bz2
-REQUIRED_DEPENDENCIES=" libpng12-devel
+REQUIRED_INSTALLED_PACKAGES=" libpng12-devel
pango-devel
cairo-devel
gtk2-devel
diff --git a/remote/modules/policykit-src/policykit.conf b/remote/modules/policykit-src/policykit.conf
index 73b04015..3e74c383 100644
--- a/remote/modules/policykit-src/policykit.conf
+++ b/remote/modules/policykit-src/policykit.conf
@@ -1,7 +1,7 @@
VERSION=polkit-0.110
URL=http://www.freedesktop.org/software/polkit/releases/polkit-0.110.tar.gz
-REQUIRED_DEPENDENCIES="libmozjs185-1.0"
-REQUIRED_PACKAGES="libmozjs185-1.0"
+REQUIRED_INSTALLED_PACKAGES="libmozjs185-1.0"
+REQUIRED_CONTENT_PACKAGES="libmozjs185-1.0"
REQUIRED_BINARIES=""
REQUIRED_DIRECTORIES="/bin /etc /lib /usr/share/dbus-1 /usr/share/polkit-1"
REQUIRED_FILES=""
diff --git a/remote/modules/policykit/policykit.conf b/remote/modules/policykit/policykit.conf
index cf04281d..f13fe2c0 100644
--- a/remote/modules/policykit/policykit.conf
+++ b/remote/modules/policykit/policykit.conf
@@ -1,5 +1,5 @@
-REQUIRED_DEPENDENCIES="libmozjs185-1.0"
-REQUIRED_PACKAGES="libmozjs185-1.0 policykit-1"
+REQUIRED_INSTALLED_PACKAGES="libmozjs185-1.0"
+REQUIRED_CONTENT_PACKAGES="libmozjs185-1.0 policykit-1"
REQUIRED_BINARIES=""
REQUIRED_DIRECTORIES=" /etc/pam.d /etc/dbus-1 /etc/polkit-1
/usr/bin
diff --git a/remote/modules/policykit/policykit.conf.zypper b/remote/modules/policykit/policykit.conf.zypper
index 5d334b1e..87c0014e 100644
--- a/remote/modules/policykit/policykit.conf.zypper
+++ b/remote/modules/policykit/policykit.conf.zypper
@@ -1,5 +1,5 @@
-REQUIRED_DEPENDENCIES="libmozjs185-1_0"
-REQUIRED_PACKAGES="libmozjs185-1_0 polkit"
+REQUIRED_INSTALLED_PACKAGES="libmozjs185-1_0"
+REQUIRED_CONTENT_PACKAGES="libmozjs185-1_0 polkit"
REQUIRED_BINARIES=""
REQUIRED_DIRECTORIES=" /etc/pam.d /etc/dbus-1 /etc/polkit-1
/usr/bin
diff --git a/remote/modules/rsyslogd/rsyslogd.conf b/remote/modules/rsyslogd/rsyslogd.conf
index 602a6050..d0d46e77 100644
--- a/remote/modules/rsyslogd/rsyslogd.conf
+++ b/remote/modules/rsyslogd/rsyslogd.conf
@@ -1,4 +1,4 @@
-REQUIRED_PACKAGES=" rsyslog"
+REQUIRED_CONTENT_PACKAGES=" rsyslog"
REQUIRED_BINARIES=" rsyslogd"
REQUIRED_FILES=" /etc/rsyslog.conf"
REQUIRED_DIRECTORIES=" /usr/lib/rsyslog"
diff --git a/remote/modules/rsyslogd/rsyslogd.conf.zypper b/remote/modules/rsyslogd/rsyslogd.conf.zypper
index 782503e2..0a61d61b 100644
--- a/remote/modules/rsyslogd/rsyslogd.conf.zypper
+++ b/remote/modules/rsyslogd/rsyslogd.conf.zypper
@@ -1,3 +1,3 @@
REQUIRED_BINARIES=" rsyslogd
rsyslog-service-prepare"
-REQUIRED_PACKAGES=" rsyslog"
+REQUIRED_CONTENT_PACKAGES=" rsyslog"
diff --git a/remote/modules/systemd/data/etc/systemd/system/debug-shell.service b/remote/modules/systemd/data/etc/systemd/system/debug-shell.service
index f702064d..fedd138d 100644
--- a/remote/modules/systemd/data/etc/systemd/system/debug-shell.service
+++ b/remote/modules/systemd/data/etc/systemd/system/debug-shell.service
@@ -12,8 +12,7 @@ DefaultDependencies=no
IgnoreOnIsolate=yes
[Service]
-Environment=TERM=linux
-EnvironmentPath=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/sbin:/opt/openslx/bin:/opt/openslx/usr/sbin:/opt/openslx/usr/bin
+Environment=TERM=linux PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/sbin:/opt/openslx/bin:/opt/openslx/usr/sbin:/opt/openslx/usr/bin
ExecStart=/bin/sh
Restart=always
RestartSec=0
diff --git a/remote/modules/systemd/systemd.conf b/remote/modules/systemd/systemd.conf
index 2b116784..b5e8370d 100644
--- a/remote/modules/systemd/systemd.conf
+++ b/remote/modules/systemd/systemd.conf
@@ -2,7 +2,7 @@ VERSION=systemd-197
URL=http://www.freedesktop.org/software/systemd/${VERSION}.tar.xz
LIBKMOD_VERSION="kmod-12"
LIBKMOD_URL="http://www.kernel.org/pub/linux/utils/kernel/kmod/${LIBKMOD_VERSION}.tar.gz"
-REQUIRED_DEPENDENCIES=" intltool
+REQUIRED_INSTALLED_PACKAGES=" intltool
gperf
dbus
pkg-config
diff --git a/remote/modules/systemd/systemd.conf.zypper b/remote/modules/systemd/systemd.conf.zypper
index 8fd38a30..de89399e 100644
--- a/remote/modules/systemd/systemd.conf.zypper
+++ b/remote/modules/systemd/systemd.conf.zypper
@@ -1,82 +1,9 @@
VERSION=systemd-201
URL=http://www.freedesktop.org/software/systemd/${VERSION}.tar.xz
-REQUIRED_DEPENDENCIES=" intltool
+REQUIRED_INSTALLED_PACKAGES=" intltool
gperf
pkg-config
libcap-devel
libudev-devel
dbus-1-devel
libxslt-tools"
-REQUIRED_BINARIES=" hostnamectl
- journalctl
- localectl
- loginctl
- systemctl
- systemd-analyze
- systemd-ask-password
- systemd-cat
- systemd-cgls
- systemd-cgtop
- systemd-coredumpctl
- systemd-delta
- systemd-detect-virt
- systemd-inhibit
- systemd-machine-id-setup
- systemd-notify
- systemd-nspawn
- systemd-stdio-bridge
- systemd-tmpfiles
- systemd-tty-ask-password-agent
- timedatectl
- udevadm
- systemd
- systemd-ac-power
- systemd-binfmt
- systemd-bootchart
- systemd-cgroups-agent
- systemd-coredump
- systemd-fsck
- systemd-hostnamed
- systemd-initctl
- systemd-journald
- systemd-localed
- systemd-logind
- systemd-modules-load
- systemd-multi-seat-x
- systemd-quotacheck
- systemd-random-seed
- systemd-readahead
- systemd-remount-fs
- systemd-reply-password
- systemd-shutdown
- systemd-shutdownd
- systemd-sleep
- systemd-sysctl
- systemd-timedated
- systemd-timestamp
- systemd-udevd
- systemd-update-utmp
- systemd-user-sessions
- systemd-vconsole-setup
- systemd-fstab-generator
- systemd-getty-generator
- systemd-rc-local-generator
- systemd-system-update-generator
- accelerometer
- ata_id
- cdrom_id
- collect
- keymap
- mtd_probe
- scsi_id
- v4l_id"
-REQUIRED_DIRECTORIES=" /etc
- /usr/lib
- /usr/include
- /usr/share/dbus-1
- /usr/share/polkit-1
- /usr/lib/udev/rules.d"
-REQUIRED_FILES=" /usr/bin/systemd-analyze
- /usr/share/systemd/kbd-model-map
- /usr/lib/udev/findkeyboards
- /usr/lib/udev/keyboard-force-release.sh"
diff --git a/remote/modules/vmchooser/vmchooser.conf b/remote/modules/vmchooser/vmchooser.conf
index 976384aa..7f03ea83 100644
--- a/remote/modules/vmchooser/vmchooser.conf
+++ b/remote/modules/vmchooser/vmchooser.conf
@@ -1,5 +1,5 @@
GIT=git://git.openslx.org/openslx/tools/vmchooser.git
-REQUIRED_DEPENDENCIES=" cmake
+REQUIRED_INSTALLED_PACKAGES=" cmake
libqt4-dev"
PREFIX="/opt/openslx/bin"
REQUIRED_BINARIES="vmchooser"
diff --git a/remote/modules/vmchooser/vmchooser.conf.zypper b/remote/modules/vmchooser/vmchooser.conf.zypper
new file mode 100644
index 00000000..ca9944af
--- /dev/null
+++ b/remote/modules/vmchooser/vmchooser.conf.zypper
@@ -0,0 +1,5 @@
+GIT=git://git.openslx.org/openslx/tools/vmchooser.git
+REQUIRED_INSTALLED_PACKAGES=" cmake
+ libqt4-devel"
+PREFIX="/opt/openslx/bin"
+REQUIRED_BINARIES="vmchooser"
diff --git a/remote/modules/vmplayer/vmplayer.conf b/remote/modules/vmplayer/vmplayer.conf
index df88968e..2797303e 100644
--- a/remote/modules/vmplayer/vmplayer.conf
+++ b/remote/modules/vmplayer/vmplayer.conf
@@ -1,5 +1,5 @@
-#REQUIRED_DEPENDENCIES="libgconf-2-4 fontconfig-config"
-#REQUIRED_PACKAGES="libgconf-2-4 fontconfig-config"
+#REQUIRED_INSTALLED_PACKAGES="libgconf-2-4 fontconfig-config"
+#REQUIRED_CONTENT_PACKAGES="libgconf-2-4 fontconfig-config"
REQUIRED_BINARIES=""
REQUIRED_SYSTEM_FILES=""
REQUIRED_DIRECTORIES="/etc /usr"
diff --git a/remote/modules/xorg/xorg.conf b/remote/modules/xorg/xorg.conf
index a63ef508..81b5530b 100644
--- a/remote/modules/xorg/xorg.conf
+++ b/remote/modules/xorg/xorg.conf
@@ -1,4 +1,4 @@
-REQUIRED_PACKAGES=" xserver-xorg
+REQUIRED_CONTENT_PACKAGES=" xserver-xorg
xserver-xorg-core
libgl1-mesa-dri
xkb-data
diff --git a/remote/modules/xorg/xorg.conf.zypper b/remote/modules/xorg/xorg.conf.zypper
index 22a6bdd8..e0636dd7 100644
--- a/remote/modules/xorg/xorg.conf.zypper
+++ b/remote/modules/xorg/xorg.conf.zypper
@@ -1,4 +1,4 @@
-REQUIRED_PACKAGES=" xorg-x11
+REQUIRED_CONTENT_PACKAGES=" xorg-x11
xorg-x11-server
xorg-x11-driver-input
xorg-x11-driver-video
diff --git a/remote/rootfs/rootfs-stage32/data/etc/issue b/remote/rootfs/rootfs-stage32/data/etc/issue
index de0a2265..11c0452c 100644
--- a/remote/rootfs/rootfs-stage32/data/etc/issue
+++ b/remote/rootfs/rootfs-stage32/data/etc/issue
@@ -1,11 +1,11 @@
WELCOME TO \n (\l)
- _____ ______ ______ __ __ _______ __ __ __
- / _ | _ | ___| | | | | ____| | | | | |
- | | | | |_| | |_ | | | | |___ | | / /
- | | | | ___/| _| | | ____ | | | |
- | |_| | | | |___| | | | ____| | |___ / /
- _____/|__| |______|__| |__| |_______|______|__| |__|
+ _____ ______ ______ __ __ ______ __ __ __ __ __ ______
+ / _ | _ | ___| | | || ___| | | | | | | | | | ____
+| | | | |_| | |_ | | || |__ | | / / __ | | | |
+| | | | ___/| _| | | ___ | | | | |__| | | | ___
+| |_| | | | |___| | | | ___| | |___ / / | | | | |__ |
+ _____/|__| |______|__| |__||______|______|__| |__| |__| |__| _____/
(c) <OpenSLX.ORG>
diff --git a/remote/rootfs/rootfs-stage32/data/etc/systemd/system/mount-tmp.service b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/mount-tmp.service
new file mode 100644
index 00000000..75e285e2
--- /dev/null
+++ b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/mount-tmp.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Mount hard drive as tmp
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/bin/analyse-disk
+ExecStart=/opt/openslx/bin/disk-tmp
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/analyse-disk b/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/analyse-disk
new file mode 100755
index 00000000..27c3f306
--- /dev/null
+++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/analyse-disk
@@ -0,0 +1,105 @@
+#!/bin/bash
+# Copyright (c) 2013 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found under http://openslx.org
+#
+# Local hard disk autodetection script for OpenSLX linux stateless clients,
+# detecting swap and special partitions
+
+#############################################################################
+
+# General formatter for the /tmp partition on a local harddisk
+diskfm () {
+local target=$1
+local fs
+local path
+for fs in xfs ext3 ext2 ; do
+ unset available
+ case $(cat /proc/filesystems) in
+ *${fs}*) available=yes;;
+ *) modprobe -q ${fs} 2>/dev/null && available=yes;;
+ esac
+ if [ -n ${available} ]; then
+ unset found
+ for path in /sbin /bin /usr/sbin /usr/bin /openslx/sbin /openslx/bin; do
+ if test -x /$path/mkfs.$fs ; then
+ found=yes
+ case mkfs.$fs in
+ mkfs.xfs)
+ fopt="-f"
+ mopt="-o noexec"
+ ;;
+ mkfs.ext2)
+ fopt="-Fq"
+ mopt="-o nocheck,noexec"
+ ;;
+ mkfs.reiserfs)
+ fopt="-f"
+ mopt="-o noexec"
+ ;;
+ esac
+ mkfs.$fs ${fopt} ${target} >/dev/null 2>&1 #|| error
+ mkdir -p /run/mount/tmp
+ mount -t ${fs} ${target} /run/mount/tmp
+ fi
+ done
+ [ -n "$found" ] && break
+ fi
+done
+}
+
+# Check for local harddisks and appropriate partitions
+fdisk -l |sed -n "/^\/dev\//p" >/etc/disk.partition
+
+# Check for standard swap partitions and make them available to the system
+for hdpartnr in $(cat /etc/disk.partition | \
+ sed -n -e "/ 82 /p"|sed -e "s/[[:space:]].*//") ; do
+ echo -e "$hdpartnr\tswap\t\tswap\t\tdefaults\t 0 0" >>/etc/fstab
+done
+
+# We use special non assigned partition type (id44) for harddisk scratch
+# space, thus no normal filesystem will be incidentally deleted or
+# corrupted
+for hdpartnr in $(cat /etc/disk.partition | \
+ sed -n -e "/ 44 /p"|sed -e "s/[[:space:]].*//") ; do
+ # check for supported filesystem and formatter
+ ( if diskfm $hdpartnr ; then
+ # echo "$hdpartnr is mounted to /mnt/tmp at $(sysup)" >/tmp/tmpready
+ echo -e "$hdpartnr\t/tmp\t\tnoauto\t\tdefaults\t 0 0" >>/etc/fstab
+ else
+ echo "formatting failed for some reason " >/tmp/tmpready
+ fi ) &
+ break
+done
+
+# Put detected linux partitions (83) into /etc/fstab with "noauto", special
+# partition 45 (persistent scratch) to /var/scratch and 46 to /var/openslx
+for partid in 83 45 46 ; do
+ for hdpartnr in $(cat /etc/disk.partition | \
+ sed -n -e "/ ${partid} /p"|sed -e "s/[[:space:]].*//") ; do
+ mkdir -p /media/${hdpartnr#/dev/*} 2>/dev/null
+ if [ ${partid} -eq 83 ] ; then
+ echo -e "$hdpartnr\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto,\
+noexec\t 0 0" >>/tmp/fstab
+ elif [ ${partid} -eq 45 ] ; then
+ #mount -t auto ${hdpartnr} /media/${hdpartnr#/dev/*}
+ #ln -sf /media/${hdpartnr#/dev/*} /var/scratch
+ echo -e "${hdpartnr}\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto\
+\t\t 0 0" >>/tmp/fstab
+ elif [ ${partid} -eq 46 ] ; then
+ # Mount a home directory to (/mnt)/var/home
+ #mount -t auto ${hdpartnr} /mnt/media/${hdpartnr#/dev/*} \n\
+ #test -d /mnt/media/${hdpartnr#/dev/*}/home && \
+ # ln -sf /media/${hdpartnr#/dev/*} /var/home
+ echo -e "${hdpartnr}\t/media/${hdpartnr#/dev/*}\tauto\t\tnoauto\
+\t\t 0 0" >>/tmp/fstab
+ fi
+ done
+done
+
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/disk-tmp b/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/disk-tmp
new file mode 100755
index 00000000..4378c45c
--- /dev/null
+++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/bin/disk-tmp
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Copyright (c) 2013 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your feedback to feedback@openslx.org
+#
+# General information about OpenSLX can be found under http://openslx.org
+#
+# Mount local ID44 partition to /tmp after all existing stuff is preserved
+
+#############################################################################
+
+# Check if ID44 is available by analysing /etc/fstab for appropriate entry
+if cat /proc/mounts | grep -qe "/dev/.*/tmp" ; then
+ mkdir -p /run/tmp
+ mv /tmp/* /run/tmp
+ mount --bind /run/mount/tmp /tmp
+ umount /run/mount/tmp
+ mv /run/tmp/* /tmp
+ rmdir /run/tmp
+fi
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
index 0ca8d64c..713c0a3d 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
@@ -4,7 +4,7 @@ fetch_source() {
}
build() {
- if [ ! -z "$REQUIRED_PACKAGES" ]; then
+ if [ ! -z "$REQUIRED_CONTENT_PACKAGES" ]; then
COPYLIST="list_dpkg_output"
[ -e "${COPYLIST}" ] && rm "${COPYLIST}"
list_packet_files >> "${COPYLIST}"
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
index a8bbf386..f5452f53 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
@@ -1,5 +1,5 @@
REQUIRED_MODULES=" kernel"
-REQUIRED_DEPENDENCIES="nfs-common aufs-tools squashfs-tools whois xfsprogs"
+REQUIRED_INSTALLED_PACKAGES="nfs-common aufs-tools squashfs-tools whois xfsprogs"
REQUIRED_BINARIES=" bash
more
less
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper
index 1e2ba9c8..3f7f446e 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf.zypper
@@ -1,7 +1,7 @@
pinfo "If aufs install fails, run zypper addrepo http://jftp.inai.de/openSUSE_12.3/ j.eng-i586"
REQUIRED_MODULES=" kernel"
-REQUIRED_DEPENDENCIES="nfs-client aufs squashfs"
-REQUIRED_PACKAGES="timezone"
+REQUIRED_INSTALLED_PACKAGES="nfs-client aufs squashfs"
+REQUIRED_CONTENT_PACKAGES="timezone"
REQUIRED_BINARIES=" bash
agetty
cat
diff --git a/remote/setup_target b/remote/setup_target
index 10d6b575..617c409e 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -20,7 +20,7 @@ initial_checks () {
read_config () {
# unset previous variables from other config files
- for VARNAME in "${!REQUIRED_*}"; do
+ for VARNAME in ${!REQUIRED_*}; do
unset $VARNAME
done
diff --git a/remote/targets/stage32-opensuse/openbox b/remote/targets/stage32-opensuse/openbox
new file mode 120000
index 00000000..0fb8d86d
--- /dev/null
+++ b/remote/targets/stage32-opensuse/openbox
@@ -0,0 +1 @@
+../../modules/openbox \ No newline at end of file
diff --git a/remote/targets/stage32-opensuse/vmchooser b/remote/targets/stage32-opensuse/vmchooser
new file mode 120000
index 00000000..d918fbdc
--- /dev/null
+++ b/remote/targets/stage32-opensuse/vmchooser
@@ -0,0 +1 @@
+../../modules/vmchooser \ No newline at end of file