=== himcesjf_ is now known as him-cesjf | ||
=== sakrecoe1 is now known as sakrecoer | ||
FourDollars | How to generate Debian source package from Ubuntu linux-oem git tree? | 11:25 |
---|---|---|
TJ- | FourDollars: isn't it the usual "dpkg-buildpackage -S" ? | 11:30 |
FourDollars | @TJ- No | 11:30 |
FourDollars | @TJ- It looks like I need to execute some commands before `dpkg-buildpackage -S`. | 11:31 |
FourDollars | For example, there is no debian/changelog so it will always fail. | 11:32 |
TJ- | FourDollars: doesn't it have a ./debian-master/ directory? | 11:33 |
FourDollars | TJ-: There is a debian.oem folder. | 11:33 |
TJ- | FourDollars: which tree are you working on? I don't have an -oem remote in my linux git repo | 11:34 |
FourDollars | TJ-: git://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-oem | 11:34 |
TJ- | I do wish they'd keep the kernel trees all in one place! | 11:35 |
TJ- | FourDollars: I see a debian-master/ and debian.oem/ and contents look similar so I'd guess the .oem is based on -master | 11:38 |
FourDollars | Yes, and then? | 11:42 |
TJ- | FourDollars: the debian/rules scripts can read debian.master/ (or $DEBIAN/ ) so I'd guess you need to do something like "fakeroot DEBIAN=debian.oem debian/rules <target>" | 11:47 |
FourDollars | TJ-: No, it doesn't work. | 11:52 |
TJ- | FourDollars: possibly the environment variable needs to be before the faekroot, as in either "DEBIAN=debian.oem fakeroot debian/rules <target>" or "export DEBIAN=debian.oem; fakeroot debian/rules <target>" | 11:53 |
FourDollars | TJ-: `DEBIAN=debian.oem fakeroot debian/rules binary-oem` can start to build the kernel. | 11:56 |
FourDollars | TJ-: But what I was asking is to generate Debian source package so I can upload to PPA. | 11:57 |
* FourDollars AFK | 11:59 | |
FourDollars | My temporary solution is to execute `apt source linux-image-4.13.0-1010-oem` to download the Debian source package, apply the patch set and then generate the Debian source package. However it doesn't look like an efficient way. | 12:12 |
TJ- | FourDollars: Hmmm, not done that in many years. I *think* it's "make-kpkg kernel_source" but not sure how that interacts with $DEBIAN / debian.master / debian.oem | 12:14 |
apw | FourDollars, you should be able to check that tree out, and as long as you clean it (fakeroot debian/rules clean) then it should contain everything you need to package it as a source package | 13:02 |
FourDollars | apw: I still encounter some error when `dpkg-buildpackage -S` after `fakeroot debian/rules clean`. | 16:08 |
FourDollars | http://paste.ubuntu.com/26189304/ | 16:09 |
FourDollars | The complete output http://paste.ubuntu.com/26189309/ | 16:10 |
klebers | FourDollars, try running 'fakeroot debian/rules clean' before | 16:15 |
FourDollars | klebers: I do run `fakeroot debian/rules clean` before. | 16:16 |
FourDollars | klebers: apw: OK. I may know what happens. | 16:17 |
klebers | FourDollars, sorry for my too quick suggestion, you already stated that you were running it before | 16:19 |
FourDollars | It is because `apt source linux-image-4.13.0-1010-oem` and linux-oem git tree exist in the same folder. | 16:19 |
FourDollars | After I deleted everything from `apt source linux-image-4.13.0-1010-oem`, `dpkg-buildpackage -S` works fine under the linux-oem git tree. | 16:20 |
klebers | cool! | 16:20 |
FourDollars | apw: klebers: Thanks a lot. :D | 16:21 |
klebers | :-) | 16:21 |
kees | apw: can you cherry-pick 3db4cafdfd057 into trusty's kernel? just a simple build fix I tripped over with weird configs | 21:33 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!