[pkg-lxc-devel] syncing lxcfs from Debian to Ubuntu
Serge E. Hallyn
serge at hallyn.com
Thu Oct 27 14:20:59 UTC 2016
Quoting Evgeni Golov (evgeni at debian.org):
> Ohai,
>
> On Sun, Oct 23, 2016 at 01:51:20PM -0500, Serge E. Hallyn wrote:
> > > > That being said, we may be able to convince our Debian friends to turn
> > > > this into:
> > > >
> > > > systemd | cgroupfs-mount | cgroup-lite
> > > >
> > > > Which should then work fine everywhere and avoid us having to carry that
> > > > delta for another 3 years.
> > >
> > > But that only would work, if Debian had cgroup-lite, which it does not.
> >
> > Hm? I thought that '| cgroup-lite' was fine if cgroup-lite did not
> > exist?
> >
> > (I'm showing my naivité I'm sure)
>
> Not in Debian, at least [1].
> But jamessan in #debian-devel had a good idea.
> We could use ${lxcfs:Depends} in the control file and generate that var
> dynamically in d/rules, checking whether we build for Ubuntu or Debian
> (using dpkg-vendor / /usr/share/dpkg/vendor.mk).
>
> How does that sound to you?
It's fine with me (we do that sort of thing in qemu), but when Stéphane
objected I thought it was about another problem he had with the synced
packaging. Stéphane, do you have a problem with just dropping |
cgroup-lite from the dependencies for lxcfs? I see we'd have to add
cgroupfs-mount to trusty-backports, but other than that it should be ok.
More information about the Pkg-lxc-devel
mailing list