spec: can't put anything in the /etc directory if it's not there syslinux-3.70-pre29
authorH. Peter Anvin <hpa@zytor.com>
Sat, 28 Jun 2008 02:26:42 +0000 (19:26 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 28 Jun 2008 02:26:42 +0000 (19:26 -0700)
Make sure we create the /etc directory before putting something there.

syslinux.spec.in

index f87d6cd..d245fc7 100644 (file)
@@ -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