[Fedora-livecd-list] mandatory syslinux on live cd causes perl dependency
James Heather
j.heather at surrey.ac.uk
Tue Mar 2 22:34:05 UTC 2010
I haven't tried this, but how about:
%post
yum -C -y remove perl
%end
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!
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.
Suck it and see...
James
On Tue, 2010-03-02 at 20:03 +0000, Mads Kiilerich wrote:
> 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
> livecd at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/livecd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/livecd/attachments/20100302/72060727/attachment.html
More information about the livecd
mailing list