Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450800 - sys-fs/aufs3: files directory exceeds 20k (459565 bytes total)
Summary: sys-fs/aufs3: files directory exceeds 20k (459565 bytes total)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-08 10:05 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2013-01-14 08:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-01-08 10:05:57 UTC
Winner in contest for the biggest FILESDIR in tree :-)
Comment 1 Frank Steinmetzger 2013-01-10 14:57:43 UTC
Since all patch files seem to be in the distfile and can be retrieved from it with git, are those many separate patch files necessary at all?
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-01-12 15:36:02 UTC
We can't do anything else the reducing the number of ebuild in the tree.
We are modifying files in the live system, so we need to workaround the sandbox. This means we need to patch in pkg_setup, which again forces the patches to be in FILESDIR as we cannot uncompress them before.
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-01-13 09:10:46 UTC
Be creative ;P

--- aufs3-3_p20120813.ebuild
+++ aufs3-3_p20120813.ebuild
@@ -14,9 +14,12 @@
 # highest util branch version
 UTIL_MAX_VER=0
 
+XDDIR=http://dev.gentoo.org/~xarthisius/distfiles/${PN}
+
 DESCRIPTION="An entirely re-designed and re-implemented Unionfs"
 HOMEPAGE="http://aufs.sourceforge.net/"
-SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
+SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz
+	${XDDIR}/${PN}-foo.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -33,6 +36,9 @@
 MODULE_NAMES="aufs(misc:${S})"
 
 pkg_setup() {
+	pushd ${T} &> /dev/null
+	unpack ${PN}-foo.tar.xz
+	popd &> /dev/null
 	CONFIG_CHECK="${CONFIG_CHECK} ~EXPERIMENTAL"
 	use inotify && CONFIG_CHECK="${CONFIG_CHECK} ~FSNOTIFY"
 	use nfs && CONFIG_CHECK="${CONFIG_CHECK} EXPORTFS"

last thing to do is s/FILESDIR/T/ in pkg_setup, I left it out to save space here ;)
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-01-13 09:42:28 UTC
(In reply to comment #3)
> Be creative ;P

I hoped that I could be just lazy. :D
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-01-14 08:55:28 UTC
+*aufs3-3_p20130114 (14 Jan 2013)
+
+  14 Jan 2013; Justin Lecher <jlec@gentoo.org>
+  -files/3_p20121112/aufs3-base-0.patch, -files/3_p20121112/aufs3-base-1.patch,
+  -files/3_p20121112/aufs3-base-2.patch, -aufs3-3_p20121015.ebuild,
+  -aufs3-3_p20121015-r1.ebuild, -aufs3-3_p20121112.ebuild,
+  -aufs3-3_p20121129.ebuild, +aufs3-3_p20130114.ebuild,
+  -files/3_p20121112/aufs3-base-3.patch, -files/3_p20121112/aufs3-base-4.patch,
+  -files/3_p20121112/aufs3-base-5.patch, -files/3_p20121112/aufs3-base-6.patch,
+  -files/3_p20121112/aufs3-base-x-rcN.patch,
+  -files/3_p20121112/aufs3-standalone-0.patch,
+  -files/3_p20121112/aufs3-standalone-1.patch,
+  -files/3_p20121112/aufs3-standalone-2.patch,
+  -files/3_p20121112/aufs3-standalone-3.patch,
+  -files/3_p20121112/aufs3-standalone-4.patch,
+  -files/3_p20121112/aufs3-standalone-5.patch,
+  -files/3_p20121112/aufs3-standalone-6.patch,
+  -files/3_p20121112/aufs3-standalone-x-rcN.patch,
+  -files/3_p20121129/aufs3-base-0.patch, -files/3_p20121129/aufs3-base-1.patch,
+  -files/3_p20121129/aufs3-base-2.patch, -files/3_p20121129/aufs3-base-3.patch,
+  -files/3_p20121129/aufs3-base-4.patch, -files/3_p20121129/aufs3-base-5.patch,
+  -files/3_p20121129/aufs3-base-6.patch,
+  -files/3_p20121129/aufs3-base-x-rcN.patch,
+  -files/3_p20121129/aufs3-standalone-0.patch,
+  -files/3_p20121129/aufs3-standalone-1.patch,
+  -files/3_p20121129/aufs3-standalone-2.patch,
+  -files/3_p20121129/aufs3-standalone-3.patch,
+  -files/3_p20121129/aufs3-standalone-4.patch,
+  -files/3_p20121129/aufs3-standalone-5.patch,
+  -files/3_p20121129/aufs3-standalone-6.patch,
+  -files/3_p20121129/aufs3-standalone-x-rcN.patch:
+  Drop old and refactor patching procedure to reduce size of FILESDIR, #450800
+  and reliability, #368385 & #451970
+