path: root/syslinux.spec.in
diff options
authorH. Peter Anvin <hpa@zytor.com>2006-09-18 15:33:04 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-09-18 15:33:04 -0700
commite3d936b32a531528e7fe12dbd3eebce515a368f9 (patch)
tree5938df6f97ba3500f7df59fb6ff8bdf9fe2f16b1 /syslinux.spec.in
parent0ffd8ba828645af3d6d86a42a88dc4af993e137d (diff)
Factor out extlinux as a separate package, avoid /boot/memdisk errorsyslinux-3.30
Diffstat (limited to 'syslinux.spec.in')
1 files changed, 16 insertions, 4 deletions
diff --git a/syslinux.spec.in b/syslinux.spec.in
index 7d2f3842..0ea67c33 100644
--- a/syslinux.spec.in
+++ b/syslinux.spec.in
@@ -6,7 +6,7 @@ Name: syslinux
Version: %{RPMVERSION}
Release: 1
License: GPL
-Group: Applications/System
+Group: System/Boot
Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{VERSION}.tar.gz
ExclusiveArch: i386 x86_64
Packager: H. Peter Anvin <hpa@zytor.com>
@@ -40,6 +40,15 @@ The SYSLINUX boot loader contains an API, called COM32, for writing
sophisticated add-on modules. This package contains the libraries
necessary to compile such modules.
+%package extlinux
+Summary: The EXTLINUX bootloader, for booting the local system.
+Group: System/Boot
+Requires: syslinux
+%description extlinux
+The EXTLINUX bootloader, for booting the local system, as well as all
+the SYSLINUX/PXELINUX modules in /boot.
%package tftpboot
Summary: SYSLINUX modules in /tftpboot, available for network booting
Group: Applications/Internet
@@ -83,7 +92,6 @@ rm -rf %{buildroot}
%doc NEWS README* *.doc memdisk/*.doc COPYING
%doc sample
@@ -95,15 +103,18 @@ rm -rf %{buildroot}
%files devel
+%files extlinux
%files tftpboot
+%post extlinux
# If we have a /boot/extlinux.conf file, assume extlinux is our bootloader
# and update it.
if [ -f /boot/extlinux.conf ]; then extlinux --update /boot; fi
@@ -113,6 +124,7 @@ if [ -f /boot/extlinux.conf ]; then extlinux --update /boot; fi
* Mon Sep 19 2006 H. Peter Anvin <hpa@zytor.com>
- Add a syslinux-tftpboot module.
+- Factor extlinux into its own package.
- Move to %{_datadir} (/usr/share).
* Wed Sep 21 2005 H. Peter Anvin <hpa@zytor.com>