From 30089f0408a411469f82a032b3a4fb2f003a0fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nagy=20K=C3=A1roly=20G=C3=A1briel?= Date: Fri, 20 Nov 2020 09:14:48 +0200 Subject: [PATCH] toolchain: make the rootfs creation less chatty --- target/share/docker/build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/target/share/docker/build.sh b/target/share/docker/build.sh index 003dfb6..7ec2b5d 100644 --- a/target/share/docker/build.sh +++ b/target/share/docker/build.sh @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: target/share/docker/build.sh -# Copyright (C) 2016 The OpenSDE Project +# Copyright (C) 2016 - 2020 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,7 +12,7 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -#Description: Build an archived rootfs for docker images +#Description: Build a compressed rootfs for docker images set -e . $base/target/share/functions.in @@ -25,11 +25,12 @@ mkdir -p $dockerdir mkdir -p $imagelocation cd $build_toolchain/pkgs +echo "Populating the root file-system (this may take some time) ..." for pack in *.bz2; do - tar -xjvf $pack -C $imagelocation + tar -xjf $pack -C $imagelocation done echo "Creating root file-system (this may take some time) ..." cd $dockerdir -time tar -cjvf rootfs.tar.bz2 -C $imagelocation . +time tar -cjf rootfs.tar.bz2 -C $imagelocation . echo_status "Done!"