Browse Source

Alejandro Mery:

made bootdisk/build_stage2.sh less verbose


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2471 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Alejandro Mery 22 years ago
parent
commit
59a9d58952
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      target/bootdisk/build_stage2.sh

+ 5
- 4
target/bootdisk/build_stage2.sh

@ -58,7 +58,7 @@ done
#
echo_status "Saving boot/* - we do not need this on the 2nd stage ..."
rm -rf ../boot ; mkdir ../boot
mv -v boot/* ../boot/
mv boot/* ../boot/
#
echo_status "Remove the stuff we don't need ..."
rm -rf home usr/{local,doc,man,info,games,share}
@ -122,7 +122,7 @@ for x in $progs ; do
[ -f ../2nd_stage/usr/sbin/$x ] && fn="usr/sbin/$x"
if [ "$fn" ] ; then
cp -v ../2nd_stage/$fn $fn
cp ../2nd_stage/$fn $fn
else
echo_error "\`- Program not found: $x"
fi
@ -155,7 +155,7 @@ cp ../2nd_stage/etc/fstab etc
echo_status "Copy stone.d."
mkdir -p etc/stone.d
for i in gui_text mod_install mod_packages mod_gas default ; do
cp -v ../2nd_stage/etc/stone.d/$i.sh etc/stone.d
cp ../2nd_stage/etc/stone.d/$i.sh etc/stone.d
done
#
echo_status "Creating links for identical files."
@ -170,4 +170,5 @@ do
done < <( find -type f | xargs md5sum | sort )
#
echo_status "Creating 2nd_stage_small.tar.gz archive."
tar -cvf- * | gzip -9 > ../2nd_stage_small.tar.gz ; cd ..
tar -cf- * | gzip -9 > ../2nd_stage_small.tar.gz ; cd ..

Loading…
Cancel
Save