reproduce-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #15699] Unified format for software tarballs


From: Mohammad Akhlaghi
Subject: [task #15699] Unified format for software tarballs
Date: Sun, 31 Oct 2021 20:09:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0

Follow-up Comment #9, task #15699 (project reproduce):

In the (long!) process of updating the Maneage software and unifying the
tarball format, I have found one package so far that has long file names (and
fails with the ustar method): Boost <https://www.boost.org>. 

So to have a single place for future reference, here is the updated
command-set (with comments!) to use:


 odir=ORIGINAL_DIR
suffix=ORIGINAL_SUFFIX
name=PACKAGE_NAME_VERSION

tar -xf $odir/$name.tar.$suffix \
    && tar -c -Hustar --owner=root --group=root \
           -f $name.tar $name/ \
    && lzip -9 $name.tar \
    && rm -r $name/

# If 'tar' fails with 'file name is too long (cannot be split)',
# make the following change: '-Hustar' --> '-Hpax'.


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?15699>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]