Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-02-16 Thread Kumar Appaiah
Dear Raju, On Fri, Feb 16, 2018 at 09:18:06PM +0530, Raju Devidas wrote: > Hello Kumar, > > I took a look at your repository on salsa.  > Before taking a look at your repository I have also taken a look at some > other repositories on github which had steps for > supporting Ubuntu on the RDP. >

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-02-16 Thread Raju Devidas
Hello Kumar, I took a look at your repository on salsa.  Before taking a look at your repository I have also taken a look at some other repositories on github which had steps for supporting Ubuntu on the RDP. Specially this one. https://github.com/sundarnagarajan/rdp-thinbook-linux Most of the

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware (an update)

2018-02-11 Thread Kumar Appaiah
Dear Vincent, On Sat, Feb 10, 2018 at 08:37:59PM +0100, Vincent Bernat wrote: > ❦ 11 février 2018 00:05 +0530, Kumar Appaiah  : > > > - Adding my custom patched rfkill DKMS package and ensuring that > > linux-headers is also installed, so that I can use the > > preseed/late_command to build

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware (an update)

2018-02-11 Thread Vincent Bernat
❦ 11 février 2018 00:05 +0530, Kumar Appaiah  : > - Adding my custom patched rfkill DKMS package and ensuring that > linux-headers is also installed, so that I can use the > preseed/late_command to build the DKMS module. dkms is able to build an udeb you can ship with the installer. This can

Maintaining a custom out-of-tree patched Debian kernel for specific hardware (an update)

