diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-02-02 16:49:42 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-02-02 16:53:14 +0100 |
commit | 8b67a2a9070a41396078f8381eb79b23c804db7d (patch) | |
tree | 16c18eb3819ee89870be026be21b4d549e2e85e1 /README | |
parent | 36879338f9ff5100eebb30f8c6b48fd32d4df852 (diff) |
Allow running with sudo or as root instead of fakeroot
It works around a problem with fakeroot as seen in github pull
request #6.
Pack rootfs
tar: rootfs/usr/lib/opkg/info/dropbear.conffiles: Cannot readlink: Invalid argument
tar: rootfs/usr/lib/opkg/info/dropbear.control: Cannot readlink: Invalid argument
tar: Exiting with failure status due to previous errors
Tarball built: bin/openwrt-18.06.1-x86-64-lxd.tar.gz
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,11 +19,11 @@ Refer to the top of build.sh. Usage ----- -./build.sh [-a|--arch <x86_64|i686|aarch64>] [-v|--version <version>] [-p|--packages <packages>] [-f|--files] [--help] +./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.1 -lxc image import bin/openwrt-18.06.1-x86-64-lxd.tar.gz --alias openwrt +./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 |