scripts: generate a zip instead of a tarball for our log archive
Github doesn't allow uploading a tarball but a zip archive.
This commit is contained in:
parent
bcb3701a97
commit
4fd574316f
3 changed files with 15 additions and 4 deletions
|
|
@ -48,12 +48,12 @@ fi
|
|||
|
||||
echo "Generating archive with all log files in $PWD ..."
|
||||
CURDIR=$PWD
|
||||
(cd $TMPDIR; tar cJf $CURDIR/anbox-system-diagnostics-$(date --rfc-3339=date --utc).tar.xz *)
|
||||
(cd $TMPDIR; zip -r $CURDIR/anbox-system-diagnostics-$(date --rfc-3339=date --utc).zip *)
|
||||
rm -rf $TMPDIR
|
||||
echo "DONE!"
|
||||
|
||||
echo
|
||||
echo "Now please take the tarball generate in your current directory and"
|
||||
echo "attach it to your bug report. Please don't hesitate to have a look"
|
||||
echo "into the tarball before you do so to verify you don't leak any"
|
||||
echo "Now please take the ZIP archive generated in your current directory"
|
||||
echo "and attach it to your bug report. Please don't hesitate to have a"
|
||||
echo "look into the archive before you do so to verify you don't leak any"
|
||||
echo "information you don't want!"
|
||||
|
|
|
|||
4
snap/.snapcraft/state
Normal file
4
snap/.snapcraft/state
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
!GlobalState
|
||||
assets:
|
||||
build-packages: []
|
||||
build-snaps: []
|
||||
|
|
@ -144,6 +144,13 @@ parts:
|
|||
stage-packages:
|
||||
- apparmor
|
||||
|
||||
zip:
|
||||
plugin: nil
|
||||
stage-packages:
|
||||
- zip
|
||||
prime:
|
||||
- usr/bin/zip
|
||||
|
||||
lxc:
|
||||
source: https://github.com/lxc/lxc
|
||||
source-type: git
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue