/srv/irclogs.ubuntu.com/2013/07/30/#ubuntu-motu.txt

dholbachgood morning06:52
dacharyHi, I'm trying to build a custom kernel package based on linux-lts-raring_3.8.0-27.40~precise3.diff.gz I would like to add a patch but I don't know how to proceed.12:11
dacharyI tried to just add the patch after dpkg-source -x + dpkg-buildpackage but it complains that I'm trying to "dpkg-source: unrepresentable changes to source12:12
dachary"12:12
darkxstdachary, use quilt12:14
dacharyhum12:14
dacharyho12:14
dacharypatch + rebuild linux-lts-raring_3.8.0-27.40~precise3.diff.gz with quilt ?12:15
dacharyI'm used to the new 3.0 quilt source format and kind of forgot how it was done before ;-)12:16
Ampelbeindachary: You need to "dpkg-source --commit" after applying the patch, that will automatically create a quilt patch of your changes.12:35
dacharyoh12:35
Ampelbeindachary: (if you use 3.0 source format)12:35
dacharyAmpelbein:  linux-lts-raring package uses format source 112:36
dacharyunfortunately ;-)12:36
Ampelbeindachary: oh, i see. Let me check12:36
Ampelbeindachary: basically put the patch you want to apply in debian/patches and add it to debian/patches/series.12:38
Ampelbeindachary: But if the package doesn't yet use quilt, it gets more complicated12:39
dacharyI could do that but I'm confused as to how all the other patches were added. Also debian/patches probably requires that debian/rules has support for it and it does not seem to be the case.12:39
dacharyAmpelbein: as you say, it gets complicated ;-)12:40
Ampelbeindachary: When you get the "unrepresentable changes" error, it should point to a file, generally some binary file that can't be represented in the diff.12:43
Ampelbeindachary: I forgot that in source format 1.0 you can just change files in the tree as long as it's no binary change. dpkg-source will complain but it should build just fine. Can you paste the complete error?12:44
dacharyAmpelbein: you are correct. The problem is not with the patch I did. It's with a binary file that is a leftover of the previous kernel build...12:46
dacharyI was hit by two problems at once ;-)12:47
dacharysorry for the noise12:47
=== dholbach_ is now known as dholbach
=== shadeslayer_ is now known as shadeslayer
jalcinedevelopment files for xcb aren't available in the Ubuntu repositories.23:34
jalcineis there a reason for that?23:34
jalcineMore specifically, extensions for XKB to XCB aren't there.23:36

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!