Summary: Creates a boot floppy disk for booting a system. Name: mkbootdisk Version: 1.5.5 Release: 3%{?dist} License: GPLv2+ Group: System Environment/Base Source: mkbootdisk-%{version}.tar.xz # fix for bug #761590 Patch1: mkbootdisk-1.5-long-volid-fix.patch ExclusiveOs: Linux ExclusiveArch: %{ix86} sparc x86_64 # requires (dracut or mkinitrd) and (genisoimage or dosfstools) Requires: genisoimage %ifnarch sparc sparc64 Requires: syslinux %else Requires: silo genromfs %endif BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %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 -p1 -b .long-volid-fix %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* %changelog * Mon Feb 13 2012 Jaroslav Škarvada - 1.5.5-3 - Added explicit requires for genisoimage Resolves: rhbz#790039 * Thu Feb 9 2012 Jaroslav Škarvada - 1.5.5-2 - Fixed problem with long volume ID strings (long-volid-fix patch) Resolves: rhbz#761590 * Fri Jan 15 2010 Stepan Kasal - 1.5.5-1 - do not require dosfstools nor mkinitrd; tey are not needed for --iso - Resolves: 549098, #549099 - various cosmetic changes - drop obsolete conflicts tag - better buildroot * Thu Oct 1 2009 Stepan Kasal - 1.5.4-1 - syslinux image changed (#506181) * Sat Jul 25 2009 Fedora Release Engineering - 1.5.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.5.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Aug 8 2008 Tom "spot" Callaway - 1.5.3-4 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - 1.5.3-3.1 - Autorebuild for GCC 4.3 * Wed Jul 12 2006 Jesse Keating - 1.5.3-2.1 - rebuild * Thu Apr 06 2006 Peter Vrabec 1.5.3-2 - change noarch back to ExclusiveArch * Wed Apr 05 2006 Peter Vrabec 1.5.3-1 - fix tail command usage (#187876) * Tue Mar 07 2006 Peter Vrabec 1.5.2-6 - build as noarch * Tue Feb 07 2006 Jesse Keating - 1.5.2-5.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Thu Mar 17 2005 Peter Vrabec 1.5.2-5 - rebuild * Mon Nov 01 2004 Peter Vrabec - fix slight man page error (#85470) * Mon Oct 25 2004 Peter Vrabec - fix problem with hangup (#112752) * Fri Oct 21 2004 Peter Vrabec - fix clear /tmp (#136599) * Tue Aug 3 2004 Jeremy Katz - 1.5.2-1 - fix name of system to boot (#114878) * 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