Scripts for building LXD images from OpenWrt rootfs tarballs.
Branch: master
Clone or download
oms-kauz and mikma Disable services (sysfixtime, sysntpd, led)
These services aren't necessary in a container,
because there are no leds and time is kept in
sync inside the hypervisor system.
Latest commit 55d80d6 Feb 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker docker: Trigger container init Nov 30, 2018
files/etc Set hostname Jul 31, 2018
patches Sync patches Nov 29, 2018
scripts Disable services (sysfixtime, sysntpd, led) Feb 10, 2019
templates Add template sample Feb 22, 2018
.gitignore Build procd in downloaded sdk Feb 26, 2018
LICENSE Add license Feb 26, 2018
README Allow running with sudo or as root instead of fakeroot Feb 2, 2019
build.sh Disable services (sysfixtime, sysntpd, led) Feb 10, 2019

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 <version>] [-p|--packages <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