summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-27 19:26:42 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-27 19:26:42 -0700
commit6a8ac8637c120b2a4ec7cfb702badb5a994b2d71 (patch)
treedc7fb554d081057cdc740c516eeda9127f70d589
parentbad4d698694cbadce6f3ab65f61555dc4ff7ee9a (diff)
downloadsyslinux-6a8ac8637c120b2a4ec7cfb702badb5a994b2d71.tar.gz
spec: can't put anything in the /etc directory if it's not theresyslinux-3.70-pre29
Make sure we create the /etc directory before putting something there.
-rw-r--r--syslinux.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/syslinux.spec.in b/syslinux.spec.in
index f87d6cdf..d245fc75 100644
--- a/syslinux.spec.in
+++ b/syslinux.spec.in
@@ -75,6 +75,7 @@ make CC='%{my_cc}' install-all \
MANDIR=%{_mandir} INCDIR=%{_includedir} \
TFTPBOOT=/tftpboot EXTLINUXDIR=/boot/extlinux
make CC='%{my_cc}' -C sample tidy
+mkdir -p %{buildroot}/etc
( cd %{buildroot}/etc && ln -s ../boot/extlinux/extlinux.conf . )
%clean