mirror of
https://github.com/mudler/luet.git
synced 2025-09-07 18:20:19 +00:00
🔧 Drop containerd workaround
Partly reverts
37cc186c0b
,
but re-enable test.
This commit is contained in:
@@ -78,6 +78,9 @@ var _ = Describe("Delta", func() {
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
defer os.RemoveAll(tmpdir) // clean up
|
||||
|
||||
// No extra dirs are present
|
||||
Expect(file.Exists(filepath.Join(tmpdir, "home"))).To(BeFalse())
|
||||
// Cache from go
|
||||
Expect(file.Exists(filepath.Join(tmpdir, "root", ".cache"))).To(BeTrue())
|
||||
// sh is present from alpine, hence not in the result
|
||||
|
@@ -65,12 +65,7 @@ func ExtractDeltaAdditionsFiles(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
switch hdr.Typeflag {
|
||||
case tar.TypeDir:
|
||||
filesSrc.Set(filepath.Dir(hdr.Name), "")
|
||||
default:
|
||||
filesSrc.Set(hdr.Name, "")
|
||||
}
|
||||
filesSrc.Set(hdr.Name, "")
|
||||
}
|
||||
|
||||
return func(h *tar.Header) (bool, error) {
|
||||
|
Reference in New Issue
Block a user