<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.2">
</HEAD>
<BODY>
I haven't tried this, but how about:<BR>
<BR>
%post<BR>
yum -C -y remove perl<BR>
%end<BR>
<BR>
Make sure you know what you're doing... by which I mean that this would be a dangerous game to play if you weren't certain that syslinux was the only thing using perl!<BR>
<BR>
As I recall, by the time %post executes, the initrd has already been created (see previous posts passim.). If syslinux data files are being used in that stage, then removing them in %post shouldn't screw things up. If they're being used after the squashfs image gets created, you might be in trouble.<BR>
<BR>
Suck it and see...<BR>
<BR>
James<BR>
<BR>
On Tue, 2010-03-02 at 20:03 +0000, Mads Kiilerich wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
python-imgcreate adds syslinux to the list of installed packages. AFAICS 
that is because it uses data files from syslinux in the installed root 
to populate isolinux. It do not execute any syslinux files in the 
installed root.

The problem is that syslinux depends on perl. The unused syslinux on the 
livecd is the only reason my live cd has perl, and it thus costs 30+ Mb.

How do you think that could be solved / worked around?

Could python-imgcreate be changed to use files from the build system if 
they can't be found in the installed root?

Or could syslinux be split into a executable package depending on perl 
and a /usr/share/syslinux package?

/Mads
--
livecd mailing list
<A HREF="mailto:livecd@lists.fedoraproject.org">livecd@lists.fedoraproject.org</A>
<A HREF="https://admin.fedoraproject.org/mailman/listinfo/livecd">https://admin.fedoraproject.org/mailman/listinfo/livecd</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>