summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--syslinux.spec.in20
2 files changed, 17 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 13535c43..a9124f7d 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@ Changes in 3.30:
or PCI devices present.
* RPM spec: add syslinux-tftpboot module; move syslinux by
default to the /usr/share/syslinux directory.
+ * RPM spec: extlinux is now a separate package.
Changes in 3.20:
* EXTLINUX: New options --install (-i) and --update (-U), to
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
%{_bindir}/syslinux
-%{_sbindir}/extlinux
%{_bindir}/ppmtolss16
%{_bindir}/lss16toppm
%{_bindir}/gethostip
@@ -95,15 +103,18 @@ rm -rf %{buildroot}
%{_datadir}/syslinux/memdisk
%{_datadir}/syslinux/*.pl
%{_datadir}/syslinux/mkdiskimage
-/boot/*.c32
%files devel
%{_datadir}/syslinux/com32
+%files extlinux
+%{_sbindir}/extlinux
+/boot
+
%files tftpboot
/tftpboot
-%post
+%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
%changelog
* 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>