mirror of
https://github.com/mudler/luet.git
synced 2025-09-08 18:49:39 +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())
|
Expect(err).ToNot(HaveOccurred())
|
||||||
defer os.RemoveAll(tmpdir) // clean up
|
defer os.RemoveAll(tmpdir) // clean up
|
||||||
|
|
||||||
|
// No extra dirs are present
|
||||||
|
Expect(file.Exists(filepath.Join(tmpdir, "home"))).To(BeFalse())
|
||||||
// Cache from go
|
// Cache from go
|
||||||
Expect(file.Exists(filepath.Join(tmpdir, "root", ".cache"))).To(BeTrue())
|
Expect(file.Exists(filepath.Join(tmpdir, "root", ".cache"))).To(BeTrue())
|
||||||
// sh is present from alpine, hence not in the result
|
// sh is present from alpine, hence not in the result
|
||||||
|
@@ -65,13 +65,8 @@ func ExtractDeltaAdditionsFiles(
|
|||||||
return nil, err
|
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) {
|
return func(h *tar.Header) (bool, error) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user