Sen descrición

Mikael Magnusson 7bc64a34f5 Enable lxd console %!s(int64=5) %!d(string=hai) anos
docker 704b9e8f63 Add Dockerfile for arm64 cross build %!s(int64=6) %!d(string=hai) anos
files 7bc64a34f5 Enable lxd console %!s(int64=5) %!d(string=hai) anos
patches e7d351990a Support builds without procd patches %!s(int64=5) %!d(string=hai) anos
scripts eac1d0b868 Add /etc/openwrt_manifest %!s(int64=5) %!d(string=hai) anos
templates 052c0cfcff Add template sample %!s(int64=7) %!d(string=hai) anos
.gitignore a565c8b249 Build procd in downloaded sdk %!s(int64=7) %!d(string=hai) anos
LICENSE 342f76739a Add license %!s(int64=7) %!d(string=hai) anos
README 8b67a2a907 Allow running with sudo or as root instead of fakeroot %!s(int64=6) %!d(string=hai) anos
build.sh e7d351990a Support builds without procd patches %!s(int64=5) %!d(string=hai) anos

README

lxd-openwrt
===========

Scripts for building LXD images from OpenWrt rootfs tarballs. The OpenWrt SDK is used to build a patched procd package.

Requirements
------------
It's recommended you use Debian or Ubuntu on the build system. The following additional packages are required on Ubuntu 18.04:

* build-essential
* subversion
* fakeroot
* gawk
* gpg

Configuration
-------------
Refer to the top of build.sh.

Usage
-----
./build.sh [-a|--arch x86_64|i686|aarch64] [-v|--version ] [-p|--packages ] [-f|--files] [-t|--type lxd|plain] [-s|--super fakeroot|sudo] [--help]

Example
-------
./build.sh -v 18.06.2
lxc image import bin/openwrt-18.06.2-x86-64-lxd.tar.gz --alias openwrt
lxc launch openwrt router
lxc exec router passwd root