diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-03-21 20:38:40 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-03-21 20:38:40 +0100 |
commit | 1810f6f2f22b642268e334d1dd9af1581337c93c (patch) | |
tree | d3628e3c142ca21e2f363d6d86d637c904042271 /build.sh | |
parent | 6b320900b70ae1b288d35ca9182a70a933d7834d (diff) |
Add upgrade option
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -155,6 +155,9 @@ build_procd() { build_tarball() { export SDK="$(pwd)/${sdk}" local opts="-m $metadata" + if test ${ver} != snapshot; then + opts="$opts --upgrade" + fi fakeroot scripts/build_rootfs.sh $rootfs $opts -o $lxc_tar --arch=${arch} --subarch=${subarch} --packages="${packages}" --files="${files}" } |