Skip to content

Commit

Permalink
Revert "[installer]: Suppress tar xz warning about time stamp in the …
Browse files Browse the repository at this point in the history
…future, if date is not correctly set (#1560)" (#1561)

This reverts commit 0996356.
  • Loading branch information
lguohan authored Apr 5, 2018
1 parent 0996356 commit 1051d82
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions installer/x86_64/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -446,11 +446,7 @@ fi
# Decompress the file for the file system directly to the partition
unzip -o $ONIE_INSTALLER_PAYLOAD -x "$FILESYSTEM_DOCKERFS" -d $demo_mnt/$image_dir
if [ "$install_env" != "build" ]; then
TAR_EXTRA_OPTION="--numeric-owner"
else
TAR_EXTRA_OPTION="--numeric-owner --warning=no-timestamp"
fi
TAR_EXTRA_OPTION="--numeric-owner"
mkdir -p $demo_mnt/$image_dir/$DOCKERFS_DIR
unzip -op $ONIE_INSTALLER_PAYLOAD "$FILESYSTEM_DOCKERFS" | tar xz $TAR_EXTRA_OPTION -f - -C $demo_mnt/$image_dir/$DOCKERFS_DIR
Expand Down

0 comments on commit 1051d82

Please sign in to comment.