[systemd-devel] [PATCH] missing.h: add more btrfs types and defines

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Mar 24 14:08:44 PDT 2015


On Thu, Mar 19, 2015 at 02:48:24PM +0100, Michael Olbrich wrote:
> On Thu, Mar 19, 2015 at 02:05:00PM +0100, David Herrmann wrote:
> > On Wed, Mar 18, 2015 at 2:04 PM, Michael Olbrich
> > <m.olbrich at pengutronix.de> wrote:
> > > it seems we're getting a lot of btrfs stuff here. Maybe we should ship a
> > > copy of btrfs.h instead?
> > 
> > All these definitions where introduced with linux-3.8 (well, the
> > header was moved to linux/btrfs.h at that time). Our current
> > requirement is linux-3.7. I'd just say, lets require linux-headers-3.8
> > at build-time?
> 
> Actually, that would be 3.9 not 3.8. And I'd really like to avoid such a
> dependency. When cross-compiling for embedded systems, a host
> 'systemd-hwdb' is needed to generate the hwdb. And build servers often run
> older Distributions (e.g. Debian stable).
Bumping the minimum kernel version will happen sooner or later, but
the btrfs headers don't seem to be an important enough reason. Since
we already have this patch, let's just use it.

Applied.

Zbyszek


More information about the systemd-devel mailing list