Skip to content

Commit f203105

Browse files
authored
Delete named pipes instead of broadly excluding fifo files (#2035)
* Delete named pipes instead of broadly excluding fifo files Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Another test case Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --------- Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
1 parent f3973f6 commit f203105

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/wolfi-presubmit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
- dpkg
6868
#- gdk-pixbuf # Looks like this is broken again, see: https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/515
6969
- gitsign
70+
- grafana-image-renderer
7071
- guac
7172
- mdbook
7273
- s3cmd

pkg/container/qemu_runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ func (bw *qemu) WorkspaceTar(ctx context.Context, cfg *Config, extraFiles []stri
425425
// We could just cp -a to /mnt as it is our shared workspace directory, but
426426
// this will lose some file metadata like hardlinks, owners and so on.
427427
// Example of package that won't work when using "cp -a" is glibc.
428-
retrieveCommand := "cd /mount/home/build && tar cvpf - --xattrs --acls --exclude='*fifo*' melange-out"
428+
retrieveCommand := "cd /mount/home/build && find melange-out -type p -delete 2>/dev/null || true && tar cvpf - --xattrs --acls melange-out"
429429
// we append also all the necessary files that we might need, for example Licenses
430430
// for license checks
431431
for _, v := range extraFiles {

0 commit comments

Comments
 (0)