Subject: bug#583: lxc-templates: Devuan template for LXC

From: Mark Hindley <[email-masked]>
Date: Sun, 30 May 2021 12:49:59 +0100

Control: tags upstream

Ryutaroh,

On Sun, May 30, 2021 at 07:07:51PM +0900, Ryutaroh Matsumoto wrote:
> Package: lxc-templates
> Version: 3.0.4-5
> Severity: normal
> Tags: patch chimaera ceres
> 
> Dear Maintainer,
> 
> There is no official way to build an LXC container running a Devuan host.
> I modified /usr/share/lxc/templates/lxc-debian so that it can install Devuan
> as attached diff.
> I tested the modified template by the following two cases
> on Devuan Chimaera amd64 host:
> 
> lxc-create -n devuan-beowulf -t devuan -- -F --enable-non-free -r beowulf
> lxc-create -n beowulf-arm64 -t devuan -- -F --enable-non-free -r beowulf -a arm64

Thanks for this. However Devuan doesn't fork any of the lxc pacakges and uses
Debian's pacakges directly without recompilation. This is probably best included
by submitting upstream, either to Debian or perhaps better
https://linuxcontainers.org/.

Are you able to do one of those?

Thanks

Mark