X-Git-Url: https://git.sur5r.net/?p=bacula%2Frescue;a=blobdiff_plain;f=rescue%2Flinux%2Fcdrom%2Fmakeinitrd;h=6209a121abee54cdb2716364c4799edb53c69b02;hp=e5e87dc1bab4f9f7878fba500f466eecc8b8c2fe;hb=d3f6a01bc3cb6cc7ef5a7d21dfad115bdd9d6af8;hpb=0026e82922b135846377b6647904b69d8d8b0b32 diff --git a/rescue/linux/cdrom/makeinitrd b/rescue/linux/cdrom/makeinitrd index e5e87dc..6209a12 100755 --- a/rescue/linux/cdrom/makeinitrd +++ b/rescue/linux/cdrom/makeinitrd @@ -2,7 +2,7 @@ TOPDIR=`pwd` -# mkdir -p /mnt/loop1 /mnt/loop2 +mkdir -p /mnt/loop1 /mnt/loop2 # we need to set aside a few loop devices. I chose (in reverse order of their appearance) # -- loop1 for the boot image @@ -74,8 +74,8 @@ echo "Compressing the RAM disk image.... " rm -f cdtree/boot/isolinux/initrd.img # and gzip our RAM disk image and put it in the right place. -# gzip -9 -c root >cdtree/boot/isolinux/initrd.img -gzip -9 < root >cdtree/boot/isolinux/initrd.img +gzip -9 -c root >cdtree/boot/isolinux/initrd.img +# gzip -9 < root >cdtree/boot/isolinux/initrd.img if [ $? != 0 ] ; then echo "Build failed" exit 1