mirror of
https://github.com/mudler/luet.git
synced 2025-09-04 16:50:50 +00:00
Drop code which is called already by containerd
Drop also direct xattrs handling
This commit is contained in:
@@ -255,7 +255,6 @@ func (cs *LuetCompiler) unpackFs(concurrency int, keepPermissions bool, p *compi
|
||||
_, rootfs, err := image.Extract(
|
||||
cs.Options.Context,
|
||||
img,
|
||||
keepPermissions,
|
||||
image.ExtractFiles(
|
||||
cs.Options.Context,
|
||||
p.GetPackageDir(),
|
||||
@@ -338,7 +337,6 @@ func (cs *LuetCompiler) unpackDelta(concurrency int, keepPermissions bool, p *co
|
||||
ref2,
|
||||
cs.Options.CompressionType,
|
||||
p.Rel(fmt.Sprintf("%s%s", p.GetPackage().GetFingerPrint(), ".package.tar")),
|
||||
keepPermissions,
|
||||
filter,
|
||||
)
|
||||
if err != nil {
|
||||
|
@@ -899,7 +899,7 @@ var _ = Describe("Compiler", func() {
|
||||
|
||||
img, err := b.ImageReference(fmt.Sprintf("%s:%s", imageName, artifacts[0].Runtime.ImageID()), true)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
_, path, err := image.Extract(ctx, img, false, nil)
|
||||
_, path, err := image.Extract(ctx, img, nil)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
defer os.RemoveAll(path) // clean up
|
||||
|
||||
@@ -907,7 +907,7 @@ var _ = Describe("Compiler", func() {
|
||||
|
||||
img, err = b.ImageReference(fmt.Sprintf("%s:%s", imageName, artifacts[1].Runtime.GetMetadataFilePath()), true)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
_, path, err = image.Extract(ctx, img, false, nil)
|
||||
_, path, err = image.Extract(ctx, img, nil)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
defer os.RemoveAll(path) // clean up
|
||||
|
||||
|
Reference in New Issue
Block a user