remove group/user ownership during tar creation

pull/13/head
knaccc 5 years ago
parent 5c1e978406
commit fc30c5792c

@ -7,6 +7,10 @@
This project will run under Linux, and build native launchers for Linux, MacOS and Windows.
The launchers will include the I2P router, a SAM listener, simple tunnel and socks tunnel functionality and a minimal JVM.
## Downloads
Download the latest binary releases for Mac/Windows/Linux here: https://github.com/i2p-zero/i2p-zero/releases
## GUI Screenshots
<img src="https://github.com/knaccc/i2p-zero/blob/master/screenshot1.png" align="center" width="472" height="440">
@ -44,7 +48,7 @@ Note that the current version of this script uses jdk-12. If this version of Jav
download, then update the references in java-config.sh to the later version. To locate a recent
JDK download URL, see https://jdk.java.net/12/
Also note that JDKs for Linux, MacOS and Windows will be downloaded, which will total several hundred megabytes.
Also note that JDKs for Linux, MacOS and Windows will be downloaded, which will total several hundred megabytes. You may need to ensure your system has zip, unzip and bzip2 installed to run the build script.
Run the `bin/build-all.sh` script, which will in turn call the following scripts:

@ -21,7 +21,7 @@ for i in linux linux-gui mac mac-gui win win-gui; do cp -r ${i} "$basedir"/dist-
cd "$basedir/dist-zip-staging"
for i in win win-gui; do zip -r9 "$basedir"/dist-zip/i2p-zero-${i}.v${VERSION}.zip i2p-zero-${i}.v${VERSION}; done
for i in linux linux-gui mac mac-gui; do tar -jcvf "$basedir"/dist-zip/i2p-zero-${i}.v${VERSION}.tar.bz2 i2p-zero-${i}.v${VERSION}; done
for i in linux linux-gui mac mac-gui; do tar --{owner,group}=nobody -jcvf "$basedir"/dist-zip/i2p-zero-${i}.v${VERSION}.tar.bz2 i2p-zero-${i}.v${VERSION}; done
cd ..
du -sh "$basedir/dist-zip/"*.zip

Loading…
Cancel
Save