Re: [OE-core][PATCH v2] systemd: set better sane time at startup

2024-11-13 Thread Gaël PORTAY via lists.openembedded.org
Alex, On Tue Nov 12, 2024 at 9:22 PM CET, Alexander Kanavin wrote: > I'm sorry, this was probably already covered and I'm just forgetful, > but why not do this in do_install? > It was initially performed by a rootfs post-command to mimic what does rootfs_update_timestamp() but for systemd. And yo

[OE-core][PATCH v2] systemd: set better sane time at startup

2024-11-12 Thread Gaël PORTAY via lists . openembedded . org
stemd/systemd/commit/863098fdc9cd91e4f760085356ac02c4b7ba6df1 [2]: https://github.com/systemd/systemd/blob/v256/meson.build#L804-L825 Signed-off-by: Gaël PORTAY --- Hello, With this patch, one can have a better sane default time set by systemd very very very early in the boot (i.e. even before systemd outputs its version

Re: [OE-core] [PATCH] classes: rootfs-postcommands: set better sane time to systemd

2024-10-22 Thread Gaël PORTAY
On Wed Oct 23, 2024 at 4:40 AM CEST, ChenQi wrote: > The timestamps of all files in rootfs will be changed again by > reproducible_final_image_task. To achieve what you what, what you need > to do is touching an empty file, $D/usr/lib/clock-epoch, in systemd's > do_install task. > > And when you

Re: [OE-core] [PATCH] classes: rootfs-postcommands: set better sane time to systemd

2024-10-22 Thread Gaël PORTAY
Hello Peter, On Tue Oct 22, 2024 at 8:40 PM CEST, Peter Kjellerstedt wrote: > > I have created a rootfs-postcommand to be able to set a better time **at > > image creation** to keep the systemd package untouched (not rebuilt) by > > updateing the variable $REPRODUCIBLE_TIMESTAMP_ROOTFS. > > Can't

Re: [OE-core] [PATCH] classes: rootfs-postcommands: set better sane time to systemd

2024-10-21 Thread Gaël PORTAY
On Monday 21 October 2024, Alexander Kanavin wrote: > On Mon, 21 Oct 2024 at 19:02, Gaël PORTAY wrote: > >> Or, linking the file instead: >> >> rootfs_update_timestamp () { >> if [ "${REPRODUCIBLE_TIMESTAMP_ROOTFS}" != ""

Re: [OE-core] [PATCH] classes: rootfs-postcommands: set better sane time to systemd

2024-10-21 Thread Gaël PORTAY
Hello Alex, On Mon Oct 21, 2024 at 12:25 PM CEST, Alexander Kanavin wrote: > Can this be done from systemd recipe itself? Items in > rootfs-postprocess list should not be recipe-specific. > Sure it could be done in the recipe itself ;) but... The recipe harcodes already a sane value at configure

[OE-core] [PATCH] reproducible: fix typo

2024-10-18 Thread Gaël PORTAY
This fixes a typo in comment. Signed-off-by: Gaël PORTAY --- meta/lib/oe/reproducible.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py index 1957c97434..cdb38d5aa4 100644 --- a/meta/lib/oe/reproducible.py +++ b/meta

[OE-core] [PATCH] classes: rootfs-postcommands: set better sane time to systemd

2024-10-18 Thread Gaël PORTAY
stemd/systemd/commit/863098fdc9cd91e4f760085356ac02c4b7ba6df1 [2]: https://github.com/systemd/systemd/blob/v256/meson.build#L804-L825 Signed-off-by: Gaël PORTAY --- Hello, With this patch, one can have a better sane default time set by systemd very very very early in the boot (i.e. even before systemd

[OE-core] [PATCH v2] kernel: fitimage: deploy real fit-image

2018-06-16 Thread Gaël PORTAY
in the ITB. Note: this patch only concerns fit-images which are not signed by u-boot or which do not contains initramfs. Only a kernel image with a device-tree. Reviewed-by: Denys Dmytriyenko Signed-off-by: Gaël PORTAY --- Changes since v1: - rebase onto master

Re: [OE-core] [OE-Core][RESEND PATCH] kernel: fitimage: deploy real fit-image

2018-06-16 Thread Gaël PORTAY
Hi all, On Sun, Nov 05, 2017 at 12:52:36PM -0500, Gaël PORTAY wrote: > Currently, do_deploy installs a standard kernel image as an ITB. This > image is linux.bin and it is prepared by uboot_prep_kimage. > > The real kernel fit-image is build under arch/${ARCH}/boot/fitImage. >

[OE-core] [OE-Core][PATCH 1/1] package_manager.py: fix opkg custom config path

2017-12-07 Thread Gaël PORTAY
string concatenation operator when the file is opened (without using os.path module). Cc: Ash Charles Signed-off-by: Gaël PORTAY --- meta/lib/oe/package_manager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe

[OE-core] [OE-Core][PATCH] util-linux: create nativesdk lib packages

2017-11-05 Thread Gaël PORTAY
S 4571c9e963 util-linux: collect libs for related libxx-dev package a7572d7000 util-linux: split libraries dynamically Signed-off-by: Gaël PORTAY --- meta/recipes-core/util-linux/util-linux.inc | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-core/util-lin

[OE-core] [OE-Core][RESEND PATCH] kernel: fitimage: deploy real fit-image

2017-11-05 Thread Gaël PORTAY
in the ITB. Note: this patch only concerns fit-images which are not signed by u-boot or which do not contains initramfs. Only a kernel image with a device-tree. Reviewed-by: Denys Dmytriyenko Signed-off-by: Gaël PORTAY --- meta/classes/kernel-fitimage.bbclass | 8 1 file changed, 4

[OE-core] [PATCH] kernel: fitimage: deploy real fit-image

2017-07-17 Thread Gaël PORTAY
in the ITB. Note: this patch only concerns fit-images which are not signed by u-boot or which do not contains initramfs. Only a kernel image with a device-tree. Signed-off-by: Gaël PORTAY --- Hi all, This patch is a modified version of the one I wrote on a meta-arago/morty build. Thus it is not