[OpenWrt-Devel] [PATCH] images: Add option to build tar.gz suitable for use as LXC guest rootfs
Felix Fietkau
nbd at openwrt.org
Sun Jan 3 16:35:49 EST 2016
On 2015-12-17 10:40, openwrt at daniel.thecshore.com wrote:
> From: Daniel Dickinson <openwrt at daniel.thecshore.com>
>
> An any target with targz image support we add the option of building
> a tar.gz which is suitably configured to run as an LXC guest rootfs.
>
> NB: This does not require kernel support; the LCX *host* requires
> the appropriate kernel support, but building the guest does not
> need such support enabled.
>
> Signed-off-by: Daniel Dickinson <openwrt at daniel.thecshore.com>
There's quite a bit of nasty code duplication in there. Also, I wonder:
Do we really need to have a separate .tar.gz for lxc? Can't the use of
lxc be detected and dealt with in the standard scripts instead of
introducing more quirky hackery?
- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list