From: Matt Domsch Matt_Domsch@dell.com
This will let us drop the requirement of perl and all its deps from the Fedora LiveCDs. These tools aren't used on the LiveCD.
Also fixes a spec buglet left over from creating the -devel subpackage. --- syslinux.spec | 40 ++++++++++++++++++++++++++++++++++------ 1 files changed, 34 insertions(+), 6 deletions(-)
diff --git a/syslinux.spec b/syslinux.spec index 03020f7..3d3d563 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -2,7 +2,7 @@ Summary: Simple kernel loader which boots from a FAT filesystem Name: syslinux Version: 4.02 %define tarball_version 4.02 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: Applications/System URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project @@ -30,6 +30,13 @@ filesystems, Linux ext2/ext3 filesystems (EXTLINUX), PXE network boots (PXELINUX), or ISO 9660 CD-ROMs (ISOLINUX). It also includes a tool, MEMDISK, which loads legacy operating systems from these media.
+%package perl +Summary: Syslinux tools written in perl +Group: Applications/System + +%description perl +Syslinux tools written in perl + %package devel Summary: Headers and libraries for syslinux development. Group: Development/Libraries @@ -77,8 +84,13 @@ rm -rf %{buildroot} %doc NEWS README* COPYING %doc doc/* %doc sample -%{_mandir}/man*/* -%{_bindir}/* +%{_mandir}/man1/gethostip* +%{_mandir}/man1/syslinux* +%{_mandir}/man1/extlinux* +%{_bindir}/gethostip +%{_bindir}/isohybrid +%{_bindir}/memdiskfind +%{_bindir}/syslinux %{_sbindir}/extlinux %dir %{_datadir}/syslinux %{_datadir}/syslinux/*.com @@ -87,17 +99,33 @@ rm -rf %{buildroot} %{_datadir}/syslinux/*.bin %{_datadir}/syslinux/*.0 %{_datadir}/syslinux/memdisk -%dir %{_datadir}/syslinux/com32 -%{_datadir}/syslinux/com32/* %dir %{_datadir}/syslinux/dosutil %{_datadir}/syslinux/dosutil/*
+%files perl +%defattr(-,root,root) +%{_mandir}/man1/lss16toppm* +%{_mandir}/man1/ppmtolss16* +%{_mandir}/man1/syslinux2ansi* +%{_bindir}/keytab-lilo +%{_bindir}/lss16toppm +%{_bindir}/md5pass +%{_bindir}/mkdiskimage +%{_bindir}/ppmtolss16 +%{_bindir}/pxelinux-options +%{_bindir}/sha1pass +%{_bindir}/syslinux2ansi +%{_bindir}/isohybrid.pl + %files devel %defattr(-,root,root) -%dir %{_datadir}/syslinux/com32 %{_datadir}/syslinux/com32
%changelog +* Fri Aug 20 2010 Matt Domsch mdomsch@fedoraproject.org - 4.02-2 +- add perl subpackage, move perl apps there +- remove duplicate syslinux/com32/ left in base package after 3.83-2 + * Thu Aug 05 2010 Peter Jones pjones@redhat.com - 4.02-1 - Update to 4.02
On 08/20/2010 11:57 PM, Matt Domsch wrote:
From: Matt Domsch Matt_Domsch@dell.com
This will let us drop the requirement of perl and all its deps from the Fedora LiveCDs. These tools aren't used on the LiveCD.
Also fixes a spec buglet left over from creating the -devel subpackage.
Applied with a minor change - I'd already fixed the com32 bit in my local tree, so it's in on the previous changelog entry.
On 08/23/2010 10:14 AM, Peter Jones wrote:
On 08/20/2010 11:57 PM, Matt Domsch wrote:
From: Matt Domsch Matt_Domsch@dell.com
This will let us drop the requirement of perl and all its deps from the Fedora LiveCDs. These tools aren't used on the LiveCD.
Also fixes a spec buglet left over from creating the -devel subpackage.
Applied with a minor change - I'd already fixed the com32 bit in my local tree, so it's in on the previous changelog entry.
https://admin.fedoraproject.org/updates/syslinux-4.02-3.fc14 If anybody feels like some testing love.
On Mon, Aug 23, 2010 at 11:29:06 -0400, Peter Jones pjones@redhat.com wrote:
https://admin.fedoraproject.org/updates/syslinux-4.02-3.fc14 If anybody feels like some testing love.
No go. I did a build against F14 repos for the livecd-desktop image and the following perl stuff got pulled in:
perl-Pod-Escapes-1.04-128.fc14.noarch perl-Module-Pluggable-3.90-128.fc14.noarch perl-Pod-Simple-3.13-128.fc14.noarch perl-libs-5.12.1-128.fc14.x86_64 perl-5.12.1-128.fc14.x86_64
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 8/24/10 4:27 PM, Bruno Wolff III wrote:
On Mon, Aug 23, 2010 at 11:29:06 -0400, Peter Jones pjones@redhat.com wrote:
https://admin.fedoraproject.org/updates/syslinux-4.02-3.fc14 If anybody feels like some testing love.
No go. I did a build against F14 repos for the livecd-desktop image and the following perl stuff got pulled in:
perl-Pod-Escapes-1.04-128.fc14.noarch perl-Module-Pluggable-3.90-128.fc14.noarch perl-Pod-Simple-3.13-128.fc14.noarch perl-libs-5.12.1-128.fc14.x86_64 perl-5.12.1-128.fc14.x86_64
You didn't say why though. They could have been dragged in for something else. Did you try to chroot into the image after the fact and attempt to remove perl and see what complained?
- -- Jesse Keating Fedora -- FreedomĀ² is a feature! identi.ca: http://identi.ca/jkeating
On Tue, Aug 24, 2010 at 17:23:51 -0700, Jesse Keating jkeating@j2solutions.net wrote:
-----BEGIN PGP SIGNED MESSAGE-----
You didn't say why though. They could have been dragged in for something else. Did you try to chroot into the image after the fact and attempt to remove perl and see what complained?
Not yet. I was just starting to try to figure out how I could tell what brought them in. That's a good suggestion though.
On Tue, Aug 24, 2010 at 17:23:51 -0700, Jesse Keating jkeating@j2solutions.net wrote:
You didn't say why though. They could have been dragged in for something else. Did you try to chroot into the image after the fact and attempt to remove perl and see what complained?
It looks like the problem is tigervnc-server. I am going to do a test to see if yanking it stops perl from being pulled in.
On Tue, Aug 24, 2010 at 17:23:51 -0700, Jesse Keating jkeating@j2solutions.net wrote:
You didn't say why though. They could have been dragged in for something else. Did you try to chroot into the image after the fact and attempt to remove perl and see what complained?
tigervnc-server is required by anaconda which is needed to do installs from live media. So just leaving out a package isn't going to work. I still test to see if getting rid of anaconda keeps perl from getting pulled in, but one of the two dependencies will need to be managed to get perl off the live images.
On Tue, Aug 24, 2010 at 20:47:07 -0500, Bruno Wolff III bruno@wolff.to wrote:
On Tue, Aug 24, 2010 at 17:23:51 -0700, Jesse Keating jkeating@j2solutions.net wrote:
You didn't say why though. They could have been dragged in for something else. Did you try to chroot into the image after the fact and attempt to remove perl and see what complained?
tigervnc-server is required by anaconda which is needed to do installs from live media. So just leaving out a package isn't going to work. I still test to see if getting rid of anaconda keeps perl from getting pulled in, but one of the two dependencies will need to be managed to get perl off the live images.
Removing anaconda prevented perl from being dragged in. (Also I had removed nautilus-sendto to avoid a dependency problem, but that probably doesn't depend on perl.)
On Tue, Aug 24, 2010 at 21:58:15 -0500, Bruno Wolff III bruno@wolff.to wrote:
Removing anaconda prevented perl from being dragged in. (Also I had removed nautilus-sendto to avoid a dependency problem, but that probably doesn't depend on perl.)
/usr/bin/vncserver is a perl script. One way to deal with this would be to replace that script with a C program or shell script. Or perhaps if anaconda's use is fairly limited, it could be supplemented by a simpler script or perhaps running Xvnc directly.
On Tue, Aug 24, 2010 at 22:39:13 -0500, Bruno Wolff III bruno@wolff.to wrote:
On Tue, Aug 24, 2010 at 21:58:15 -0500, Bruno Wolff III bruno@wolff.to wrote:
Removing anaconda prevented perl from being dragged in. (Also I had removed nautilus-sendto to avoid a dependency problem, but that probably doesn't depend on perl.)
/usr/bin/vncserver is a perl script. One way to deal with this would be to replace that script with a C program or shell script. Or perhaps if anaconda's use is fairly limited, it could be supplemented by a simpler script or perhaps running Xvnc directly.
I looked at anaconda and it looks like it doesn't use vncserver, just Xvnc. So perhaps vncserver could get split out into a separate package for Xvnc.
On 08/24/2010 07:27 PM, Bruno Wolff III wrote:
On Mon, Aug 23, 2010 at 11:29:06 -0400, Peter Jones pjones@redhat.com wrote:
https://admin.fedoraproject.org/updates/syslinux-4.02-3.fc14 If anybody feels like some testing love.
No go. I did a build against F14 repos for the livecd-desktop image and the following perl stuff got pulled in:
perl-Pod-Escapes-1.04-128.fc14.noarch perl-Module-Pluggable-3.90-128.fc14.noarch perl-Pod-Simple-3.13-128.fc14.noarch perl-libs-5.12.1-128.fc14.x86_64 perl-5.12.1-128.fc14.x86_64
I don't think that has anything to do with this package:
pjones4:~/Download$ rpm -q --requires -p syslinux-4.02-3.fc14.x86_64.rpm libc.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.7)(64bit) mtools rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 rtld(GNU_HASH) rpmlib(PayloadIsXz) <= 5.2-1
So unless glibc or mtools is pulling them in, I don't see how that could be this. And if either of those is, that's still not a problem in this package.
Have I missed something?
On Wed, Aug 25, 2010 at 10:01:48 -0400, Peter Jones pjones@redhat.com wrote:
I don't think that has anything to do with this package:
Not for syslinux. But for the real goal, which is allowing us to get perl off minimal live images, there is still a problem.
On 08/25/2010 10:03 AM, Bruno Wolff III wrote:
On Wed, Aug 25, 2010 at 10:01:48 -0400, Peter Jones pjones@redhat.com wrote:
I don't think that has anything to do with this package:
Not for syslinux. But for the real goal, which is allowing us to get perl off minimal live images, there is still a problem.
That's fine and all, but I still need testing on this package or it's not going to help you with that goal.
On Wed, Aug 25, 2010 at 10:04:59 -0400, Peter Jones pjones@redhat.com wrote:
On 08/25/2010 10:03 AM, Bruno Wolff III wrote:
On Wed, Aug 25, 2010 at 10:01:48 -0400, Peter Jones pjones@redhat.com wrote:
I don't think that has anything to do with this package:
Not for syslinux. But for the real goal, which is allowing us to get perl off minimal live images, there is still a problem.
That's fine and all, but I still need testing on this package or it's not going to help you with that goal.
Later tests showed that this version of syslinux is not pulling in perl and is not blocking a compose of the CD sized desktop spin. I didn't test that it actually worked as a live image.
I'm working on a fudged tigervnc to see if I can get one with anaconda, but not perl that boots. I'll have that test done later today. I probably won't get to do an install test.
On Wed, Aug 25, 2010 at 09:10:56 -0500, Bruno Wolff III bruno@wolff.to wrote:
I'm working on a fudged tigervnc to see if I can get one with anaconda, but not perl that boots. I'll have that test done later today. I probably won't get to do an install test.
It looks like there is a separate bug for getting rid of this dependency and the tigervnc owner is making a change now.
Though anaconda needs to have a requires changed, so it looks like I'll be fudging that instead.
On Mon, Aug 23, 2010 at 11:29:06 -0400, Peter Jones pjones@redhat.com wrote:
On 08/23/2010 10:14 AM, Peter Jones wrote:
https://admin.fedoraproject.org/updates/syslinux-4.02-3.fc14 If anybody feels like some testing love.
I built a live image for x86_64 using the new syslinux, tigervnc from koji and a custom anaconda using some changes committed upstream, but not in a published rpm yet, based on the livecd-desktop ks file with nautilus-sendto and evince* subtracted due to dependency issues. I used livecd-iso-to-disk to get the image on a usb device and am using it now to type this (via ssh). So on at least some level this works. Perl was not dragged into the package set for the live image. The x86_64 image is still over size, so people will still need to do some other cuts to get that down. But it is still a nice size savings (I think around 15 MB.) This should be particularly nice for people trying to do very small builds.