NASM = nasm -O99
NINCLUDE =
BINDIR = /usr/bin
-SBINDIR = /usr/sbin
+SBINDIR = /sbin
LIBDIR = /usr/lib
AUXDIR = $(LIBDIR)/syslinux
INCDIR = /usr/include
# Things to install in /usr/bin
INSTALL_BIN = mtools/syslinux gethostip ppmtolss16 lss16toppm
-# Things to install in /usr/sbin
+# Things to install in /sbin
INSTALL_SBIN = extlinux/extlinux
# Things to install in /usr/lib/syslinux
INSTALL_AUX = pxelinux.0 isolinux.bin isolinux-debug.bin \
Requires: mtools, libc.so.6()(64bit)
%endif
+# NOTE: extlinux belongs in /sbin, not in /usr/sbin, since it is typically
+# a system bootloader, and may be necessary for system recovery.
+%define _sbindir /sbin
+
%package devel
Summary: Development environment for SYSLINUX add-on modules
Group: Development/Libraries