Skip to content

Commit

Permalink
build tar.xz tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Magolan committed Jan 27, 2021
1 parent acea5be commit 87c56f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/linux/sysroot_scripts/sysroot-creator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ SanityCheck() {

# This is where the staging sysroot is.
INSTALL_ROOT="${BUILD_DIR}/${DIST}_${ARCH_LOWER}_staging"
TARBALL="${BUILD_DIR}/${DISTRO}_${DIST}_${ARCH_LOWER}_sysroot.tgz"
TARBALL="${BUILD_DIR}/${DISTRO}_${DIST}_${ARCH_LOWER}_sysroot.tar.xz"

if ! mkdir -p "${INSTALL_ROOT}" ; then
echo "ERROR: ${INSTALL_ROOT} can't be created."
Expand All @@ -184,7 +184,7 @@ ClearInstallDir() {

CreateTarBall() {
Banner "Creating tarball ${TARBALL}"
tar zcf ${TARBALL} -C ${INSTALL_ROOT} .
tar -I "xz -9 -T0" -cf ${TARBALL} -C ${INSTALL_ROOT} .
}

ExtractPackageGz() {
Expand Down

0 comments on commit 87c56f3

Please sign in to comment.