2018-02-10 Thread Kumar Appaiah
Dear Debian Developers, This is a follow-up to https://lists.debian.org/debian-devel/2018/01/msg00461.html (Message-ID: <20180122140840.GA4580@odessa>). Some good people in the thread above mentioned that maintaing a forked kernel merely for two one-line patches is too much. I disagreed initially

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Kumar Appaiah
Dear Ian, On Tue, Jan 23, 2018 at 02:08:48PM +, Ian Campbell wrote: > > > Also, the patches being that small, what's stopping them from > > > being upstreamed? > > > > This is something beyond my understanding. Other distributions, such > > as Linux Mint, Ubuntu etc. also do not possess those

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Ian Campbell
On Tue, 2018-01-23 at 18:20 +0530, Kumar Appaiah wrote: > On Tue, Jan 23, 2018 at 10:27:06AM -0200, Antonio Terceiro wrote: > > On Mon, Jan 22, 2018 at 07:38:41PM +0530, Kumar Appaiah wrote: > > > Dear Debian Developers, > > > > > > I am part of a team working on getting Debian on low cost laptops

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Ian Campbell
On Tue, 2018-01-23 at 17:53 +0530, Kumar Appaiah wrote: > > You should definitately give the package a distinct version and you > > should _probably_ give it either a distinct ABI or flavour (or possibly > > both). You will probably also want to put a digit in your distinct ABI > > so you can rev i

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Daniel Reichelt
On 01/23/2018 10:56 AM, Philipp Kern wrote: > On 01/23/2018 01:34 AM, Daniel Reichelt wrote: >> In order to not interfere with the modules provided by the linux-image-* >> packages, [...] >> (An alternative to changing module names might be to use >> update-alternatives or dpkg-divert and just prov

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Kumar Appaiah
On Tue, Jan 23, 2018 at 10:27:06AM -0200, Antonio Terceiro wrote: > On Mon, Jan 22, 2018 at 07:38:41PM +0530, Kumar Appaiah wrote: > > Dear Debian Developers, > > > > I am part of a team working on getting Debian on low cost laptops (see > > http://www.rdp.in for details) so that they can be sold

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Kumar Appaiah
On Tue, Jan 23, 2018 at 10:02:55AM +, Ian Campbell wrote: > On Mon, 2018-01-22 at 19:38 +0530, Kumar Appaiah wrote: > > 1. The laptop will ship with stretch preinstalled, but with a custom > > kernel built using the linux-source-x.xx.xx package with a custom > > version number, such as linux-im

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Kumar Appaiah
Dear Daniel, On Tue, Jan 23, 2018 at 01:34:32AM +0100, Daniel Reichelt wrote: > Hi, > > what about ripping out the affected kernel modules and provide the > patched sources in a separate package and have them built at install > time via DKMS? > > In order to not interfere with the modules provid

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Antonio Terceiro
On Mon, Jan 22, 2018 at 07:38:41PM +0530, Kumar Appaiah wrote: > Dear Debian Developers, > > I am part of a team working on getting Debian on low cost laptops (see > http://www.rdp.in for details) so that they can be sold with Debian > preinstalled. While vanilla Debian largely works, unfortunatel

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Kumar Appaiah
On Tue, Jan 23, 2018 at 10:14:42AM +0100, Jonas Smedegaard wrote: > > Thanks. I'll keep this in mind. The only point I'd like to emphasize > > is that we are clear that ours will NOT be a derived distribution; our > > Debian will have only a few kernel line diffs with the pristine > > Debian, an

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Ian Campbell
On Mon, 2018-01-22 at 19:38 +0530, Kumar Appaiah wrote: > 1. The laptop will ship with stretch preinstalled, but with a custom > kernel built using the linux-source-x.xx.xx package with a custom > version number, such as linux-image-4.14.13-iitb-amd64. A silly nitpick but the "4.14.13-iitb-amd64"

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Philipp Kern
On 01/23/2018 01:34 AM, Daniel Reichelt wrote: > In order to not interfere with the modules provided by the linux-image-* > packages, [...] > (An alternative to changing module names might be to use > update-alternatives or dpkg-divert and just provide/integrate the > renamed .ko files) FWIW, this

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-23 Thread Jonas Smedegaard
Quoting Kumar Appaiah (2018-01-23 01:02:04) > On Mon, Jan 22, 2018 at 04:29:22PM +0100, Jonas Smedegaard wrote: >>> 1. The laptop will ship with stretch preinstalled, but with a custom >>> kernel built using the linux-source-x.xx.xx package with a custom >>> version number, such as linux-image-4.

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-22 Thread Daniel Reichelt
Hi, what about ripping out the affected kernel modules and provide the patched sources in a separate package and have them built at install time via DKMS? In order to not interfere with the modules provided by the linux-image-* packages, you could - rename the kernel modules provided by your mod

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-22 Thread Kumar Appaiah
Dear Jonas, Good to hear from you. On Mon, Jan 22, 2018 at 04:29:22PM +0100, Jonas Smedegaard wrote: > Hi Kumar, > > Quoting Kumar Appaiah (2018-01-22 15:08:41) > > I am part of a team working on getting Debian on low cost laptops (see > > http://www.rdp.in for details) so that they can be sold

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-22 Thread Kumar Appaiah
Dear Ian, On Mon, Jan 22, 2018 at 02:32:21PM +, Ian Jackson wrote: > Kumar Appaiah writes ("Maintaining a custom out-of-tree patched Debian kernel > for specific hardware"): > ... > > 4. Users will be made aware of the fact that this is Debian with a > >

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-22 Thread Jonas Smedegaard
Hi Kumar, Quoting Kumar Appaiah (2018-01-22 15:08:41) > I am part of a team working on getting Debian on low cost laptops (see > http://www.rdp.in for details) so that they can be sold with Debian > preinstalled. Looks quite interesting! Thanks for packaging raising questions here. > 1. The l

Re: Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-22 Thread Ian Jackson
Kumar Appaiah writes ("Maintaining a custom out-of-tree patched Debian kernel for specific hardware"): ... > 4. Users will be made aware of the fact that this is Debian with a > custom kernel without ambiguity. > > Now, whenever there is a kernel update in Debian, our

Maintaining a custom out-of-tree patched Debian kernel for specific hardware

2018-01-22 Thread Kumar Appaiah
Dear Debian Developers, I am part of a team working on getting Debian on low cost laptops (see http://www.rdp.in for details) so that they can be sold with Debian preinstalled. While vanilla Debian largely works, unfortunately, making Bluetooth and sound work require kernel rebuilding. The patches