Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Yocto scarthgap [Part3] #1545

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3fd0336
bsp: linux-lmp-ti-staging: bump 6.1.83
quaresmajose Sep 23, 2024
3925b22
bsp: linux-lmp-ti-staging: drop beagleplay repo
quaresmajose Sep 23, 2024
a312516
bsp: imx-boot: Drop un-necessary variable BOOT_NAME
quaresmajose Sep 25, 2024
eda3dad
Revert "bsp: lmp-machine-custom: UBOOT_PROVIDES_BOOT_CONTAINER is now…
quaresmajose Sep 25, 2024
ffa68f1
base: ostree: add support systemd-boot automatic boot assesment
igoropaniuk Sep 11, 2024
fa24464
base: kernel-lmp-fitimage: replace with oe-core 74054f3 copy
quaresmajose Sep 25, 2024
7096060
base: kernel-lmp-fitimage: add loadable
angolini Aug 26, 2024
8586d05
base: libdevmapper: Inherit nopackages
quaresmajose Sep 26, 2024
11cd934
base: u-boot-fio: inherit uuu_bootloader_tag on imx bsp
quaresmajose Oct 1, 2024
cf10b90
base: u-boot-fio-mfgtool: add default lmp-base distro cfg
quaresmajose Oct 1, 2024
f53debc
base/bsp: uboot-fitimage: Adapt the class to scarthgap dir naming
angolini Sep 26, 2024
5b5a073
base/bsp: mfgtool-files: Change the image filename for scarthgap
angolini Oct 2, 2024
89ebcf7
bsp: lmp-machine-custom: drop beagleplay KERNEL_DEVICETREE
quaresmajose Oct 3, 2024
c40a38c
bsp: linux-lmp-ti-staging: 6.1 -> 6.6
quaresmajose Oct 3, 2024
06a1107
bsp: u-boot-ti-staging: refresh patches
quaresmajose Oct 31, 2024
5d34d7e
bsp: u-boot-bb.org: drop beagleplay repo
quaresmajose Oct 3, 2024
8c03fa8
base: kmeta-linux-lmp-6.6.y: bump to cc8b1802
quaresmajose Oct 3, 2024
f3a9e16
bsp: lmp-machine-custom: add beagleplay LMP_BOOT_FIRMWARE_FILES
quaresmajose Oct 3, 2024
6c6c058
bsp: linux-lmp-ti-staging: drop non-existent kernel 6.6.44 devicetrees
quaresmajose Nov 4, 2024
1468f4d
bsp: ti-mfgtool-files: also add multiconfig depends
quaresmajose Oct 3, 2024
9cf54fd
bsp: lmp-mfgtool: am62xx-evm u-boot dfu is now using UBOOT_CONFIG_FRA…
quaresmajose Oct 31, 2024
3b01cbe
bsp: lmp-mfgtool: disable TI k3 u-boot sign
quaresmajose Oct 31, 2024
e3e94bb
bsp: tegra: update bbappends for L4T R35.6.0
quaresmajose Oct 8, 2024
21b6034
base: lmp: systemd: enable coredump
quaresmajose Aug 9, 2023
a02e277
base: lmp: remove pending IMAGE_NAME_SUFFIX
quaresmajose Oct 14, 2024
6e812bc
base: lmp: drop luks unused ota-ext4 backup image
quaresmajose Oct 14, 2024
6cc4c1c
base/bsp: u-boot-fio: update to the 2024.04+fio baseline
ricardosalveti Oct 15, 2024
b9bb5d8
bsp: u-boot-ostree-scr-fit: qemu: fix default conf entry
ricardosalveti Oct 15, 2024
eef97fd
base: lmp: bump version for the 5.0.4 yocto release
ricardosalveti Oct 15, 2024
55058cb
bsp: lmp-machine-custom: add kernel serial arguments for rpi5
ricardosalveti Oct 15, 2024
08a0680
bsp: linux-lmp-rpi: update to 6.6.22, from meta-rpi scarthgap
ricardosalveti Oct 15, 2024
c644158
base: kmeta-linux-lmp-6.6.y: bump to 16feae8a
ricardosalveti Oct 15, 2024
44a2533
bsp: lmp-machine-custom: drop imx93 devicetrees that do not exist in …
quaresmajose Oct 28, 2024
23d95d3
base: edk2-firmware: Increase ScratchMemory buffer for openssl
quaresmajose Nov 4, 2024
016e5f0
Revert "systemd: add job to fix timesyncd update"
quaresmajose Sep 23, 2024
23b596c
base: systemd: refresh lmp patch
quaresmajose Nov 12, 2024
008c0d3
base: systemd-boot display order
ldts Nov 12, 2024
2844304
bsp: linux-lmp-ti-staging: bump scarthgap.202411141406
quaresmajose Nov 15, 2024
d462b14
base: optee-os-fio-se05x: yocto multiple-repo support
ldts Nov 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
734 changes: 512 additions & 222 deletions meta-lmp-base/classes/kernel-lmp-fitimage.bbclass

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions meta-lmp-base/classes/lmp.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -201,23 +201,22 @@ IMAGE_CMD:ota-ext4:append () {
if [ -z "${OSTREE_OTA_EXT4_LUKS_PASSPHRASE}" ]; then
bbfatal "Unable to find passphrase for LUKS-based ota-ext4 (define OSTREE_OTA_EXT4_LUKS_PASSPHRASE)"
fi
cp ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4 ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4-orig

block_size=`dumpe2fs -h ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4 | grep "^Block size" | cut -d ':' -f 2 | tr -d ' '`
block_count=`dumpe2fs -h ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4 | grep "^Block count" | cut -d ':' -f 2 | tr -d ' '`
block_size=`dumpe2fs -h ${IMGDEPLOYDIR}/${IMAGE_NAME}.ota-ext4 | grep "^Block size" | cut -d ':' -f 2 | tr -d ' '`
block_count=`dumpe2fs -h ${IMGDEPLOYDIR}/${IMAGE_NAME}.ota-ext4 | grep "^Block count" | cut -d ':' -f 2 | tr -d ' '`
luks_size=33554432 # 32m
new_block_count=$(expr ${block_count} - $(expr ${luks_size} / ${block_size}))
bbdebug 1 "Rootfs: block size: $block_size, block count: $block_count"
bbdebug 1 "Resizing Rootfs: old block count: $block_count, new block count: $new_block_count"
resize2fs -p ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4 ${new_block_count}
resize2fs -p ${IMGDEPLOYDIR}/${IMAGE_NAME}.ota-ext4 ${new_block_count}
# Error codes 0-3 indicate successfull operation of fsck (no errors or errors corrected)
fsck.ext4 -pvfD ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4 || [ $? -le 3 ]
fsck.ext4 -pvfD ${IMGDEPLOYDIR}/${IMAGE_NAME}.ota-ext4 || [ $? -le 3 ]
# After resize2fs we need to make sure the file size (simulating the block device) stays the same
dd if=/dev/zero of=${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4 seek=$ROOTFS_SIZE count=0 bs=1024
dd if=/dev/zero of=${IMGDEPLOYDIR}/${IMAGE_NAME}.ota-ext4 seek=$ROOTFS_SIZE count=0 bs=1024

echo ${OSTREE_OTA_EXT4_LUKS_PASSPHRASE} | cryptsetup reencrypt --encrypt --key-slot 31 --pbkdf-memory ${OSTREE_OTA_EXT4_LUKS_PBKDF2_MEM} --disable-locks --reduce-device-size 32m ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4
cryptsetup config --label otaroot ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4
cryptsetup luksDump ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ota-ext4
echo ${OSTREE_OTA_EXT4_LUKS_PASSPHRASE} | cryptsetup reencrypt --encrypt --key-slot 31 --pbkdf-memory ${OSTREE_OTA_EXT4_LUKS_PBKDF2_MEM} --disable-locks --reduce-device-size 32m ${IMGDEPLOYDIR}/${IMAGE_NAME}.ota-ext4
cryptsetup config --label otaroot ${IMGDEPLOYDIR}/${IMAGE_NAME}.ota-ext4
cryptsetup luksDump ${IMGDEPLOYDIR}/${IMAGE_NAME}.ota-ext4
fi
}
OSTREE_OTA_EXT4_LUKS ?= "0"
Expand Down
2 changes: 1 addition & 1 deletion meta-lmp-base/classes/uboot-fitimage.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ uboot_fitimage_assemble() {

# u-boot dtb location depends on sign enable
if [ "${UBOOT_SIGN_ENABLE}" = "1" -a -n "${UBOOT_DTB_BINARY}" ]; then
uboot_dtb="${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_IMAGE}"
uboot_dtb="${UBOOT_DTB_SIGNED}"
else
uboot_dtb="u-boot.dtb"
fi
Expand Down
3 changes: 2 additions & 1 deletion meta-lmp-base/conf/distro/include/lmp.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DISTRO_VERSION = "4.0.20"
DISTRO_VERSION = "5.0.4"

# These default to 'oecore' and 'nodistro'
SDK_NAME_PREFIX = "${DISTRO}"
Expand Down Expand Up @@ -65,6 +65,7 @@ PACKAGECONFIG:remove:pn-cryptsetup = "ssh-token"
PACKAGECONFIG:append:pn-cryptsetup = " luks2"
PACKAGECONFIG:append:pn-cryptsetup-native = " luks2"
PACKAGECONFIG:pn-tpm2-tss = "policy"
PACKAGECONFIG:append:pn-systemd = "${@bb.utils.contains('DISTRO_FEATURES', 'lmpdebug', ' coredump', '', d)}"

# Alternatives used by nss-altfiles
NSS_ALT_TYPES ?= "hosts,pwd,grp,spwd,sgrp"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
From 46e407d9654d5c8986b0f7b61de3aa223b1df399 Mon Sep 17 00:00:00 2001
From: Jorge Ramirez-Ortiz <[email protected]>
Date: Thu, 31 Oct 2024 15:12:04 +0100
Subject: [PATCH] CryptoPkg: Increase ScratchMemory buffer for openssl 3.0.15

Openssl 3.0.15 has a larger memory footprint.

Updating from EDK 2022.2 (openssl 1.1.j) to 2024.2 (openssl 3.0.15)
causes our EFI provisioning application[1] to fail due to an out of
memory condition.

On inspection, at the time of that fault, 2022.2 had an additional 900
pages. This is why this patch proposes the increase of the ScratchMemory
buffer by that same ammount.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git

Upstream-Status: Submitted [https://github.com/tianocore/edk2/pull/6394]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is already merged


Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
Signed-off-by: Jose Quaresma <[email protected]>
---
CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c b/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c
index 0d2ca604ea..bb066f0dd0 100644
--- a/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c
+++ b/CryptoPkg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c
@@ -33,7 +33,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define RT_PAGE_FREE 0x00000000
#define RT_PAGE_USED 0x00000001

-#define MIN_REQUIRED_BLOCKS 600
+#define MIN_REQUIRED_BLOCKS 1100

//
// Memory Page Table
--
2.25.1

Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

do_install:append:qemuarm64-secureboot-ebbr() {
install ${B}/Build/${EDK2_PLATFORM}/${EDK2_BUILD_MODE}_${EDK_COMPILER}/FV/QEMU*.fd ${D}/firmware/
# QEMU requires that the images be minimum of 64M in size
truncate -s 64M ${D}/firmware/QEMU*.fd
}

SRC_URI += "file://0001-CryptoPkg-Increase-ScratchMemory-buffer-for-openssl-.patch"
1 change: 1 addition & 0 deletions meta-lmp-base/recipes-bsp/efitools/efitools/lockdown.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
title UEFI Secure Boot Provisioning
efi /LockDown.efi
sort-key 99
1 change: 1 addition & 0 deletions meta-lmp-base/recipes-bsp/efitools/efitools/unlock.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
title UEFI Secure Boot PK Clear
efi /UnLock-signed.efi
sort-key 99
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# CONFIG_ANDROID_BOOT_IMAGE is not set
CONFIG_BOOTCOMMAND="reset"
CONFIG_BOOTDELAY=-2
# CONFIG_BOOTM_NETBSD is not set
# CONFIG_BOOTM_PLAN9 is not set
# CONFIG_BOOTM_RTEMS is not set
# CONFIG_BOOTM_VXWORKS is not set
# CONFIG_CMD_BDI is not set
# CONFIG_CMD_BMODE is not set
# CONFIG_CMD_BOOTD is not set
# CONFIG_CMD_BOOTP is not set
# CONFIG_CMD_BOOTZ is not set
# CONFIG_CMD_DEKBLOB is not set
# CONFIG_CMD_DFU is not set
# CONFIG_CMD_DHCP is not set
# CONFIG_CMD_EDITENV is not set
# CONFIG_CMD_ELF is not set
# CONFIG_CMD_EXPORTENV is not set
CONFIG_CMD_FIOVB=y
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_GETTIME is not set
# CONFIG_CMD_IMI is not set
# CONFIG_CMD_IMPORTENV is not set
# CONFIG_CMD_LOADB is not set
# CONFIG_CMD_LOADS is not set
# CONFIG_CMD_NET is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_POWEROFF is not set
# CONFIG_CMD_PXE is not set
# CONFIG_CMD_RTC is not set
# CONFIG_CMD_SATA is not set
# CONFIG_CMD_SAVEENV is not set
# CONFIG_CMD_SNTP is not set
# CONFIG_CMD_SYSBOOT is not set
# CONFIG_CMD_TFTPBOOT is not set
# CONFIG_CMD_TIME is not set
# CONFIG_CMD_TIMER is not set
# CONFIG_CMD_USB_MASS_STORAGE is not set
CONFIG_CMD_XIMG=y
# CONFIG_DFU is not set
# CONFIG_DISTRO_DEFAULTS is not set
# CONFIG_DM_SCSI is not set
CONFIG_DM_USB=y
# CONFIG_DM_VIDEO is not set
# CONFIG_DWC_AHSATA is not set
# CONFIG_EFI_LOADER is not set
# CONFIG_ENV_IS_IN_MMC is not set
# CONFIG_ENV_IS_IN_SPI_FLASH is not set
CONFIG_ENV_IS_NOWHERE=y
CONFIG_FASTBOOT_FLASH=y
CONFIG_FASTBOOT_UUU_SUPPORT=y
CONFIG_FIOVB=y
CONFIG_FIT_SIGNATURE_STRICT=y
CONFIG_FIT_VERBOSE=y
CONFIG_FIT=y
CONFIG_FSL_FASTBOOT_BOOTLOADER2=y
CONFIG_FSL_FASTBOOT_BOOTLOADER_SECONDARY=y
CONFIG_HASH=y
# CONFIG_WATCHDOG is not set
# CONFIG_IMX_WATCHDOG is not set
# CONFIG_LEGACY_IMAGE_FORMAT is not set
# CONFIG_NET is not set
CONFIG_OF_LIBFDT_OVERLAY=y
CONFIG_OPTEE_LIB=y
CONFIG_OPTEE=y
CONFIG_PARTITION_UUIDS=y
CONFIG_RSA=y
# CONFIG_SATA is not set
# CONFIG_SHA_HW_ACCEL is not set
# CONFIG_SPL_BLK is not set
CONFIG_SPL_CRYPTO=y
# CONFIG_SPL_DM_USB is not set
CONFIG_SPL_DM=y
# CONFIG_SPL_DOS_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
# CONFIG_SPL_FIT_IMAGE_TINY is not set
CONFIG_SPL_FIT_SIGNATURE_STRICT=y
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_SPL_FIT=y
CONFIG_SPL_HASH=y
# CONFIG_SPL_IMX_HAB is not set
# CONFIG_SPL_LEGACY_IMAGE_FORMAT is not set
# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set
CONFIG_SPL_LOAD_FIT=y
# CONFIG_SPL_MMC is not set
CONFIG_SPL_OF_CONTROL=y
# CONFIG_SPL_PARTITION_UUIDS is not set
CONFIG_SPL_SHA256=y
CONFIG_SPL_USB_GADGET=y
CONFIG_SPL_USB_SDP_SUPPORT=y
CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_SUPPORT_EMMC_RPMB=y
CONFIG_TEE=y
CONFIG_USB_FUNCTION_FASTBOOT=y
CONFIG_USB_GADGET_MANUFACTURER="FSL"
CONFIG_USB_GADGET_MASS_STORAGE=y
CONFIG_USB_GADGET_PRODUCT_NUM=0x0152
CONFIG_USB_GADGET_VENDOR_NUM=0x1fc9
# CONFIG_USB_HOST_ETHER is not set
# CONFIG_USB_KEYBOARD is not set
# CONFIG_USB_STORAGE is not set
CONFIG_USB=y
CONFIG_USE_BOOTCOMMAND=y
# CONFIG_VIDEO is not set
# CONFIG_BOOTSTD is not set
CONFIG_SHA256=y
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SUMMARY = "Produces a Manufacturing Tool compatible U-Boot"
DESCRIPTION = "U-Boot recipe that produces a Manufacturing Tool compatible \
binary to be used in updater environment"

require recipes-bsp/u-boot/u-boot-fio_2023.04.bb
require recipes-bsp/u-boot/u-boot-fio_${PV}.bb

# Environment config is not required for mfgtool
SRC_URI:remove = "file://fw_env.config"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require u-boot-fio-common.inc

SRCREV = "349b9c93a6f7218d7988caab249f4ad1196f3c30"
SRCBRANCH = "2023.04+fio"
SRCREV = "30cd2b39fb4989dc0e4c69bc5c73b1f169951bf1"
SRCBRANCH = "2024.04+fio"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
5 changes: 5 additions & 0 deletions meta-lmp-base/recipes-bsp/u-boot/u-boot-fio_imx-2022.04.bb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
require u-boot-fio-common.inc

UUU_BOOTLOADER = "uuu_bootloader_tag"
UUU_BOOTLOADER:mx8-generic-bsp = ""
UUU_BOOTLOADER:mx9-generic-bsp = ""
inherit_defer ${UUU_BOOTLOADER}

SRCREV = "605d0aa5c016915058c7b19051f76d592e103b32"
SRCBRANCH = "2022.04+lf-6.1.1-1.0.0-fio"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
Expand Down
5 changes: 5 additions & 0 deletions meta-lmp-base/recipes-bsp/u-boot/u-boot-fio_imx-2023.04.bb
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
require u-boot-fio-common.inc

UUU_BOOTLOADER = "uuu_bootloader_tag"
UUU_BOOTLOADER:mx8-generic-bsp = ""
UUU_BOOTLOADER:mx9-generic-bsp = ""
inherit_defer ${UUU_BOOTLOADER}

SRCREV = "d5bf13df210018527f8b0c136ce0b8be6b0d76f5"
SRCBRANCH = "2023.04+lf-6.1.55-2.2.0-fio"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 42a417bfb62227d83bbcc1232ced1d0ddb0431d6 Mon Sep 17 00:00:00 2001
From cb1df2c39effacd4ec86a06b3b9fcafaceb38814 Mon Sep 17 00:00:00 2001
From: Ricardo Salveti <[email protected]>
Date: Tue, 2 Jul 2019 21:01:15 -0300
Subject: [PATCH] systemd-networkd-wait-online.service.in: use --any by default
Expand All @@ -10,23 +10,24 @@ in the configured state.
Upstream-Status: Inappropriate [lmp specific]

Signed-off-by: Ricardo Salveti <[email protected]>
Signed-off-by: Jose Quaresma <[email protected]>
---
units/systemd-networkd-wait-online.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/units/systemd-networkd-wait-online.service.in b/units/systemd-networkd-wait-online.service.in
index 10d8b08c8e..6dd5f79377 100644
index 7768121f5f..7d26e04fe3 100644
--- a/units/systemd-networkd-wait-online.service.in
+++ b/units/systemd-networkd-wait-online.service.in
@@ -18,7 +18,7 @@ Before=network-online.target shutdown.target
@@ -19,7 +19,7 @@ Before=network-online.target shutdown.target

[Service]
Type=oneshot
-ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online
+ExecStart={{ROOTLIBEXECDIR}}/systemd-networkd-wait-online --any
-ExecStart={{LIBEXECDIR}}/systemd-networkd-wait-online
+ExecStart={{LIBEXECDIR}}/systemd-networkd-wait-online --any
RemainAfterExit=yes

[Install]
--
2.25.1
2.47.0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a reason for this revert in the commit logs?

This file was deleted.

5 changes: 0 additions & 5 deletions meta-lmp-base/recipes-core/systemd/systemd_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ EXTRA_OEMESON += ' \
SRC_URI:append = " \
file://0001-tmpfiles-tmp.conf-reduce-cleanup-age-to-half.patch \
file://systemd-networkd-wait-online.service.in-use-any-by-d.patch \
file://systemd-timesyncd-update.service \
"

# Depend on systemd-boot as the efi payload is provided by a different recipe
Expand All @@ -76,10 +75,6 @@ do_install:append() {
(cd ${D}${localstatedir}; rmdir -v --parents log/journal)
fi

# Workaround for https://github.com/systemd/systemd/issues/11329
install -m 0644 ${WORKDIR}/systemd-timesyncd-update.service ${D}${systemd_system_unitdir}
ln -sf ../systemd-timesyncd-update.service ${D}${systemd_system_unitdir}/sysinit.target.wants/systemd-timesyncd-update.service

# Remove systemd-boot as it is provided by a separated recipe and we can't disable via pkgconfig
if ${@bb.utils.contains('PACKAGECONFIG', 'efi', 'true', 'false', d)}; then
rm -r ${D}${nonarch_libdir}/systemd/boot
Expand Down
Loading