summaryrefslogtreecommitdiffstats
path: root/initramfs/mkdxsinitrd
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-04-05 00:14:42 +0200
committerDirk von Suchodoletz2007-04-05 00:14:42 +0200
commit01fc142f21e29e51952d5ec50f15047810650c6d (patch)
tree3a6ac944c1e3c4478aa382e8ca0a22d3bfa34ce3 /initramfs/mkdxsinitrd
parentadded path /var/X11R6/bin to .desktop files for KDM start. (diff)
downloadcore-01fc142f21e29e51952d5ec50f15047810650c6d.tar.gz
core-01fc142f21e29e51952d5ec50f15047810650c6d.tar.xz
core-01fc142f21e29e51952d5ec50f15047810650c6d.zip
Writing halt script for SuSE systems from functions-*, see #111
Pass SLXVERSION string (via slxconfig, slxconf_slxver -> SLXVERSION) for better version marking ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@863 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/mkdxsinitrd')
-rwxr-xr-xinitramfs/mkdxsinitrd10
1 files changed, 6 insertions, 4 deletions
diff --git a/initramfs/mkdxsinitrd b/initramfs/mkdxsinitrd
index a85ca6ae..1d86c90c 100755
--- a/initramfs/mkdxsinitrd
+++ b/initramfs/mkdxsinitrd
@@ -96,8 +96,8 @@ usage()
echo " Kernelmodule (misc) die nicht von -n bzw. -f abgedeckt werden"
echo " (z.B. xenbr for xen network bridge)."
echo " -r path"
- echo " Pfad zum Wurzelverzeichnis des zu exportierenden Betriebsystems"
- echo " (z.B. /export/10.1)."
+ echo " Pfad zum Wurzelverzeichnis des Ausgangssystems (Vendor-OS)"
+ echo " (z.B. /var/opt/openslx/stage1/suse-10.2)."
echo " -s theme (for splash)"
echo " -d debug (add special modules to initramfs)"
echo " -D Name"
@@ -192,8 +192,10 @@ else
-e "s,@@@DATE@@@,${DATE},g;/^#[^!].*/d" \
${SLX_SHARE_PATH}/initramfs/${FILENAME} >> ${INSTDIR}/${FILENAME}
# ugly hack for creating a general slx config file instead of "patching"
- # the stage3 init
- echo -e "slxconf_date=${DATE}\nslxconf_kernver=${KERNVER}\nslxconf_listnwmod=\"${NWMODULES}\"\nslxconf_distro=${DISTRO}-${DISTRO_VER}" > ${INSTDIR}/etc/sysconfig/slxconfig
+ # the stage3 init - fixme: version string should be added in a more clever way
+ echo -e "slxconf_date=${DATE}\nslxconf_kernver=${KERNVER}\n\
+slxconf_listnwmod=\"${NWMODULES}\"\nslxconf_distro=${DISTRO}-${DISTRO_VER}\n\
+slxconf_slxver=\"4.0.8b\"" > ${INSTDIR}/etc/sysconfig/slxconfig
[ "$use_busybox" = 1 ] && sed -e "s,^#!/bin/sh,#!/bin/ash," \
-i ${INSTDIR}/${FILENAME}
fi