dholbach | good morning | 06:52 |
---|---|---|
dachary | Hi, 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 |
dachary | I 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 source | 12:12 |
dachary | " | 12:12 |
darkxst | dachary, use quilt | 12:14 |
dachary | hum | 12:14 |
dachary | ho | 12:14 |
dachary | patch + rebuild linux-lts-raring_3.8.0-27.40~precise3.diff.gz with quilt ? | 12:15 |
dachary | I'm used to the new 3.0 quilt source format and kind of forgot how it was done before ;-) | 12:16 |
Ampelbein | dachary: You need to "dpkg-source --commit" after applying the patch, that will automatically create a quilt patch of your changes. | 12:35 |
dachary | oh | 12:35 |
Ampelbein | dachary: (if you use 3.0 source format) | 12:35 |
dachary | Ampelbein: linux-lts-raring package uses format source 1 | 12:36 |
dachary | unfortunately ;-) | 12:36 |
Ampelbein | dachary: oh, i see. Let me check | 12:36 |
Ampelbein | dachary: basically put the patch you want to apply in debian/patches and add it to debian/patches/series. | 12:38 |
Ampelbein | dachary: But if the package doesn't yet use quilt, it gets more complicated | 12:39 |
dachary | I 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 |
dachary | Ampelbein: as you say, it gets complicated ;-) | 12:40 |
Ampelbein | dachary: 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 |
Ampelbein | dachary: 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 |
dachary | Ampelbein: 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 |
dachary | I was hit by two problems at once ;-) | 12:47 |
dachary | sorry for the noise | 12:47 |
=== dholbach_ is now known as dholbach | ||
=== shadeslayer_ is now known as shadeslayer | ||
jalcine | development files for xcb aren't available in the Ubuntu repositories. | 23:34 |
jalcine | is there a reason for that? | 23:34 |
jalcine | More 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!