]> git.ipfire.org Git - pakfire.git/commitdiff
oci: Update the filename for the blob
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 8 Feb 2025 15:07:53 +0000 (15:07 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 8 Feb 2025 15:07:53 +0000 (15:07 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/oci.c

index 4afe91710e234889d7abe410028e3340677b7c64..b1e697102470c528e90d4a70c55279f9f4423b4b 100644 (file)
@@ -154,8 +154,8 @@ static int pakfire_oci_writer_make_layer(struct pakfire_oci_writer* self) {
        if (r < 0)
                goto ERROR;
 
-       // Make the filename of the layer file
-       r = pakfire_path_format(filename, "%s/layer.tar", self->layer_hexdigest);
+       // Make the filename of the layer
+       r = pakfire_path_format(filename, "blobs/sha512/%s", self->layer_hexdigest);
        if (r < 0)
                goto ERROR;