summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/ccache.bbclass3
-rw-r--r--meta/classes/toolchain/clang.bbclass4
-rw-r--r--meta/recipes-core/dbus/dbus_1.16.2.bb10
-rw-r--r--meta/recipes-core/systemd/systemd/0001-meson-Add-libmount-feature.patch58
-rw-r--r--meta/recipes-core/systemd/systemd_257.6.bb7
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb (renamed from meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.16.bb)2
6 files changed, 9 insertions, 75 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass
index fc014bf71d..262db6672c 100644
--- a/meta/classes/ccache.bbclass
+++ b/meta/classes/ccache.bbclass
@@ -37,6 +37,9 @@ CCACHE_NATIVE_RECIPES_ALLOWED ?= ""
37# in different builds. 37# in different builds.
38export CCACHE_BASEDIR ?= "${TMPDIR}" 38export CCACHE_BASEDIR ?= "${TMPDIR}"
39 39
40# Used for sharing cache files after compiler is rebuilt
41export CCACHE_COMPILERCHECK ?= "%compiler% -dumpspecs"
42
40export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" 43export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf"
41 44
42export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" 45export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}"
diff --git a/meta/classes/toolchain/clang.bbclass b/meta/classes/toolchain/clang.bbclass
index d729182d2a..7c6ed57fb3 100644
--- a/meta/classes/toolchain/clang.bbclass
+++ b/meta/classes/toolchain/clang.bbclass
@@ -33,9 +33,5 @@ TUNE_CCARGS += "${@bb.utils.contains("DISTRO_FEATURES", "usrmerge", " --dyld-pre
33 33
34LDFLAGS:append:class-nativesdk:x86-64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-x86-64.so.2" 34LDFLAGS:append:class-nativesdk:x86-64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-x86-64.so.2"
35LDFLAGS:append:class-nativesdk:aarch64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-aarch64.so.1" 35LDFLAGS:append:class-nativesdk:aarch64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-aarch64.so.1"
36LDFLAGS:append:class-nativesdk = " -Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.."
37
38# do_populate_sysroot needs STRIP
39POPULATESYSROOTDEPS:append:class-target = " ${MLPREFIX}clang-cross-${TARGET_ARCH}:do_populate_sysroot"
40 36
41TCOVERRIDE = "toolchain-clang" 37TCOVERRIDE = "toolchain-clang"
diff --git a/meta/recipes-core/dbus/dbus_1.16.2.bb b/meta/recipes-core/dbus/dbus_1.16.2.bb
index aabc4c3efb..65f7028b4f 100644
--- a/meta/recipes-core/dbus/dbus_1.16.2.bb
+++ b/meta/recipes-core/dbus/dbus_1.16.2.bb
@@ -28,7 +28,7 @@ EXTRA_OEMESON = "-Dxml_docs=disabled \
28 " 28 "
29 29
30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ 30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
31 traditional-activation user-session \ 31 user-session \
32 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ 32 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
33 " 33 "
34PACKAGECONFIG:class-native = "" 34PACKAGECONFIG:class-native = ""
@@ -36,7 +36,6 @@ PACKAGECONFIG:class-nativesdk = ""
36 36
37PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsystemd_system_unitdir=${systemd_system_unitdir},-Dsystemd=disabled,systemd" 37PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsystemd_system_unitdir=${systemd_system_unitdir},-Dsystemd=disabled,systemd"
38PACKAGECONFIG[x11] = "-Dx11_autolaunch=enabled,-Dx11_autolaunch=disabled, virtual/libx11 libsm" 38PACKAGECONFIG[x11] = "-Dx11_autolaunch=enabled,-Dx11_autolaunch=disabled, virtual/libx11 libsm"
39PACKAGECONFIG[traditional-activation] = "-Dtraditional_activation=true,-Dtraditional_activation=false"
40PACKAGECONFIG[user-session] = "-Duser_session=true -Dsystemd_user_unitdir=${systemd_user_unitdir},-Duser_session=false" 39PACKAGECONFIG[user-session] = "-Duser_session=true -Dsystemd_user_unitdir=${systemd_user_unitdir},-Duser_session=false"
41PACKAGECONFIG[verbose-mode] = "-Dverbose_mode=true,-Dverbose_mode=false,," 40PACKAGECONFIG[verbose-mode] = "-Dverbose_mode=true,-Dverbose_mode=false,,"
42PACKAGECONFIG[audit] = "-Dlibaudit=enabled,-Dlibaudit=disabled,audit" 41PACKAGECONFIG[audit] = "-Dlibaudit=enabled,-Dlibaudit=disabled,audit"
@@ -153,11 +152,8 @@ do_install:append:class-target() {
153 152
154 chown messagebus:messagebus ${D}${localstatedir}/lib/dbus 153 chown messagebus:messagebus ${D}${localstatedir}/lib/dbus
155 154
156 if [ "${@bb.utils.contains('PACKAGECONFIG', 'traditional-activation', '1', '0', d)}" = "1" ] 155 chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper
157 then 156 chmod 4755 ${D}${libexecdir}/dbus-daemon-launch-helper
158 chown root:messagebus ${D}${libexecdir}/dbus-daemon-launch-helper
159 chmod 4755 ${D}${libexecdir}/dbus-daemon-launch-helper
160 fi
161 157
162 # Remove Red Hat initscript 158 # Remove Red Hat initscript
163 rm -rf ${D}${sysconfdir}/rc.d 159 rm -rf ${D}${sysconfdir}/rc.d
diff --git a/meta/recipes-core/systemd/systemd/0001-meson-Add-libmount-feature.patch b/meta/recipes-core/systemd/systemd/0001-meson-Add-libmount-feature.patch
deleted file mode 100644
index b593e5cc7d..0000000000
--- a/meta/recipes-core/systemd/systemd/0001-meson-Add-libmount-feature.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From 821c809e1e1e449f5a2fe591d6aae1343b141b6c Mon Sep 17 00:00:00 2001
2From: Daan De Meyer <daan.j.demeyer@gmail.com>
3Date: Thu, 5 Jun 2025 11:05:08 +0200
4Subject: [PATCH 1/2] meson: Add libmount feature
5
6Let's reduce the dependencies required to build just libsystemd by
7making libmount optional. The meson disabler feature makes this quite
8trivial.
9
10Upstream-Status: Backport [d1ee3889cf8e8a9edc82e41d306155fb4c531c8f]
11Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
12---
13 meson.build | 4 +++-
14 meson_options.txt | 2 ++
15 tools/oss-fuzz.sh | 2 +-
16 3 files changed, 6 insertions(+), 2 deletions(-)
17
18diff --git a/meson.build b/meson.build
19index 957e00ecad..594fadbb37 100644
20--- a/meson.build
21+++ b/meson.build
22@@ -1179,7 +1179,9 @@ else
23 endif
24
25 libmount = dependency('mount',
26- version : fuzzer_build ? '>= 0' : '>= 2.30')
27+ version : fuzzer_build ? '>= 0' : '>= 2.30',
28+ disabler : true,
29+ required : get_option('libmount'))
30
31 libfdisk = dependency('fdisk',
32 version : '>= 2.32',
33diff --git a/meson_options.txt b/meson_options.txt
34index f30b3f5238..f292732d62 100644
35--- a/meson_options.txt
36+++ b/meson_options.txt
37@@ -471,6 +471,8 @@ option('dbus', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'd
38 description : 'libdbus support (for tests only)')
39 option('libarchive', type : 'feature',
40 description : 'libarchive support')
41+option('libmount', type : 'feature',
42+ description : 'libmount support')
43
44 option('bootloader', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
45 description : 'sd-boot/stub and userspace tools')
46diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh
47index df3d39eba6..b7a70207df 100755
48--- a/tools/oss-fuzz.sh
49+++ b/tools/oss-fuzz.sh
50@@ -32,7 +32,7 @@ meson_args=("-Db_lundef=false")
51 if [ -z "$FUZZING_ENGINE" ]; then
52 meson_args+=("-Dllvm-fuzz=true")
53 else
54- meson_args+=("-Doss-fuzz=true" "--auto-features=disabled")
55+ meson_args+=("-Doss-fuzz=true" "--auto-features=disabled" "-Dlibmount=enabled")
56
57 apt-get update
58 apt-get install -y gperf m4 gettext python3-pip \
diff --git a/meta/recipes-core/systemd/systemd_257.6.bb b/meta/recipes-core/systemd/systemd_257.6.bb
index 85165b7c25..3229583683 100644
--- a/meta/recipes-core/systemd/systemd_257.6.bb
+++ b/meta/recipes-core/systemd/systemd_257.6.bb
@@ -4,7 +4,7 @@ PROVIDES = "udev"
4 4
5PE = "1" 5PE = "1"
6 6
7DEPENDS = "gperf-native libcap python3-jinja2-native" 7DEPENDS = "gperf-native libcap util-linux python3-jinja2-native"
8 8
9SECTION = "base/shell" 9SECTION = "base/shell"
10 10
@@ -29,7 +29,6 @@ SRC_URI += " \
29 file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ 29 file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
30 file://0002-implment-systemd-sysv-install-for-OE.patch \ 30 file://0002-implment-systemd-sysv-install-for-OE.patch \
31 file://0001-Do-not-create-var-log-README.patch \ 31 file://0001-Do-not-create-var-log-README.patch \
32 file://0001-meson-Add-libmount-feature.patch \
33 " 32 "
34 33
35# patches needed by musl 34# patches needed by musl
@@ -83,7 +82,6 @@ PACKAGECONFIG ??= " \
83 idn \ 82 idn \
84 ima \ 83 ima \
85 kmod \ 84 kmod \
86 libmount \
87 localed \ 85 localed \
88 logind \ 86 logind \
89 machined \ 87 machined \
@@ -171,7 +169,6 @@ PACKAGECONFIG[kmod] = "-Dkmod=enabled,-Dkmod=disabled,kmod,libkmod"
171PACKAGECONFIG[ldconfig] = "-Dldconfig=true,-Dldconfig=false,,ldconfig" 169PACKAGECONFIG[ldconfig] = "-Dldconfig=true,-Dldconfig=false,,ldconfig"
172PACKAGECONFIG[libidn] = "-Dlibidn=enabled,-Dlibidn=disabled,libidn,,libidn" 170PACKAGECONFIG[libidn] = "-Dlibidn=enabled,-Dlibidn=disabled,libidn,,libidn"
173PACKAGECONFIG[libidn2] = "-Dlibidn2=enabled,-Dlibidn2=disabled,libidn2,,libidn2" 171PACKAGECONFIG[libidn2] = "-Dlibidn2=enabled,-Dlibidn2=disabled,libidn2,,libidn2"
174PACKAGECONFIG[libmount] = "-Dlibmount=enabled,-Dlibmount=disabled,util-linux,util-linux-mount util-linux-umount"
175# Link udev shared with systemd helper library. 172# Link udev shared with systemd helper library.
176# If enabled the udev package depends on the systemd package (which has the needed shared library). 173# If enabled the udev package depends on the systemd package (which has the needed shared library).
177PACKAGECONFIG[link-udev-shared] = "-Dlink-udev-shared=true,-Dlink-udev-shared=false" 174PACKAGECONFIG[link-udev-shared] = "-Dlink-udev-shared=true,-Dlink-udev-shared=false"
@@ -736,7 +733,7 @@ FILES:${PN} = " ${base_bindir}/* \
736 733
737FILES:${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd" 734FILES:${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd"
738 735
739RDEPENDS:${PN} += "kmod ${VIRTUAL-RUNTIME_dbus} udev (= ${EXTENDPKGV}) systemd-udev-rules util-linux-agetty util-linux-fsck util-linux-swaponoff util-linux-mkswap" 736RDEPENDS:${PN} += "kmod ${VIRTUAL-RUNTIME_dbus} util-linux-mount util-linux-umount udev (= ${EXTENDPKGV}) systemd-udev-rules util-linux-agetty util-linux-fsck util-linux-swaponoff util-linux-mkswap"
740RDEPENDS:${PN} += "systemd-serialgetty" 737RDEPENDS:${PN} += "systemd-serialgetty"
741RDEPENDS:${PN} += "volatile-binds" 738RDEPENDS:${PN} += "volatile-binds"
742 739
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.16.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb
index 38c81f2372..14c45be432 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.16.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.18.bb
@@ -3,7 +3,7 @@ require xserver-xorg.inc
3SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch \ 3SRC_URI += "file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch \
4 file://0001-Avoid-duplicate-definitions-of-IOPortBase.patch \ 4 file://0001-Avoid-duplicate-definitions-of-IOPortBase.patch \
5 " 5 "
6SRC_URI[sha256sum] = "b14a116d2d805debc5b5b2aac505a279e69b217dae2fae2dfcb62400471a9970" 6SRC_URI[sha256sum] = "c878d1930d87725d4a5bf498c24f4be8130d5b2646a9fd0f2994deff90116352"
7 7
8# These extensions are now integrated into the server, so declare the migration 8# These extensions are now integrated into the server, so declare the migration
9# path for in-place upgrades. 9# path for in-place upgrades.