Skip to content

Scripts for building LXD images from OpenWrt rootfs tarballs.

License

Notifications You must be signed in to change notification settings

wenzhuoz/lxd-openwrt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Scripts for building LXD images from OpenWrt rootfs tarballs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.7%
  • Dockerfile 4.1%
  • Smarty 0.2%