summaryrefslogtreecommitdiff
path: root/syslinux.spec.in
diff options
context:
space:
mode:
authorhpa <hpa>2005-09-22 04:03:24 +0000
committerhpa <hpa>2005-09-22 04:03:24 +0000
commit2e1fede4d545435395af8c98e44163956d9572fb (patch)
tree2466eff70ab6db4f20a292305d72089ce5b03bdf /syslinux.spec.in
parent8f4e42608d6b0a5b1889c0d7e3906a24f0fe283f (diff)
downloadsyslinux-2e1fede4d545435395af8c98e44163956d9572fb.tar.gz
Add update-only mode to extlinux; use it
Diffstat (limited to 'syslinux.spec.in')
-rw-r--r--syslinux.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/syslinux.spec.in b/syslinux.spec.in
index ec060905..05bd31e5 100644
--- a/syslinux.spec.in
+++ b/syslinux.spec.in
@@ -89,11 +89,14 @@ rm -rf %{buildroot}
%post
# If we have a /boot/extlinux.conf file, assume extlinux is our bootloader
# and update it.
-if [ -f /boot/extlinux.conf ]; then extlinux /boot; fi
+if [ -f /boot/extlinux.conf ]; then extlinux --update /boot; fi
%postun
%changelog
+* Wed Sep 21 2005 H. Peter Anvin <hpa@zytor.com>
+- If /boot/extlinux.conf exist, run extlinux --update.
+
* Fri Sep 9 2005 H. Peter Anvin <hpa@zytor.com>
- Copy, don't link, *.c32 into /boot; rpm doesn't like breaking links.