From: "Frieder Paape" <frieder@konvera.io>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] fixup! fix: reproducible builds for initramfs and UKI img
Date: Tue, 06 Jun 2023 01:01:28 -0700 [thread overview]
Message-ID: <27537.1686038488234786413@lists.openembedded.org> (raw)
In-Reply-To: <76fc64335d45702735bf1c168cf67f6af5e2d47c.camel@linuxfoundation.org>
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
The failure happens because `touch` doesn't create a file if called with the no-dereference option `-h`.
Removing `-h` from affected touch command.
Signed-off-by: Frieder Paape <frieder@konvera.io>
---
meta/classes-recipe/image_types.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass
index f73b4d965e..023eb87537 100644
--- a/meta/classes-recipe/image_types.bbclass
+++ b/meta/classes-recipe/image_types.bbclass
@@ -150,7 +150,7 @@ IMAGE_CMD:cpio () {
ln -sf /sbin/init ${WORKDIR}/cpio_append/init
touch -h -r ${IMAGE_ROOTFS}/sbin/init ${WORKDIR}/cpio_append/init
else
- touch -h -r ${IMAGE_ROOTFS} ${WORKDIR}/cpio_append/init
+ touch -r ${IMAGE_ROOTFS} ${WORKDIR}/cpio_append/init
fi
(cd ${WORKDIR}/cpio_append && echo ./init | cpio --reproducible -oA -H newc -F ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio)
fi
--
2.39.2 (Apple Git-143)
[-- Attachment #2: Type: text/html, Size: 1981 bytes --]
next prev parent reply other threads:[~2023-06-06 8:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-05 9:00 [PATCH] fix: reproducible builds for initramfs and UKI img Frieder Paape
2023-06-06 6:32 ` [OE-core] " Richard Purdie
2023-06-06 8:01 ` Frieder Paape [this message]
2023-06-07 9:00 ` [OE-core] [PATCH] fixup! " Alexander Kanavin
2023-06-07 9:15 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27537.1686038488234786413@lists.openembedded.org \
--to=frieder@konvera.io \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox