Add artifact containing a list of debian packages

This commit is contained in:
jalr 2018-05-19 21:02:41 +02:00
parent c9a647f0dc
commit 55bb5cdc7d

View file

@ -4,6 +4,7 @@
"squashfs_file": "{{env `NAME`}}.squashfs",
"initramfs_file": "{{env `NAME`}}.initramfs",
"linux_file": "{{env `NAME`}}.linux",
"dpkg_list_file": "{{env `NAME`}}.dpkg-list",
"compression_level": "{{env `COMPRESSION_LEVEL`}}",
"images": "{{env `IMAGES`}}",
"ci_job_id": "{{env `CI_JOB_ID`}}",
@ -96,6 +97,7 @@
"set -x",
"apt-get -y install squashfs-tools",
"dpkg -L squashfs-tools liblzo2-2 | while read f; do [ -f \"$f\" ] && echo \"$f\"; done > /tmp/ignore_files",
"dpkg -l > /tmp/images/{{ user `dpkg_list_file` }}",
"echo '/etc/resolv.conf' >> /tmp/ignore_files",
"echo '/etc/hostname' >> /tmp/ignore_files",
"echo '/etc/hosts' >> /tmp/ignore_files",