Compare commits

...
2 Commits
50 ... 51
Author SHA1 Message Date
Patrick McCarty 7cd99f98ed Release v51
Switches the debuginfo tarball compression format from xz to zstd.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-11-13 14:04:27 -08:00
Josue David Hernandez Gutierrez 0387249d7a change xz for zstd
Fixes #4

Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
2019-11-13 14:02:55 -08:00
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ([2.66]) AC_PREREQ([2.66])
AC_INIT(clr-debug-info, 50, arjan@linux.intel.com) AC_INIT(clr-debug-info, 51, arjan@linux.intel.com)
AM_INIT_AUTOMAKE([foreign -Wall -W subdir-objects]) AM_INIT_AUTOMAKE([foreign -Wall -W subdir-objects])
AM_SILENT_RULES([yes]) AM_SILENT_RULES([yes])
AC_PROG_CC AC_PROG_CC
+4 -4
View File
@@ -66,17 +66,17 @@ process_one() {
mkdir -p "$destdir" mkdir -p "$destdir"
if [ "$filetype" = "f" ]; then if [ "$filetype" = "f" ]; then
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent" tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
elif [ "$filetype" = "l" ]; then elif [ "$filetype" = "l" ]; then
# We "unsymlink" non-broken symlinks as an optimization by adding the # We "unsymlink" non-broken symlinks as an optimization by adding the
# symlink target to the dest tarball, transforming the name as appropriate. # symlink target to the dest tarball, transforming the name as appropriate.
if target=$(realpath -e "$srcloc" --relative-to="$srcdir" 2> /dev/null); then if target=$(realpath -e "$srcloc" --relative-to="$srcdir" 2> /dev/null); then
tar --no-recursion -C "$srcdir" -Jcf "$dest" --transform='s|.*|'"$tarcontent"'|' "$target" tar --no-recursion -C "$srcdir" --zstd -cf "$dest" --transform='s|.*|'"$tarcontent"'|' "$target"
else else
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent" tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
fi fi
elif [ "$filetype" = "d" ]; then elif [ "$filetype" = "d" ]; then
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent" tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
fi fi
} }
export -f process_one export -f process_one