Skip to content

ostree static-delta show -> error: openat: No such file or directory #3492

@8a5n7d3y

Description

@8a5n7d3y

Hi there,

I generate an static-delta file, as follows:

ostree generate --filename=./ostree-delta.bin --inline --from=3fd5cdd819f0d13111a6e23f9314abbd2b035d621f79bc0f7d56f63e98f14e5b 01d7e89ed5c67d4a9082a3c56e9f1e5122b50a5a5480297f02763648b593bb1a

I can apply it fine on my device, but when I run ostree static-delta show, I get the following error:

ostree static-delta show ./ostree-delta.bin

Delta: ./ostree-delta.bin
Signed: no
From: 3fd5cdd819f0d13111a6e23f9314abbd2b035d621f79bc0f7d56f63e98f14e5b
To: 01d7e89ed5c67d4a9082a3c56e9f1e5122b50a5a5480297f02763648b593bb1a
Endianness: little
Timestamp: 1754027160
Number of parents: 0
Number of fallback entries: 0
Total Fallback Size: 0 (0 bytes)
Total Fallback Uncompressed Size: 0 (0 bytes)
Number of parts: 1
PartMeta0: nobjects=6 size=13845 usize=10793039
error: openat(deltas/P9/XN2Bnw0TERpuI_kxSrvSsDXWIfebwPfVb2PpjxTls-AdfontXGfUqQgqPFbp8eUSK1ClpUgCl_AnY2SLWTuxo/0): No such file or directory

On the one hand it is not a big deal, as I just need to get (To:hash) from the output, on the other hand there might be something else I am missing.

I am using quite an old version of ostree, as it is what comes by default in the yocto kirkstone provided by hardware manufacturer:

ostree --version
libostree:
Version: '2021.6'
Git: v2021.6
Features:

  • libcurl
  • ex-fsverity
  • libarchive
  • libmount
  • systemd
  • release
  • p2p

Is it a known issue, has it been fixed (commit hash, so that I could back port it to the version I have), or it can just be ignored?

Thank you for your help

Cheers,
Andy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions