From 8b6272ebfe3d3d2c415b64fe4c14cea8baffff62 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 3 Oct 2006 21:21:47 +0000 Subject: Naming in mkdxsinitrd and slxmkramfs (temporary directory where pre-cpio initialramfs stuff could be found -> /tmp/slx-tmpramfs), see MkinitrdHowto too ... (matched to documentation too) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@436 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/etc/functions | 4 ++-- initramfs/mkdxsinitrd | 6 +++--- initramfs/slxmkramfs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'initramfs') diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index f241ebe1..6784c27e 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -401,14 +401,14 @@ local dst=/tmp/$(basename $1) # tftp get part case "$tftp" in */atftp) - atftp -g -r $1 -l $dst $2 2>/dev/null + atftp -g -r $1 -l $dst $2 2>&1>/dev/null ;; */tftp) # distinguish between busybox tftp and standalone (in.tftp) client if [ -x /bin/busybox ] ; then tftp -g -r $1 -l $dst $2 2>/dev/null else - echo "get $1 $dst" | tftp $2 2>/dev/null + echo "get $1 $dst" | tftp $2 2>&1>/dev/null fi ;; esac diff --git a/initramfs/mkdxsinitrd b/initramfs/mkdxsinitrd index 7af712ae..a2df3539 100755 --- a/initramfs/mkdxsinitrd +++ b/initramfs/mkdxsinitrd @@ -4,7 +4,7 @@ # ramdisks for linux diskless clients (stage2 system # setup) # -# Author(s): Dirk von Suchodoletz , 18-09-2006 +# Author(s): Dirk von Suchodoletz , 03-10-2006 # Nico Dietrich # Felix Endres # (xenbr), 27-09-2006 @@ -357,7 +357,7 @@ goto_script_dir # set temporary setup directory, clean it and setup basic directory # structure if [ -z "$INSTDIR" ] ; then - INSTDIR=/tmp/dxs-instrd + INSTDIR=/tmp/slx-tmpramfs fi rm -rf ${INSTDIR} mkdir -p ${INSTDIR}/{dev,proc,tmp,mnt,root,bin,sys,lib} @@ -611,7 +611,7 @@ if [ -z "$FSMODULES" ] ; then FSMODULES="nbd nfs" fi if [ -z "$INITRD_PATH" ] ; then - INITRD_PATH="${ROOTDIR}/tmp/dxsinitrd.gz" + INITRD_PATH="${ROOTDIR}/tmp/slxinitramfs.gz" fi # define modules to put into initial ramdisk for debugging diff --git a/initramfs/slxmkramfs b/initramfs/slxmkramfs index b479eac5..beef6634 100755 --- a/initramfs/slxmkramfs +++ b/initramfs/slxmkramfs @@ -1,6 +1,6 @@ #!/bin/bash # -# universal (distro independent) generator for initial ramdisks for OpenSLX +# universal (distro independent) generator for initialramfs for OpenSLX # linux diskless clients (part of stage2 system setup). This script is the # successor of mkdxsinitrd. It expects all project files to be installed. It # does not work directly out of repository any more. @@ -543,7 +543,7 @@ if [ -z "$FSMODULES" ] ; then FSMODULES="nbd nfs" fi if [ -z "$INITRD_PATH" ] ; then - INITRD_PATH="${ROOTDIR}/tmp/dxsinitrd.gz" + INITRD_PATH="${ROOTDIR}/tmp/slxinitramfs.gz" fi # define modules to put into initial ramdisk for debugging -- cgit v1.2.3-55-g7522