]> Frank Brehm's Git Trees - my-stuff/initramfs.git/commitdiff
Weitergekommen master
authorFrank Brehm <frank@brehm-online.com>
Tue, 28 Dec 2010 22:19:00 +0000 (22:19 +0000)
committerFrank Brehm <frank@brehm-online.com>
Tue, 28 Dec 2010 22:19:00 +0000 (22:19 +0000)
git-svn-id: http://svn.brehm-online.com/svn/my-stuff/initramfs/trunk@166 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa

create_initramfs.sh

index e9f439717cec99753bf1af231ae816d204ce3ea4..e51aa9dd2d047227cf0bf4114294f47f16d1336a 100755 (executable)
@@ -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 )