From 03a7f2ef5bfc13b5fc708c8eebb06b8c309bc4e8 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 22 Feb 2018 13:44:43 +0100 Subject: Refactor rename rootfs to tarball --- build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 93783d0..d5f68c4 100755 --- a/build.sh +++ b/build.sh @@ -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 -- cgit v1.2.3