Summary: Creates a boot floppy disk for booting a system. Name: mkbootdisk Version: 1.5.1 Release: 1.ker.rhel3 License: GPL Group: System Environment/Base Source: mkbootdisk-%{version}.tar.gz Patch1: mkbootdisk-x86_64.patch ExclusiveArch: i386 sparc x86_64 ExclusiveOs: Linux Requires: mkinitrd dosfstools %ifnarch sparc Requires: syslinux %endif Conflicts: modutils < 2.3.11-5 %ifarch sparc Requires: silo genromfs %endif Conflicts: mkinitrd <= 3.4.2 BuildRoot: /var/tmp/%{name}-root BuildArch: noarch %description The mkbootdisk program creates a standalone boot floppy disk for booting the running system. The created boot disk will look for the root filesystem on the device mentioned in /etc/fstab and includes an initial ramdisk image which will load any necessary SCSI modules for the system. %prep %setup -q %patch1 -p0 -b .x86_64 %install rm -rf $RPM_BUILD_ROOT make BUILDROOT=$RPM_BUILD_ROOT mandir=%{_mandir} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %attr(755,root,root) /sbin/mkbootdisk %attr(644,root,root) %{_mandir}/man8/mkbootdisk.8.gz %changelog * Fri Feb 27 2004 Milan Kerslager 1.5.1-1.ker.rhel3 - accept new numbering scheme - allow update from original version (dot instead of underscore) * Thu Dec 11 2003 Milan Kerslager 1.5.1-1_WB1 - allow build on AMD64 (x86_64) + patch * Wed Feb 19 2003 Jeremy Katz 1.5.1-1 - apply mikem's patch so that we handle loop devices better (#84351) - switch to making a loopback img and then dd'ing that to the floppy (#84351) - man page updates (#77262) * Wed Feb 19 2003 Jeremy Katz 1.5.0-1 - use copy instead of mkinitrd to get the initrd - don't get default kernel args if grubby can't figure out the default kernel - exit with an exit status of 1 if things fail * Mon Dec 23 2002 Matt Wilson - rebuild in new collection * Mon Aug 08 2002 Michael Fulbright - fix creation of boot iso image * Mon Aug 08 2002 Michael Fulbright - fix small bug with temp files * Mon Aug 08 2002 Michael Fulbright - add option when we make dos fs to save more space * Mon Jun 03 2002 Erik Troan - only run grubby if /boot/grub/grub.conf exists * Mon Jun 03 2002 Erik Troan - if --kernelargs isn't specified and grubby is available use it to get the arguments to use; this only works with mkinitrd (grubby) >= 3.4.3 (8591) - fixed some typos in man page (11297) - use cp -p rather then cp -a (as we want to follow symlinks) (13480) - create image files if appropriate (53818) - compact option removed (syslinux doesn't use it anyway) (58989) * Tue Mar 26 2002 Jeremy Katz - add --kernelargs command line option * Sun Jan 06 2002 Florian La Roche - do not require syslinux for sparc * Mon Nov 05 2001 Erik Troan - fixed minor typo in man page * Wed Aug 15 2001 Matt Wilson - changed Summary:, it's no longer a bad copy and paste job from the mkinitrd spec file (MF #50193) * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Tue Feb 08 2001 Michael Fulbright - return error code when we cant format the floppy. Helps anaconda out. * Tue Jan 23 2001 Erik Troan - switched to use syslinux rather then lilo - requires dosfstools - put version in only one place, mkbootdisk * Thu Jul 06 2000 Erik Troan - wasn't including ethernet devices properly * Thu Jun 1 2000 Bill Nottingham - conf.modules -> modules.conf, fhs stuff * Mon May 01 2000 Erik Troan - patched to work with disk labels * Thu Feb 3 2000 Matt Wilson - gzip manpage * Mon Jan 10 2000 Erik Troan - removed rescue stuff * Mon Nov 8 1999 Matt Wilson - removed 'prompt' from silo.conf * Mon Oct 25 1999 Jakub Jelinek - fix sparc ramdisk making for new modutils and kernel file layout. * Sat Sep 25 1999 Michael K. Johnson - ignore commented lines in fstab, generally more robust fstab parsing * Sat Aug 21 1999 Bill Nottingham - ditto * Thu Aug 12 1999 Bill Nottingham - add fix * Tue May 25 1999 Matt Wilson - added -P to the cp lines for devices to pick up parent directories for ida/ and rd/ * Wed Apr 7 1999 Matt Wilson - pass load_ramdisk=2 as alan had to port his ramdisk hack from 2.0.x * Mon Apr 5 1999 Matt Wilson - pass load_ramdisk=1 for rescue image, as 2.2 kernels get this right * Thu Mar 18 1999 Matt Wilson - fixed misspelling in man page * Thu Feb 25 1999 Matt Wilson - updated the description * Thu Nov 5 1998 Jeff Johnson - import from ultrapenguin 1.1. * Fri Oct 30 1998 Jakub Jelinek - support for SPARC * Sat Aug 29 1998 Erik Troan - wasn't including nfs, isofs, or fat modules properly - mkinitrd args weren't passed right due to a typo