Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
41b49b8763
1 changed files with 21 additions and 26 deletions
  1. +21
    -26
      target/bootdisk/sparc/build.sh

+ 21
- 26
target/bootdisk/sparc/build.sh

@ -1,33 +1,28 @@
use_silo=1
cd $disksdir
echo_header "Cleaning boot directory:"
rm -rfv boot/*-rock boot/System.map boot/kconfig* boot/initrd*img boot/*.b
if [ $use_silo -eq 1 ]
then
echo_header "Creating silo setup:"
#
echo_status "Extracting silo boot loader images."
mkdir -p boot
tar --use-compress-program=bzip2 \
-xf $base/build/${ROCKCFG_ID}/ROCK/pkgs/silo.tar.bz2 \
boot/second.b -O > boot/second.b
#
echo_status "Creating silo config file."
cp -v $base/target/$target/sparc/{silo.conf,boot.msg,help1.txt} \
boot
#
echo_status "Moving image (initrd) to boot directory."
mv -v initrd.gz boot/
#
buildroot="build/${ROCKCFG_ID}"
datadir="build/${ROCKCFG_ID}/ROCK/bootdisk"
cat > ../isofs_arch.txt <<- EOT
BOOT -G $buildroot/boot/isofs.b -B ...
DISK1 $datadir/boot/ boot/
EOT
fi
echo_header "Creating silo setup:"
#
echo_status "Extracting silo boot loader images."
mkdir -p boot
tar --use-compress-program=bzip2 \
-xf $base/build/${ROCKCFG_ID}/ROCK/pkgs/silo.tar.bz2 \
boot/second.b -O > boot/second.b
#
echo_status "Creating silo config file."
cp -v $base/target/$target/sparc/{silo.conf,boot.msg,help1.txt} \
boot
#
echo_status "Moving image (initrd) to boot directory."
mv -v initrd.gz boot/
#
buildroot="build/${ROCKCFG_ID}"
datadir="build/${ROCKCFG_ID}/ROCK/bootdisk"
cat > ../isofs_arch.txt <<- EOT
BOOT -G $buildroot/boot/isofs.b -B ...
DISK1 $datadir/boot/ boot/
EOT

Loading…
Cancel
Save