[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mini-Howto: Build linux-kbuild-3.5



On Mon, Aug 20, 2012 at 2:03 AM, Ben Hutchings <ben@decadent.org.uk> wrote:
> On Fri, 2012-08-17 at 23:22 +0200, Sedat Dilek wrote:
>> Hi,
>>
>> today, I was discussing with Michael and at some point he was
>> complaining about the missing linux-kbuild-3.5 package in the Debian
>> software archives.
>> He was not able to install linux-headers-3.5 Debian package as it depends on it.
>>
>> So, this is for you, Michael.
>>
>> Hope this helps others as well.
>
> Thanks for pointing out the problems you had to work around, Sedat.
> I've fixed them in svn (I think) and will upload to experimental
> shortly.
>

Hi Ben,

A big thank you for taking care!

Some notes and questions from here and IRC:

[1] Dropped perf-UI support

A wise decision for know.
Yes, I have libgtk2.0-dev installed on my Debian/testing box.
( This mammoth should be a Build-Depends when enabling perf-UI (Have fun!). )

[2] [PATCH] perf: Fix include order for bison/flex-generated C files
(sent to upstream)

Thanks for the patch (see [1]).
Is the misbehaviour with "/usr/include/perf.h" provided by
firebird-dev package gone with that patch?
Should firebird-dev rename its "perf.h" to something like
"firebird_perf.h" to avoid such a misbehaviour?

[3] Repacking Linux vanilla source now obsolete

Thanks, this was really appreciated (see [2])!

[ debian/bin/genorig.py (r19335) ]

[CODE]
Line #105: match =
re.match(r'(^|.*/)(?P<dir>linux-\d+\.\d+(\.\d+)?(-\S+)?)\.tar(\.(?P<extension>(bz2|gz)))?$',
input_tar)
[CODE]

It is possible to get xz-tarball support (currently bzip2 or gzip)?

Or to go a step further, what about an xz-compressed linux-tools orig-tarball?
Here from my generated tarball (sizes in KiB):

$ tar -xf linux-tools_3.5.orig.tar.gz
$ tar -c --xz -f linux-tools_3.5.orig.tar.xz linux-tools-3.5/
$ du -k *.orig*
9280    linux-tools_3.5.orig.tar.gz
6316    linux-tools_3.5.orig.tar.xz

Approx. 3MiB should be a good reason :-)?
Note: The default compression-level of xz is "-6" and "-9" is maximum
(see man xz).

[4] Debian-Kernel Wiki

There is a different handling of linux-2.6/linux-kbuild-2.6 VS.
linux/linux-tools.
Hector (zumbi) pointed to this already in [3].
Dunno, might be worth to write a separate Email on this topic?
( Just fell over this when people asked me for integration of my
Mini-Howto, see [4]. )

Kind Regards,
- Sedat -

References:

[1] http://marc.info/?l=linux-kernel&m=134542880500616&w=2
[2] http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux-tools/debian/bin/genorig.py?r1=19335&r2=19334
[3] http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage
[4] http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage#The_story_of_linux-kbuild-2.6

> Ben.
>
> --
> Ben Hutchings
> The most exhausting thing in life is being insincere. - Anne Morrow Lindberg


Reply to: