Skip to content

Commit a9f69e6

Browse files
authored
fix: exclude fifos in WorkspaceTar (#1973)
* fix: exclude fifos in WorkspaceTar Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com> * tests: add dpkg to test regressions on QEMU Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com> --------- Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
1 parent dcd7311 commit a9f69e6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/wolfi-presubmit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
- tini
6363
- lzo
6464
- bubblewrap
65+
- dpkg
6566
#- gdk-pixbuf # Looks like this is broken again, see: https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/515
6667
- gitsign
6768
- guac

pkg/container/qemu_runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ func (bw *qemu) WorkspaceTar(ctx context.Context, cfg *Config) (io.ReadCloser, e
402402
nil,
403403
outFile,
404404
false,
405-
[]string{"sh", "-c", "cd /home/build && tar cvpzf - --xattrs --acls *"},
405+
[]string{"sh", "-c", "cd /home/build && tar cvpzf - --xattrs --acls --exclude='*fifo*' *"},
406406
)
407407
if err != nil {
408408
return nil, err

0 commit comments

Comments
 (0)