[syslinux] Rpm build problem syslinux (SUSE)

Kees Bakker kees.bakker at altium.nl
Mon Oct 30 02:29:16 PST 2006


Hi,

This is not a big thing, but I still want to mention it.

The rpm build (in the spec file) it fails to remove a few .d files. After a "make clean"
the following files are still present:
  syslinux-3.31/com32/lib/sys/vesa/.background.o.d
  syslinux-3.31/com32/lib/sys/vesa/.drawtxt.o.d
  syslinux-3.31/com32/lib/sys/vesa/.alphatbl.o.d
  syslinux-3.31/com32/lib/sys/vesa/.initvesa.o.d
I guess in syslinux-3.31/com32/lib/Makefile we need to change

tidy:
        rm -f *.o .*.d */*.o */.*.d sys/vesa/alphatbl.c

into

tidy:
        rm -f *.o .*.d */*.o */.*.d */*/.*.d sys/vesa/alphatbl.c

And also, on OPENSUSE it wants to build the rpm for i586, not for i386. You get
the error:
  error: Architecture is not included: i586

This can be solved by adding i586 (and perhaps i686) to the following lines in syslinux.spec
  ExclusiveArch: i386 i586 x86_64
...
  %ifarch i386 i586

- Kees




More information about the Syslinux mailing list