Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185811 - sys-fs/squashfs-tools-3.2_p2-r1 (update)
Summary: sys-fs/squashfs-tools-3.2_p2-r1 (update)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-18 21:59 UTC by Vladimir Brik
Modified: 2007-07-31 20:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
updated ebuild (squashfs-tools-3.2_p2-r1.ebuild,1.15 KB, text/plain)
2007-07-18 21:59 UTC, Vladimir Brik
Details
bzipped 2.6.21 patch (linux-2.6.21.bz2,18.46 KB, text/plain)
2007-07-18 22:00 UTC, Vladimir Brik
Details
bzipped 2.6.22 patch (linux-2.6.22.bz2,18.49 KB, text/plain)
2007-07-18 22:00 UTC, Vladimir Brik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Brik 2007-07-18 21:59:09 UTC
Squashfs support is not included in vanilla kernel sources. In addition to squashfs-tools, the squashfs packages comes with squashfs kernel patches but they are not installed by squashfs-tools ebuilds. This means that after emerging squashfs-tools, you may have to go hunting for kernel patches unless you are running gentoo-sources.

This ebuild installs the patches that come with squashfs tarball used by the squashfs-tools ebuilds and also includes patches for 2.6.21 and 2.6.22 kernels from genpatches, as those are not included in the tarball.

The attached ebuild adds the following lines to squashfs-tools-3.2_p2.ebuild

docinto kernel-patches
dodoc kernel-patches/README

#rename patches to their target kernel version
for f in ${S}/../kernel-patches/linux-* ; do
    newdoc ${f}/* `basename ${f}`
done

cp ${FILESDIR}/linux-2.6.* "${D}/usr/share/doc/${PF}/kernel-patches" || die
Comment 1 Vladimir Brik 2007-07-18 21:59:44 UTC
Created attachment 125287 [details]
updated ebuild
Comment 2 Vladimir Brik 2007-07-18 22:00:19 UTC
Created attachment 125288 [details]
bzipped 2.6.21 patch
Comment 3 Vladimir Brik 2007-07-18 22:00:44 UTC
Created attachment 125290 [details]
bzipped 2.6.22 patch
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-07-31 20:11:26 UTC
Why would we include the patches with the *tools* ebuild, anyway?

The upstream package is just "squashfs" whereas ours is just the tools.  The kernel patches are included with our supported kernels.  Users of other kernels are totally on their own, anyway.  I don't really see this as a bad idea other than I don't want to start supporting the people who file bugs after trying to patch things themselves.  As it stands currently, we don't "provide" the patches, so the user understands that they're on their own.  Adding the patches will increase the convenience, but only for users that are already unsupported by Gentoo.