From: Anisse Astier <anisse@astier.eu>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: linux-kbuild@vger.kernel.org, debian-kernel@lists.debian.org,
kernel-team@lists.ubuntu.com, Michal Marek <mmarek@suse.cz>,
maximilian attems <max@stro.at>
Subject: Re: [PATCH v5 2/4] deb-pkg: split debug symbols in their own package
Date: Mon, 17 Jun 2013 14:05:45 +0200 [thread overview]
Message-ID: <20130617140545.315d4aec@serenity> (raw)
In-Reply-To: <1371268995.3776.13.camel@deadeye.wl.decadent.org.uk>
On Sat, 15 Jun 2013 05:03:15 +0100, Ben Hutchings <ben@decadent.org.uk> wrote :
> On Fri, 2013-06-14 at 11:46 +0200, Anisse Astier wrote:
> > This can reduce almost 3 times the size of the linux-image package,
> > while keeping the debug symbols available for this particular build, in
> > their own package.
> >
> > This mimics the way kernels are built in debian, ubuntu, or with
> > make-kpkg, and comes at the price of a small slowdown in the building of
> > packages.
> [...]
> > @@ -128,6 +136,20 @@ if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then
> > mv "$tmpdir/lib/modules/$version"/* "$tmpdir/usr/lib/uml/modules/$version/"
> > rmdir "$tmpdir/lib/modules/$version"
> > fi
> > + if [ -n "$BUILD_DEBUG" ] ; then
> > + (
> > + cd $tmpdir
> > + for module in $(find lib/modules/ -name *.ko); do
> [...]
>
> Can shells generally cope with the list this produces for, say, an
> allmodconfig build? My instinct would be to use xargs and while, but
> I'm willing to believe that this does work.
Did a quick test with an allmodconfig. It has 4038 modules. I'm pretty
sure it should work.
In bash 4.2.37, "for i in $(seq 50000000); do :; done" does work,
although it ends up eating 5GB of memory.
Anisse
next prev parent reply other threads:[~2013-06-17 12:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 9:46 [PATCH v5 0/4] deb-pkg: bring it a little closer to debian packaging Anisse Astier
2013-06-14 9:46 ` [PATCH v5 1/4] deb-pkg: use KCONFIG_CONFIG instead of .config file directly Anisse Astier
2013-06-14 13:54 ` maximilian attems
2013-06-15 3:11 ` Ben Hutchings
2013-06-17 13:49 ` Anisse Astier
2013-06-23 16:51 ` Ben Hutchings
2013-06-14 9:46 ` [PATCH v5 2/4] deb-pkg: split debug symbols in their own package Anisse Astier
2013-06-14 13:55 ` maximilian attems
2013-06-15 4:03 ` Ben Hutchings
2013-06-17 12:05 ` Anisse Astier [this message]
2013-06-14 9:46 ` [PATCH v5 3/4] deb-pkg: fix installed image path on parisc, mips and powerpc Anisse Astier
2013-06-14 9:46 ` [PATCH v5 4/4] deb-pkg: add a hook argument to match debian hooks parameters Anisse Astier
2013-06-14 15:37 ` maximilian attems
2013-06-14 13:58 ` [PATCH v5 0/4] deb-pkg: bring it a little closer to debian packaging maximilian attems
2013-06-14 15:01 ` Anisse Astier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130617140545.315d4aec@serenity \
--to=anisse@astier.eu \
--cc=ben@decadent.org.uk \
--cc=debian-kernel@lists.debian.org \
--cc=kernel-team@lists.ubuntu.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=max@stro.at \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox