Skip to content

Commit 03838b0

Browse files
committed
Reduce size of rescue image
1 parent 5193c82 commit 03838b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/buildrescue

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ sudo cp ../../UEFI64/UEFI64-*.img.gz usr/sedutil/
4949
sudo cp ../../BIOS32/BIOS32-*.img.gz usr/sedutil/
5050
sudo find . | sudo cpio -o -H newc | xz -9 -C crc32 -c > ../buildroot/${ROOTDIR}/images/rescuefs.cpio.xz
5151
cd ../..
52+
sudo rm -rf scratch/rescuefs
5253
#
5354
sudo rm -rf ${BUILDTYPE} ; mkdir ${BUILDTYPE} ; cd ${BUILDTYPE}
54-
dd if=/dev/zero of=${BUILDIMG} bs=1M count=128
55+
dd if=/dev/zero of=${BUILDIMG} bs=1M count=75
5556
if [ ${BUILDTYPE} == "RESCUE32" ] ; then
5657
(echo o;echo n;echo p;echo 1;echo "";echo "";echo a;echo 1;echo w) | fdisk -C 100 ${BUILDIMG}
5758
dd if=../scratch/${SYSLINUX}/bios/mbr/mbr.bin of=${BUILDIMG} count=1 conv=notrunc bs=512

0 commit comments

Comments
 (0)