From: Frank Brehm Date: Tue, 28 Dec 2010 22:19:00 +0000 (+0000) Subject: Weitergekommen X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=67a52b961eab0fdb0620e05c0ec6fc4d12f6a078;p=my-stuff%2Finitramfs.git Weitergekommen git-svn-id: http://svn.brehm-online.com/svn/my-stuff/initramfs/trunk@166 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- diff --git a/create_initramfs.sh b/create_initramfs.sh index e9f4397..e51aa9d 100755 --- a/create_initramfs.sh +++ b/create_initramfs.sh @@ -32,7 +32,10 @@ TARG_LAST=${TARG}-last cd $( dirname $0 ) || exit 1 -echo "Creating makefile.tmpl ..." +echo_action "RM" "initramfs" +rm -f initramfs + +echo_action "CREATE" 'makefile.tmpl' cp makefile-core.tmpl makefile.tmpl COUNTER=0 @@ -50,12 +53,10 @@ for n in $( find "${mdir}" ) ; do done >> makefile.tmpl cat << EOF - -$COUNTER modules found for $KERNEL_VERSION - + $COUNTER modules found for $KERNEL_VERSION EOF -echo "Creating initramfs ..." +echo_action "CREATE" 'initramfs' uid=$( id -u ) username=$( id -un )