From 35147f6dfb0b81d2fe21f69b3800162b0cd7060f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 25 Jul 2026 14:07:38 +0900 Subject: [PATCH] internal/pkg: skip character device nodes This allows unpacking of tarballs containing these entries. Signed-off-by: Ophestra --- internal/pkg/tar.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go index f1861edd..60b23e81 100644 --- a/internal/pkg/tar.go +++ b/internal/pkg/tar.go @@ -172,6 +172,13 @@ func (a *tarArtifact) Cure(t *TContext) (err error) { } break + case tar.TypeChar: + t.GetMessage().Verbosef( + "skipping character device %d, %d %q", + header.Devmajor, header.Devminor, header.Name, + ) + continue + case tar.TypeXGlobalHeader: continue // ignore