Skip to content

Commit

Permalink
remove --format=ustar to support name lengths > 99
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileoverlord authored and fhunleth committed Jan 24, 2018
1 parent c8858af commit 44056aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/mksystem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ cp -R $BASE_DIR/staging/* $WORK_DIR/$ARCHIVE_NAME/staging
rm -f $WORK_DIR/$ARCHIVE_NAME/images/*.fw
rm -f $WORK_DIR/$ARCHIVE_NAME/images/$ARCHIVE_NAME.img

# The --format=ustar makes it possible for erl_tar to extract these archives
tar c -z -f $BASE_DIR/$ARCHIVE_NAME.tar.gz -C $WORK_DIR --format=ustar $ARCHIVE_NAME
tar c -z -f $BASE_DIR/$ARCHIVE_NAME.tar.gz -C $WORK_DIR $ARCHIVE_NAME

rm -fr $WORK_DIR

0 comments on commit 44056aa

Please sign in to comment.