From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <511F797C.3010006@xenomai.org> Date: Sat, 16 Feb 2013 13:20:12 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] packaging question: no kernel dependencies? List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Haberler Cc: xenomai@xenomai.org On 02/16/2013 08:22 AM, Michael Haberler wrote: > I'm working to debian-package linuxcnc with Xenomai userland RT > threads. > > AFAICT building requires only the userland support package, but for > instance not the kernel headers. The way I read > http://www.xenomai.org/documentation/xenomai-2.6/html/README.INSTALL/#_feature_conflict_resolution > it is safe to rely on runtime detection of feature compatibility. > > goof prevention question: Is it safe to wrap such a package without > explicit references to some kernel version? Yes, the only thing which defines the kernel/user ABI, is the branch you are using, so, for instance, you can keep a kernel patched with 2.6.1, and upgrade user-space to 2.6.2.1. And you will get a runtime error if you try running a kernel patched with 2.5.6 with a 2.6.2.1 user-space. -- Gilles.