diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-22 13:44:43 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-22 13:44:43 +0100 |
commit | 03a7f2ef5bfc13b5fc708c8eebb06b8c309bc4e8 (patch) | |
tree | b2f6c7c59a57509d6a28329279e7aa41bc1c96f1 | |
parent | 052c0cfcfff3fdd73636bffd77c2cc4fc07d7e47 (diff) |
Refactor rename rootfs to tarball
-rwxr-xr-x | build.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -9,11 +9,11 @@ image=openwrt name=openwrt generic_rootfs=lede-${ver}-${arch_dash}-generic-rootfs.tar.gz -lxc_rootfs=lede-${ver}-${arch_dash}-lxd.tar.gz +lxc_tar=lede-${ver}-${arch_dash}-lxd.tar.gz metadata=metadata.yaml -build_rootfs() { - fakeroot ./build_rootfs.sh $generic_rootfs $metadata $lxc_rootfs +build_tarball() { + fakeroot ./build_rootfs.sh $generic_rootfs $metadata $lxc_tar } build_metadata() { @@ -41,11 +41,11 @@ EOF } build_image() { - lxc image import $lxc_rootfs --alias $image + lxc image import $lxc_tar --alias $image } build_metadata -build_rootfs +build_tarball build_image echo \# start |