From 67a52b961eab0fdb0620e05c0ec6fc4d12f6a078 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 28 Dec 2010 22:19:00 +0000 Subject: [PATCH] Weitergekommen git-svn-id: http://svn.brehm-online.com/svn/my-stuff/initramfs/trunk@166 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- create_initramfs.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 ) -- 2.39.5