Multi file/split archive
Hi,
I have a large setup package (about 19GB/9GB compressed) so I'm trying to split it with the tar Tape and Multi-volume options. I'm hoping someone else has come up against this and might have some recommendations on how to approach it (aside from the obvious of reducing the package size)
When running makeself with the following command I get the errors below: sh ./makeself/makeself.sh --tar-format gnu --gzip --tar-extra '--tape-length=1048576 -M --file=tar_archive.{tar,tar-{2..100}}' my-installer.run 'Installer' ./setup.sh
About to compress 19761280 KB of data... Adding files to archive named "installer.run"... tar: This does not look like a tar archive Prepare volume #2 for ‘tar_archive.{tar,tar-{2..100}}’ and hit return: tar: EOF where user reply was expected tar: WARNING: Archive is incomplete tar: Error is not recoverable: exiting now ERROR: failed to create temporary archive: /tmp/mkself60979.tar
If I run tar with the extras provided to makeself it works fine:
tar --tape-length=1048576 -cMv --file=tar_archive.{tar,tar-{2..100}}
Tar options -c and -v I've omitted since makeself is passing that through already. I've also tried with and without the --gzip flag. I'm using the gnu format as the ustar default errors out due to the size.
Running on ubuntu 22.04.
Thanks in advance.
Hi, did you find a solution to this? We're using makeself to package up a 5GiB archive and I've just found out that our download centre can only handle 1GiB files...
Sorry no luck with splitting.