diff options
Diffstat (limited to 'meta/recipes-core')
85 files changed, 177 insertions, 229 deletions
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb index 59b084d141..3f01bb35d9 100644 --- a/meta/recipes-core/base-files/base-files_3.0.14.bb +++ b/meta/recipes-core/base-files/base-files_3.0.14.bb | |||
@@ -25,8 +25,7 @@ SRC_URI = "file://rotation \ | |||
25 | file://licenses/GPL-2 \ | 25 | file://licenses/GPL-2 \ |
26 | " | 26 | " |
27 | 27 | ||
28 | S = "${WORKDIR}/sources" | 28 | S = "${UNPACKDIR}" |
29 | UNPACKDIR = "${S}" | ||
30 | 29 | ||
31 | INHIBIT_DEFAULT_DEPS = "1" | 30 | INHIBIT_DEFAULT_DEPS = "1" |
32 | 31 | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.6.7.bb b/meta/recipes-core/base-passwd/base-passwd_3.6.7.bb index 3d5247ee87..177927d674 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.6.7.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.6.7.bb | |||
@@ -21,7 +21,7 @@ SRC_URI[sha256sum] = "cf869870fed7862b57bfa9e99cd5cd6f365e2349705a1b65af7fc18262 | |||
21 | # so we check the latest upstream from a directory that does get updated | 21 | # so we check the latest upstream from a directory that does get updated |
22 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/" | 22 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/" |
23 | 23 | ||
24 | S = "${WORKDIR}/work" | 24 | S = "${UNPACKDIR}/work" |
25 | 25 | ||
26 | PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" | 26 | PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" |
27 | PACKAGECONFIG[selinux] = "--enable-selinux, --disable-selinux, libselinux" | 27 | PACKAGECONFIG[selinux] = "--enable-selinux, --disable-selinux, libselinux" |
diff --git a/meta/recipes-core/busybox/busybox-inittab_1.37.0.bb b/meta/recipes-core/busybox/busybox-inittab_1.37.0.bb index 4ffc44c808..8b46b5763e 100644 --- a/meta/recipes-core/busybox/busybox-inittab_1.37.0.bb +++ b/meta/recipes-core/busybox/busybox-inittab_1.37.0.bb | |||
@@ -4,8 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m | |||
4 | 4 | ||
5 | SRC_URI = "file://inittab" | 5 | SRC_URI = "file://inittab" |
6 | 6 | ||
7 | S = "${WORKDIR}/sources" | 7 | S = "${UNPACKDIR}" |
8 | UNPACKDIR = "${S}" | ||
9 | 8 | ||
10 | INHIBIT_DEFAULT_DEPS = "1" | 9 | INHIBIT_DEFAULT_DEPS = "1" |
11 | 10 | ||
@@ -49,7 +48,6 @@ EOF | |||
49 | 48 | ||
50 | } | 49 | } |
51 | 50 | ||
52 | |||
53 | # SERIAL_CONSOLES is generally defined by the MACHINE .conf. | 51 | # SERIAL_CONSOLES is generally defined by the MACHINE .conf. |
54 | # Set PACKAGE_ARCH appropriately. | 52 | # Set PACKAGE_ARCH appropriately. |
55 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 53 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/meta/recipes-core/coreutils/coreutils/0001-sort-fix-buffer-under-read-CWE-127.patch b/meta/recipes-core/coreutils/coreutils/0001-sort-fix-buffer-under-read-CWE-127.patch new file mode 100644 index 0000000000..41be1635b5 --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils/0001-sort-fix-buffer-under-read-CWE-127.patch | |||
@@ -0,0 +1,112 @@ | |||
1 | From 8763c305c29d0abb7e2be4695212b42917d054b2 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com> | ||
3 | Date: Tue, 20 May 2025 16:03:44 +0100 | ||
4 | Subject: [PATCH] sort: fix buffer under-read (CWE-127) | ||
5 | |||
6 | * src/sort.c (begfield): Check pointer adjustment | ||
7 | to avoid Out-of-range pointer offset (CWE-823). | ||
8 | (limfield): Likewise. | ||
9 | * tests/sort/sort-field-limit.sh: Add a new test, | ||
10 | which triggers with ASAN or Valgrind. | ||
11 | * tests/local.mk: Reference the new test. | ||
12 | * NEWS: Mention bug fix introduced in v7.2 (2009). | ||
13 | Fixes https://bugs.gnu.org/78507 | ||
14 | |||
15 | CVE: CVE-2025-5278 | ||
16 | |||
17 | Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8c9602e3a145e9596dc1a63c6ed67865814b6633] | ||
18 | |||
19 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
20 | --- | ||
21 | src/sort.c | 12 ++++++++++-- | ||
22 | tests/local.mk | 1 + | ||
23 | tests/sort/sort-field-limit.sh | 35 ++++++++++++++++++++++++++++++++++ | ||
24 | 3 files changed, 46 insertions(+), 2 deletions(-) | ||
25 | create mode 100755 tests/sort/sort-field-limit.sh | ||
26 | |||
27 | diff --git a/src/sort.c b/src/sort.c | ||
28 | index b10183b6f..7af1a2512 100644 | ||
29 | --- a/src/sort.c | ||
30 | +++ b/src/sort.c | ||
31 | @@ -1644,7 +1644,11 @@ begfield (struct line const *line, struct keyfield const *key) | ||
32 | ++ptr; | ||
33 | |||
34 | /* Advance PTR by SCHAR (if possible), but no further than LIM. */ | ||
35 | - ptr = MIN (lim, ptr + schar); | ||
36 | + size_t remaining_bytes = lim - ptr; | ||
37 | + if (schar < remaining_bytes) | ||
38 | + ptr += schar; | ||
39 | + else | ||
40 | + ptr = lim; | ||
41 | |||
42 | return ptr; | ||
43 | } | ||
44 | @@ -1746,7 +1750,11 @@ limfield (struct line const *line, struct keyfield const *key) | ||
45 | ++ptr; | ||
46 | |||
47 | /* Advance PTR by ECHAR (if possible), but no further than LIM. */ | ||
48 | - ptr = MIN (lim, ptr + echar); | ||
49 | + size_t remaining_bytes = lim - ptr; | ||
50 | + if (echar < remaining_bytes) | ||
51 | + ptr += echar; | ||
52 | + else | ||
53 | + ptr = lim; | ||
54 | } | ||
55 | |||
56 | return ptr; | ||
57 | diff --git a/tests/local.mk b/tests/local.mk | ||
58 | index 4da6756ac..642d225fa 100644 | ||
59 | --- a/tests/local.mk | ||
60 | +++ b/tests/local.mk | ||
61 | @@ -388,6 +388,7 @@ all_tests = \ | ||
62 | tests/sort/sort-debug-keys.sh \ | ||
63 | tests/sort/sort-debug-warn.sh \ | ||
64 | tests/sort/sort-discrim.sh \ | ||
65 | + tests/sort/sort-field-limit.sh \ | ||
66 | tests/sort/sort-files0-from.pl \ | ||
67 | tests/sort/sort-float.sh \ | ||
68 | tests/sort/sort-h-thousands-sep.sh \ | ||
69 | diff --git a/tests/sort/sort-field-limit.sh b/tests/sort/sort-field-limit.sh | ||
70 | new file mode 100755 | ||
71 | index 000000000..52d8e1d17 | ||
72 | --- /dev/null | ||
73 | +++ b/tests/sort/sort-field-limit.sh | ||
74 | @@ -0,0 +1,35 @@ | ||
75 | +#!/bin/sh | ||
76 | +# From 7.2-9.7, this would trigger an out of bounds mem read | ||
77 | + | ||
78 | +# Copyright (C) 2025 Free Software Foundation, Inc. | ||
79 | + | ||
80 | +# This program is free software: you can redistribute it and/or modify | ||
81 | +# it under the terms of the GNU General Public License as published by | ||
82 | +# the Free Software Foundation, either version 3 of the License, or | ||
83 | +# (at your option) any later version. | ||
84 | + | ||
85 | +# This program is distributed in the hope that it will be useful, | ||
86 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
87 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
88 | +# GNU General Public License for more details. | ||
89 | + | ||
90 | +# You should have received a copy of the GNU General Public License | ||
91 | +# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
92 | + | ||
93 | +. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src | ||
94 | +print_ver_ sort | ||
95 | +getlimits_ | ||
96 | + | ||
97 | +# This issue triggers with valgrind or ASAN | ||
98 | +valgrind --error-exitcode=1 sort --version 2>/dev/null && | ||
99 | + VALGRIND='valgrind --error-exitcode=1' | ||
100 | + | ||
101 | +{ printf '%s\n' aa bb; } > in || framework_failure_ | ||
102 | + | ||
103 | +_POSIX2_VERSION=200809 $VALGRIND sort +0.${SIZE_MAX}R in > out || fail=1 | ||
104 | +compare in out || fail=1 | ||
105 | + | ||
106 | +_POSIX2_VERSION=200809 $VALGRIND sort +1 -1.${SIZE_MAX}R in > out || fail=1 | ||
107 | +compare in out || fail=1 | ||
108 | + | ||
109 | +Exit $fail | ||
110 | -- | ||
111 | 2.34.1 | ||
112 | |||
diff --git a/meta/recipes-core/coreutils/coreutils_9.7.bb b/meta/recipes-core/coreutils/coreutils_9.7.bb index dc9dfae26b..5a6456d65e 100644 --- a/meta/recipes-core/coreutils/coreutils_9.7.bb +++ b/meta/recipes-core/coreutils/coreutils_9.7.bb | |||
@@ -15,6 +15,7 @@ inherit autotools gettext texinfo | |||
15 | 15 | ||
16 | SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ | 16 | SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ |
17 | file://remove-usr-local-lib-from-m4.patch \ | 17 | file://remove-usr-local-lib-from-m4.patch \ |
18 | file://0001-sort-fix-buffer-under-read-CWE-127.patch \ | ||
18 | file://run-ptest \ | 19 | file://run-ptest \ |
19 | " | 20 | " |
20 | SRC_URI[sha256sum] = "e8bb26ad0293f9b5a1fc43fb42ba970e312c66ce92c1b0b16713d7500db251bf" | 21 | SRC_URI[sha256sum] = "e8bb26ad0293f9b5a1fc43fb42ba970e312c66ce92c1b0b16713d7500db251bf" |
diff --git a/meta/recipes-core/dbus-wait/dbus-wait_git.bb b/meta/recipes-core/dbus-wait/dbus-wait_git.bb index 39363b9b3a..c6a9abde63 100644 --- a/meta/recipes-core/dbus-wait/dbus-wait_git.bb +++ b/meta/recipes-core/dbus-wait/dbus-wait_git.bb | |||
@@ -13,6 +13,4 @@ PV = "0.1+git" | |||
13 | SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https" | 13 | SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https" |
14 | UPSTREAM_CHECK_COMMITS = "1" | 14 | UPSTREAM_CHECK_COMMITS = "1" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
diff --git a/meta/recipes-core/dbus/dbus_1.16.2.bb b/meta/recipes-core/dbus/dbus_1.16.2.bb index caff4c079b..65f7028b4f 100644 --- a/meta/recipes-core/dbus/dbus_1.16.2.bb +++ b/meta/recipes-core/dbus/dbus_1.16.2.bb | |||
@@ -148,7 +148,6 @@ do_install:append:class-target() { | |||
148 | ln -fs ../dbus.service ${D}${systemd_system_unitdir}/multi-user.target.wants/dbus.service | 148 | ln -fs ../dbus.service ${D}${systemd_system_unitdir}/multi-user.target.wants/dbus.service |
149 | fi | 149 | fi |
150 | 150 | ||
151 | |||
152 | mkdir -p ${D}${localstatedir}/lib/dbus | 151 | mkdir -p ${D}${localstatedir}/lib/dbus |
153 | 152 | ||
154 | chown messagebus:messagebus ${D}${localstatedir}/lib/dbus | 153 | chown messagebus:messagebus ${D}${localstatedir}/lib/dbus |
diff --git a/meta/recipes-core/dropbear/dropbear_2025.88.bb b/meta/recipes-core/dropbear/dropbear_2025.88.bb index f203763b17..72a886d907 100644 --- a/meta/recipes-core/dropbear/dropbear_2025.88.bb +++ b/meta/recipes-core/dropbear/dropbear_2025.88.bb | |||
@@ -48,10 +48,10 @@ SBINCOMMANDS = "dropbear dropbearkey dropbearconvert" | |||
48 | BINCOMMANDS = "dbclient ssh scp" | 48 | BINCOMMANDS = "dbclient ssh scp" |
49 | EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' | 49 | EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' |
50 | 50 | ||
51 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | 51 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam x11', d)}" |
52 | PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam,${PAM_PLUGINS}" | 52 | PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam,${PAM_PLUGINS}" |
53 | PACKAGECONFIG[system-libtom] = "--disable-bundled-libtom,--enable-bundled-libtom,libtommath libtomcrypt" | 53 | PACKAGECONFIG[system-libtom] = "--disable-bundled-libtom,--enable-bundled-libtom,libtommath libtomcrypt" |
54 | PACKAGECONFIG[enable-x11-forwarding] = "" | 54 | PACKAGECONFIG[x11] = ",,,,xauth" |
55 | 55 | ||
56 | # This option appends to CFLAGS and LDFLAGS from OE | 56 | # This option appends to CFLAGS and LDFLAGS from OE |
57 | # This is causing [textrel] QA warning | 57 | # This is causing [textrel] QA warning |
@@ -62,7 +62,7 @@ EXTRA_OECONF:append:libc-musl = " --disable-wtmp --disable-lastlog" | |||
62 | 62 | ||
63 | do_configure:append() { | 63 | do_configure:append() { |
64 | echo "/* Dropbear features */" > ${B}/localoptions.h | 64 | echo "/* Dropbear features */" > ${B}/localoptions.h |
65 | if ${@bb.utils.contains('PACKAGECONFIG', 'enable-x11-forwarding', 'true', 'false', d)}; then | 65 | if ${@bb.utils.contains('PACKAGECONFIG', 'x11', 'true', 'false', d)}; then |
66 | echo "#define DROPBEAR_X11FWD 1" >> ${B}/localoptions.h | 66 | echo "#define DROPBEAR_X11FWD 1" >> ${B}/localoptions.h |
67 | fi | 67 | fi |
68 | } | 68 | } |
diff --git a/meta/recipes-core/fts/fts_1.2.7.bb b/meta/recipes-core/fts/fts_1.2.7.bb index 10103830af..699dc5ddd3 100644 --- a/meta/recipes-core/fts/fts_1.2.7.bb +++ b/meta/recipes-core/fts/fts_1.2.7.bb | |||
@@ -12,8 +12,6 @@ SRCREV = "0bde52df588e8969879a2cae51c3a4774ec62472" | |||
12 | 12 | ||
13 | SRC_URI = "git://github.com/pullmoll/musl-fts.git;branch=master;protocol=https" | 13 | SRC_URI = "git://github.com/pullmoll/musl-fts.git;branch=master;protocol=https" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig |
18 | # | 16 | # |
19 | # We will skip parsing for non-musl systems | 17 | # We will skip parsing for non-musl systems |
diff --git a/meta/recipes-core/gettext/gettext-minimal-native_0.23.1.bb b/meta/recipes-core/gettext/gettext-minimal-native_0.23.1.bb index e443b6b34f..941896ec48 100644 --- a/meta/recipes-core/gettext/gettext-minimal-native_0.23.1.bb +++ b/meta/recipes-core/gettext/gettext-minimal-native_0.23.1.bb | |||
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=4bd090a20bfcd1a18f1f79837b5e | |||
17 | 17 | ||
18 | inherit native | 18 | inherit native |
19 | 19 | ||
20 | S = "${WORKDIR}/gettext-${PV}" | 20 | S = "${UNPACKDIR}/gettext-${PV}" |
21 | 21 | ||
22 | python get_aclocal_files() { | 22 | python get_aclocal_files() { |
23 | fpath = oe.path.join(d.getVar("S"), "/gettext-tools/m4/Makefile.am") | 23 | fpath = oe.path.join(d.getVar("S"), "/gettext-tools/m4/Makefile.am") |
diff --git a/meta/recipes-core/gettext/gettext_0.23.1.bb b/meta/recipes-core/gettext/gettext_0.23.1.bb index cbc3e48890..c704a3b6d7 100644 --- a/meta/recipes-core/gettext/gettext_0.23.1.bb +++ b/meta/recipes-core/gettext/gettext_0.23.1.bb | |||
@@ -13,7 +13,6 @@ LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', | |||
13 | # without glib in PACKAGECONFIG vendor copy of the lib will be used | 13 | # without glib in PACKAGECONFIG vendor copy of the lib will be used |
14 | LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=e3159f5ac38dfe77af5cc0ee104dab2d;beginline=10;endline=27', d)}" | 14 | LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=e3159f5ac38dfe77af5cc0ee104dab2d;beginline=10;endline=27', d)}" |
15 | 15 | ||
16 | |||
17 | DEPENDS = "gettext-native virtual/libiconv" | 16 | DEPENDS = "gettext-native virtual/libiconv" |
18 | DEPENDS:class-native = "gettext-minimal-native" | 17 | DEPENDS:class-native = "gettext-minimal-native" |
19 | PROVIDES = "virtual/libintl virtual/gettext" | 18 | PROVIDES = "virtual/libintl virtual/gettext" |
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index 38e75aab61..ba7763c841 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -30,7 +30,7 @@ LEAD_SONAME = "libglib-2.0.*" | |||
30 | 30 | ||
31 | inherit meson gettext gi-docgen pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages gobject-introspection-data | 31 | inherit meson gettext gi-docgen pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages gobject-introspection-data |
32 | 32 | ||
33 | S = "${WORKDIR}/glib-${PV}" | 33 | S = "${UNPACKDIR}/glib-${PV}" |
34 | 34 | ||
35 | GIDOCGEN_MESON_OPTION = "documentation" | 35 | GIDOCGEN_MESON_OPTION = "documentation" |
36 | 36 | ||
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.41.bb b/meta/recipes-core/glibc/cross-localedef-native_2.41.bb index 5aeb84ac80..95acb3fc56 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.41.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.41.bb | |||
@@ -20,7 +20,7 @@ inherit native | |||
20 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" | 20 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" |
21 | 21 | ||
22 | SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | 22 | SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ |
23 | git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef;protocol=https \ | 23 | git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/localedef;protocol=https \ |
24 | \ | 24 | \ |
25 | file://0001-localedef-Add-hardlink-resolver-from-util-linux.patch \ | 25 | file://0001-localedef-Add-hardlink-resolver-from-util-linux.patch \ |
26 | file://0002-localedef-fix-ups-hardlink-to-make-it-compile.patch \ | 26 | file://0002-localedef-fix-ups-hardlink-to-make-it-compile.patch \ |
@@ -37,8 +37,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
37 | # | 37 | # |
38 | SRCREV_FORMAT = "glibc_localedef" | 38 | SRCREV_FORMAT = "glibc_localedef" |
39 | 39 | ||
40 | S = "${WORKDIR}/git" | ||
41 | |||
42 | EXTRA_OECONF = "--with-glibc=${S}" | 40 | EXTRA_OECONF = "--with-glibc=${S}" |
43 | 41 | ||
44 | # We do not need bash to run tzselect script, the default is to use | 42 | # We do not need bash to run tzselect script, the default is to use |
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index d84106fb95..2d31131e03 100644 --- a/meta/recipes-core/glibc/glibc-version.inc +++ b/meta/recipes-core/glibc/glibc-version.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | SRCBRANCH ?= "release/2.41/master" | 1 | SRCBRANCH ?= "release/2.41/master" |
2 | PV = "2.41+git" | 2 | PV = "2.41+git" |
3 | SRCREV_glibc ?= "5b4c4617016d28569106549dff6f9fec73eed5ce" | 3 | SRCREV_glibc ?= "0c76c951620f9e12df2a89b2c684878b55bb6795" |
4 | SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" | 4 | SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" |
5 | 5 | ||
6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" | 6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" |
diff --git a/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch b/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch index 862c7b9086..b42b186418 100644 --- a/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch +++ b/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch | |||
@@ -13,7 +13,7 @@ diff --git a/Makeconfig b/Makeconfig | |||
13 | index e35c5cfe4e..7a19c731c6 100644 | 13 | index e35c5cfe4e..7a19c731c6 100644 |
14 | --- a/Makeconfig | 14 | --- a/Makeconfig |
15 | +++ b/Makeconfig | 15 | +++ b/Makeconfig |
16 | @@ -1176,7 +1176,7 @@ endif | 16 | @@ -1172,7 +1172,7 @@ endif |
17 | 17 | ||
18 | # The assembler can generate debug information too. | 18 | # The assembler can generate debug information too. |
19 | ifndef ASFLAGS | 19 | ifndef ASFLAGS |
diff --git a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch index 71777d3f2c..50d80ed577 100644 --- a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch +++ b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch | |||
@@ -40,7 +40,7 @@ index 8a755293b3..22dafcaad1 100644 | |||
40 | # tests | 40 | # tests |
41 | 41 | ||
42 | # process_madvise requires CAP_SYS_ADMIN. | 42 | # process_madvise requires CAP_SYS_ADMIN. |
43 | @@ -277,9 +278,10 @@ tests-time64 += \ | 43 | @@ -282,9 +283,10 @@ tests-time64 += \ |
44 | tst-ntp_gettimex-time64 \ | 44 | tst-ntp_gettimex-time64 \ |
45 | tst-ppoll-time64 \ | 45 | tst-ppoll-time64 \ |
46 | tst-prctl-time64 \ | 46 | tst-prctl-time64 \ |
diff --git a/meta/recipes-core/glibc/glibc_2.41.bb b/meta/recipes-core/glibc/glibc_2.41.bb index 82dcf08fcd..7771fac041 100644 --- a/meta/recipes-core/glibc/glibc_2.41.bb +++ b/meta/recipes-core/glibc/glibc_2.41.bb | |||
@@ -17,7 +17,7 @@ Allows for ASLR bypass so can bypass some hardening, not an exploit in itself, m | |||
17 | easier access for another. 'ASLR bypass itself is not a vulnerability.'" | 17 | easier access for another. 'ASLR bypass itself is not a vulnerability.'" |
18 | 18 | ||
19 | CVE_STATUS_GROUPS += "CVE_STATUS_STABLE_BACKPORTS" | 19 | CVE_STATUS_GROUPS += "CVE_STATUS_STABLE_BACKPORTS" |
20 | CVE_STATUS_STABLE_BACKPORTS = "" | 20 | CVE_STATUS_STABLE_BACKPORTS = "CVE-2025-4802 CVE-2025-5702 CVE-2025-5745" |
21 | CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" | 21 | CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" |
22 | 22 | ||
23 | DEPENDS += "gperf-native bison-native" | 23 | DEPENDS += "gperf-native bison-native" |
@@ -56,7 +56,6 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
56 | file://0001-stdlib-Add-single-threaded-fast-path-to-rand.patch \ | 56 | file://0001-stdlib-Add-single-threaded-fast-path-to-rand.patch \ |
57 | file://0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \ | 57 | file://0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \ |
58 | " | 58 | " |
59 | S = "${WORKDIR}/git" | ||
60 | B = "${WORKDIR}/build-${TARGET_SYS}" | 59 | B = "${WORKDIR}/build-${TARGET_SYS}" |
61 | 60 | ||
62 | PACKAGES_DYNAMIC = "" | 61 | PACKAGES_DYNAMIC = "" |
diff --git a/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb b/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb index 9ca95d1e52..1c475eeb8a 100644 --- a/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb +++ b/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb | |||
@@ -19,12 +19,11 @@ SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \ | |||
19 | file://ldconfig-handle-.dynstr-located-in-separate-segment.patch \ | 19 | file://ldconfig-handle-.dynstr-located-in-separate-segment.patch \ |
20 | " | 20 | " |
21 | 21 | ||
22 | |||
23 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/${P}:" | 22 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/${P}:" |
24 | 23 | ||
25 | inherit native | 24 | inherit native |
26 | 25 | ||
27 | S = "${WORKDIR}/${PN}-${PV}" | 26 | S = "${UNPACKDIR}/${PN}-${PV}" |
28 | 27 | ||
29 | do_compile () { | 28 | do_compile () { |
30 | $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig | 29 | $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig |
diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.44.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.44.bb index 3e7bece41b..8a8f477361 100644 --- a/meta/recipes-core/ifupdown/ifupdown_0.8.44.bb +++ b/meta/recipes-core/ifupdown/ifupdown_0.8.44.bb | |||
@@ -18,9 +18,6 @@ SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https;branch=mast | |||
18 | " | 18 | " |
19 | SRCREV = "7d44f9ce6717a4a496fd46f28c52e12dbf5bafdd" | 19 | SRCREV = "7d44f9ce6717a4a496fd46f28c52e12dbf5bafdd" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | |||
24 | inherit ptest update-alternatives | 21 | inherit ptest update-alternatives |
25 | 22 | ||
26 | do_compile () { | 23 | do_compile () { |
diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index 03f02d14ae..4daedfb43c 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb | |||
@@ -26,8 +26,8 @@ inherit core-image setuptools3 features_check | |||
26 | 26 | ||
27 | REQUIRED_DISTRO_FEATURES += "xattr" | 27 | REQUIRED_DISTRO_FEATURES += "xattr" |
28 | 28 | ||
29 | SRCREV ?= "52b5f6a95de7228a12a9156a4aaa932daf54456f" | 29 | SRCREV ?= "b1b3318eff36d4d9b2d3a935dee607c4f012f992" |
30 | SRC_URI = "git://git.yoctoproject.org/poky;branch=master \ | 30 | SRC_URI = "git://git.yoctoproject.org/poky;branch=master;destsuffix=poky \ |
31 | file://Yocto_Build_Appliance.vmx \ | 31 | file://Yocto_Build_Appliance.vmx \ |
32 | file://Yocto_Build_Appliance.vmxf \ | 32 | file://Yocto_Build_Appliance.vmxf \ |
33 | file://README_VirtualBox_Guest_Additions.txt \ | 33 | file://README_VirtualBox_Guest_Additions.txt \ |
@@ -44,10 +44,10 @@ IMAGE_CMD:ext4:append () { | |||
44 | fakeroot do_populate_poky_src () { | 44 | fakeroot do_populate_poky_src () { |
45 | # Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo | 45 | # Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo |
46 | # will become invalid in the target. | 46 | # will become invalid in the target. |
47 | rm -rf ${UNPACKDIR}/git/.git | 47 | rm -rf ${UNPACKDIR}/poky/.git |
48 | rm -f ${UNPACKDIR}/git/.gitignore | 48 | rm -f ${UNPACKDIR}/poky/.gitignore |
49 | 49 | ||
50 | cp -R ${UNPACKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky | 50 | cp -R ${UNPACKDIR}/poky ${IMAGE_ROOTFS}/home/builder/poky |
51 | 51 | ||
52 | mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/conf | 52 | mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/conf |
53 | mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/downloads | 53 | mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/downloads |
diff --git a/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb index ddf9d1b311..da594d00b7 100644 --- a/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb +++ b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb | |||
@@ -15,8 +15,7 @@ SRC_URI = "file://copyright \ | |||
15 | file://interfaces \ | 15 | file://interfaces \ |
16 | file://nfsroot" | 16 | file://nfsroot" |
17 | 17 | ||
18 | S = "${WORKDIR}/sources" | 18 | S = "${UNPACKDIR}" |
19 | UNPACKDIR = "${S}" | ||
20 | 19 | ||
21 | do_install () { | 20 | do_install () { |
22 | install -d ${D}${sysconfdir}/init.d \ | 21 | install -d ${D}${sysconfdir}/init.d \ |
diff --git a/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb index ec3544c67a..e0a6319ccf 100644 --- a/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb | |||
@@ -3,8 +3,7 @@ LICENSE = "MIT" | |||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
4 | SRC_URI = "file://init-boot.sh" | 4 | SRC_URI = "file://init-boot.sh" |
5 | 5 | ||
6 | S = "${WORKDIR}/sources" | 6 | S = "${UNPACKDIR}" |
7 | UNPACKDIR = "${S}" | ||
8 | 7 | ||
9 | do_install() { | 8 | do_install() { |
10 | install -m 0755 ${S}/init-boot.sh ${D}/init | 9 | install -m 0755 ${S}/init-boot.sh ${D}/init |
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs b/meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs index e67ee4c25d..30555aef55 100644 --- a/meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs +++ b/meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | nfsrootfs_enabled() { | 3 | nfsrootfs_enabled() { |
4 | if [ ${bootparam_root} != "/dev/nfs" ] || [ -z ${bootparam_nfsroot} ]; then | 4 | if [ "${bootparam_root}" != "/dev/nfs" ] || [ -z ${bootparam_nfsroot} ]; then |
5 | return 1 | 5 | return 1 |
6 | fi | 6 | fi |
7 | return 0 | 7 | return 0 |
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb index bb4984366d..2ec03bc34c 100644 --- a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | |||
@@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 | |||
4 | RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_base-utils}" | 4 | RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_base-utils}" |
5 | RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" | 5 | RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" |
6 | 6 | ||
7 | |||
8 | inherit allarch | 7 | inherit allarch |
9 | 8 | ||
10 | SRC_URI = "file://init \ | 9 | SRC_URI = "file://init \ |
@@ -20,8 +19,7 @@ SRC_URI = "file://init \ | |||
20 | file://overlayroot \ | 19 | file://overlayroot \ |
21 | " | 20 | " |
22 | 21 | ||
23 | S = "${WORKDIR}/sources" | 22 | S = "${UNPACKDIR}" |
24 | UNPACKDIR = "${S}" | ||
25 | 23 | ||
26 | do_install() { | 24 | do_install() { |
27 | install -d ${D}/init.d | 25 | install -d ${D}/init.d |
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-boot-tiny_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-boot-tiny_1.0.bb index 40046f30a7..6b99ab1843 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-boot-tiny_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-boot-tiny_1.0.bb | |||
@@ -5,8 +5,7 @@ DEPENDS = "virtual/kernel" | |||
5 | RDEPENDS:${PN} = "busybox-mdev" | 5 | RDEPENDS:${PN} = "busybox-mdev" |
6 | SRC_URI = "file://init-live.sh" | 6 | SRC_URI = "file://init-live.sh" |
7 | 7 | ||
8 | S = "${WORKDIR}/sources" | 8 | S = "${UNPACKDIR}" |
9 | UNPACKDIR = "${S}" | ||
10 | 9 | ||
11 | do_install() { | 10 | do_install() { |
12 | install -m 0755 ${S}/init-live.sh ${D}/init | 11 | install -m 0755 ${S}/init-live.sh ${D}/init |
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb index 7851cc9605..8c8355a53e 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb | |||
@@ -5,8 +5,7 @@ DEPENDS = "virtual/kernel" | |||
5 | RDEPENDS:${PN} = "udev udev-extraconf" | 5 | RDEPENDS:${PN} = "udev udev-extraconf" |
6 | SRC_URI = "file://init-live.sh" | 6 | SRC_URI = "file://init-live.sh" |
7 | 7 | ||
8 | S = "${WORKDIR}/sources" | 8 | S = "${UNPACKDIR}" |
9 | UNPACKDIR = "${S}" | ||
10 | 9 | ||
11 | do_install() { | 10 | do_install() { |
12 | install -m 0755 ${S}/init-live.sh ${D}/init | 11 | install -m 0755 ${S}/init-live.sh ${D}/init |
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb index 31291bcdf2..e308727320 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-install-efi-testfs_1.0.bb | |||
@@ -5,8 +5,7 @@ SRC_URI = "file://init-install-efi-testfs.sh" | |||
5 | 5 | ||
6 | RDEPENDS:${PN} = "parted e2fsprogs-mke2fs dosfstools" | 6 | RDEPENDS:${PN} = "parted e2fsprogs-mke2fs dosfstools" |
7 | 7 | ||
8 | S = "${WORKDIR}/sources" | 8 | S = "${UNPACKDIR}" |
9 | UNPACKDIR = "${S}" | ||
10 | 9 | ||
11 | do_install() { | 10 | do_install() { |
12 | install -m 0755 ${S}/init-install-efi-testfs.sh ${D}/install-efi.sh | 11 | install -m 0755 ${S}/init-install-efi-testfs.sh ${D}/install-efi.sh |
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb index ff3b5622db..77462f4425 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb | |||
@@ -6,8 +6,7 @@ SRC_URI = "file://init-install-efi.sh" | |||
6 | RDEPENDS:${PN} = "parted e2fsprogs-mke2fs dosfstools util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}" | 6 | RDEPENDS:${PN} = "parted e2fsprogs-mke2fs dosfstools util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}" |
7 | RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" | 7 | RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" |
8 | 8 | ||
9 | S = "${WORKDIR}/sources" | 9 | S = "${UNPACKDIR}" |
10 | UNPACKDIR = "${S}" | ||
11 | 10 | ||
12 | do_install() { | 11 | do_install() { |
13 | install -m 0755 ${S}/init-install-efi.sh ${D}/install-efi.sh | 12 | install -m 0755 ${S}/init-install-efi.sh ${D}/install-efi.sh |
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb index 19f05f9fec..05f92203cd 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb | |||
@@ -5,8 +5,7 @@ SRC_URI = "file://init-install-testfs.sh" | |||
5 | 5 | ||
6 | RDEPENDS:${PN} = "grub parted e2fsprogs-mke2fs" | 6 | RDEPENDS:${PN} = "grub parted e2fsprogs-mke2fs" |
7 | 7 | ||
8 | S = "${WORKDIR}/sources" | 8 | S = "${UNPACKDIR}" |
9 | UNPACKDIR = "${S}" | ||
10 | 9 | ||
11 | do_install() { | 10 | do_install() { |
12 | install -m 0755 ${S}/init-install-testfs.sh ${D}/install.sh | 11 | install -m 0755 ${S}/init-install-testfs.sh ${D}/install.sh |
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb index 1d489e2b64..791bd57171 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb | |||
@@ -3,8 +3,7 @@ LICENSE = "MIT" | |||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
4 | SRC_URI = "file://init-install.sh" | 4 | SRC_URI = "file://init-install.sh" |
5 | 5 | ||
6 | S = "${WORKDIR}/sources" | 6 | S = "${UNPACKDIR}" |
7 | UNPACKDIR = "${S}" | ||
8 | 7 | ||
9 | RDEPENDS:${PN} = "grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}" | 8 | RDEPENDS:${PN} = "grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}" |
10 | RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" | 9 | RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" |
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb index bb3f275f26..0283149899 100644 --- a/meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bb | |||
@@ -4,11 +4,9 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 | |||
4 | RDEPENDS:${PN} = "initramfs-framework-base parted e2fsprogs-mke2fs dosfstools util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}" | 4 | RDEPENDS:${PN} = "initramfs-framework-base parted e2fsprogs-mke2fs dosfstools util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}" |
5 | RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" | 5 | RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}" |
6 | 6 | ||
7 | |||
8 | SRC_URI = "file://init-install-efi.sh" | 7 | SRC_URI = "file://init-install-efi.sh" |
9 | 8 | ||
10 | S = "${WORKDIR}/sources" | 9 | S = "${UNPACKDIR}" |
11 | UNPACKDIR = "${S}" | ||
12 | 10 | ||
13 | do_install() { | 11 | do_install() { |
14 | install -d ${D}/init.d | 12 | install -d ${D}/init.d |
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb index d6d8348731..f44c753da0 100644 --- a/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb | |||
@@ -9,11 +9,9 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' | |||
9 | COMPATIBLE_HOST:armv7a = 'null' | 9 | COMPATIBLE_HOST:armv7a = 'null' |
10 | COMPATIBLE_HOST:armv7ve = 'null' | 10 | COMPATIBLE_HOST:armv7ve = 'null' |
11 | 11 | ||
12 | |||
13 | SRC_URI = "file://init-install.sh" | 12 | SRC_URI = "file://init-install.sh" |
14 | 13 | ||
15 | S = "${WORKDIR}/sources" | 14 | S = "${UNPACKDIR}" |
16 | UNPACKDIR = "${S}" | ||
17 | 15 | ||
18 | do_install() { | 16 | do_install() { |
19 | install -d ${D}/init.d | 17 | install -d ${D}/init.d |
diff --git a/meta/recipes-core/initrdscripts/initramfs-module-setup-live_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-module-setup-live_1.0.bb index 4d9ef79a63..3afbd5d47d 100644 --- a/meta/recipes-core/initrdscripts/initramfs-module-setup-live_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-module-setup-live_1.0.bb | |||
@@ -3,14 +3,12 @@ LICENSE = "MIT" | |||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
4 | RDEPENDS:${PN} = "initramfs-framework-base udev-extraconf" | 4 | RDEPENDS:${PN} = "initramfs-framework-base udev-extraconf" |
5 | 5 | ||
6 | |||
7 | inherit allarch | 6 | inherit allarch |
8 | 7 | ||
9 | FILESEXTRAPATHS:prepend := "${THISDIR}/initramfs-framework:" | 8 | FILESEXTRAPATHS:prepend := "${THISDIR}/initramfs-framework:" |
10 | SRC_URI = "file://setup-live" | 9 | SRC_URI = "file://setup-live" |
11 | 10 | ||
12 | S = "${WORKDIR}/sources" | 11 | S = "${UNPACKDIR}" |
13 | UNPACKDIR = "${S}" | ||
14 | 12 | ||
15 | do_install() { | 13 | do_install() { |
16 | install -d ${D}/init.d | 14 | install -d ${D}/init.d |
diff --git a/meta/recipes-core/initscripts/init-system-helpers_1.68.bb b/meta/recipes-core/initscripts/init-system-helpers_1.68.bb index 036c86a536..48ac7792d3 100644 --- a/meta/recipes-core/initscripts/init-system-helpers_1.68.bb +++ b/meta/recipes-core/initscripts/init-system-helpers_1.68.bb | |||
@@ -20,8 +20,6 @@ SRCREV = "78486a4a2a305170b66ce4d907bedadbaed10daf" | |||
20 | SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git;protocol=https;branch=master" | 20 | SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git;protocol=https;branch=master" |
21 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))(?!_exp)" | 21 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))(?!_exp)" |
22 | 22 | ||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | do_configure[noexec] = "1" | 23 | do_configure[noexec] = "1" |
26 | do_compile[noexec] = "1" | 24 | do_compile[noexec] = "1" |
27 | 25 | ||
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 0bc078c5eb..c984257c5c 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb | |||
@@ -35,8 +35,7 @@ SRC_URI = "file://functions \ | |||
35 | ${@bb.utils.contains('DISTRO_FEATURES','selinux','file://sushell','',d)} \ | 35 | ${@bb.utils.contains('DISTRO_FEATURES','selinux','file://sushell','',d)} \ |
36 | " | 36 | " |
37 | 37 | ||
38 | S = "${WORKDIR}/sources" | 38 | S = "${UNPACKDIR}" |
39 | UNPACKDIR = "${S}" | ||
40 | 39 | ||
41 | SRC_URI:append:arm = " file://alignment.sh" | 40 | SRC_URI:append:arm = " file://alignment.sh" |
42 | SRC_URI:append:armeb = " file://alignment.sh" | 41 | SRC_URI:append:armeb = " file://alignment.sh" |
diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc index 55619daef7..77fec83234 100644 --- a/meta/recipes-core/libxcrypt/libxcrypt.inc +++ b/meta/recipes-core/libxcrypt/libxcrypt.inc | |||
@@ -16,8 +16,6 @@ SRCBRANCH ?= "master" | |||
16 | 16 | ||
17 | PROVIDES = "virtual/crypt" | 17 | PROVIDES = "virtual/crypt" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" | 19 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
22 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error" | 20 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error" |
23 | CPPFLAGS:append:class-nativesdk = " -Wno-error" | 21 | CPPFLAGS:append:class-nativesdk = " -Wno-error" |
diff --git a/meta/recipes-core/meta/buildtools-docs-tarball.bb b/meta/recipes-core/meta/buildtools-docs-tarball.bb index b9ef68eb6d..98d47f7b71 100644 --- a/meta/recipes-core/meta/buildtools-docs-tarball.bb +++ b/meta/recipes-core/meta/buildtools-docs-tarball.bb | |||
@@ -7,6 +7,8 @@ LICENSE = "MIT" | |||
7 | # Add nativesdk equivalent of build-essentials | 7 | # Add nativesdk equivalent of build-essentials |
8 | TOOLCHAIN_HOST_TASK += "\ | 8 | TOOLCHAIN_HOST_TASK += "\ |
9 | nativesdk-python3-sphinx \ | 9 | nativesdk-python3-sphinx \ |
10 | nativesdk-python3-sphinx-argparse \ | ||
11 | nativesdk-python3-sphinx-copybutton \ | ||
10 | nativesdk-python3-sphinx-rtd-theme \ | 12 | nativesdk-python3-sphinx-rtd-theme \ |
11 | nativesdk-python3-pyyaml \ | 13 | nativesdk-python3-pyyaml \ |
12 | nativesdk-rsvg \ | 14 | nativesdk-rsvg \ |
@@ -16,4 +18,5 @@ TOOLCHAIN_OUTPUTNAME = "${SDK_ARCH}-buildtools-docs-nativesdk-standalone-${DISTR | |||
16 | 18 | ||
17 | SDK_TITLE = "Docs Build tools tarball" | 19 | SDK_TITLE = "Docs Build tools tarball" |
18 | 20 | ||
19 | TESTSDK_CASES = "buildtools-docs-cases" | 21 | # Directory that contains testcases |
22 | TESTSDK_CASE_DIRS = "buildtools-docs" \ No newline at end of file | ||
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index 6fa6d93a3d..02117ab84d 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb | |||
@@ -124,22 +124,7 @@ TOOLCHAIN_NEED_CONFIGSITE_CACHE = "" | |||
124 | # The recipe doesn't need any default deps | 124 | # The recipe doesn't need any default deps |
125 | INHIBIT_DEFAULT_DEPS = "1" | 125 | INHIBIT_DEFAULT_DEPS = "1" |
126 | 126 | ||
127 | # Directory in testsdk that contains testcases | 127 | inherit testsdk |
128 | TESTSDK_CASES = "buildtools-cases" | ||
129 | 128 | ||
130 | # We have our own code, avoid deferred inherit | 129 | # Directory that contains testcases |
131 | SDK_CLASSES:remove = "testsdk" | 130 | TESTSDK_CASE_DIRS = "buildtools" \ No newline at end of file |
132 | |||
133 | python do_testsdk() { | ||
134 | import oeqa.sdk.testsdk | ||
135 | testsdk = oeqa.sdk.testsdk.TestSDK() | ||
136 | |||
137 | cases_path = os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), d.getVar("TESTSDK_CASES")) | ||
138 | testsdk.context_executor_class.default_cases = [cases_path,] | ||
139 | |||
140 | testsdk.run(d) | ||
141 | } | ||
142 | addtask testsdk | ||
143 | do_testsdk[nostamp] = "1" | ||
144 | do_testsdk[network] = "1" | ||
145 | do_testsdk[depends] += "xz-native:do_populate_sysroot" | ||
diff --git a/meta/recipes-core/meta/cve-update-db-native.bb b/meta/recipes-core/meta/cve-update-db-native.bb index 792252f510..86cd1a1a21 100644 --- a/meta/recipes-core/meta/cve-update-db-native.bb +++ b/meta/recipes-core/meta/cve-update-db-native.bb | |||
@@ -393,7 +393,6 @@ def update_db_fkie(conn, jsondata): | |||
393 | for node in config["nodes"]: | 393 | for node in config["nodes"]: |
394 | parse_node_and_insert(conn, node, cveId, False) | 394 | parse_node_and_insert(conn, node, cveId, False) |
395 | 395 | ||
396 | |||
397 | def update_db(d, conn, jsondata): | 396 | def update_db(d, conn, jsondata): |
398 | if (d.getVar("NVD_DB_VERSION") == "FKIE"): | 397 | if (d.getVar("NVD_DB_VERSION") == "FKIE"): |
399 | return update_db_fkie(conn, jsondata) | 398 | return update_db_fkie(conn, jsondata) |
diff --git a/meta/recipes-core/meta/meta-toolchain.bb b/meta/recipes-core/meta/meta-toolchain.bb index 260e03934e..1b108f0a1c 100644 --- a/meta/recipes-core/meta/meta-toolchain.bb +++ b/meta/recipes-core/meta/meta-toolchain.bb | |||
@@ -1,5 +1,4 @@ | |||
1 | SUMMARY = "Meta package for building a installable toolchain" | 1 | SUMMARY = "Meta package for building a installable toolchain" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | 3 | ||
4 | |||
5 | inherit populate_sdk | 4 | inherit populate_sdk |
diff --git a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb index 2813fbc397..0ba1ca6e42 100644 --- a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb +++ b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | |||
@@ -41,7 +41,6 @@ DUMMYPROVIDES = "\ | |||
41 | /usr/bin/perl \ | 41 | /usr/bin/perl \ |
42 | " | 42 | " |
43 | 43 | ||
44 | |||
45 | require dummy-sdk-package.inc | 44 | require dummy-sdk-package.inc |
46 | 45 | ||
47 | inherit nativesdk | 46 | inherit nativesdk |
diff --git a/meta/recipes-core/meta/signing-keys.bb b/meta/recipes-core/meta/signing-keys.bb index 107a39d658..94f4032911 100644 --- a/meta/recipes-core/meta/signing-keys.bb +++ b/meta/recipes-core/meta/signing-keys.bb | |||
@@ -4,7 +4,6 @@ | |||
4 | SUMMARY = "Makes public keys of the signing keys available" | 4 | SUMMARY = "Makes public keys of the signing keys available" |
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | 6 | ||
7 | |||
8 | inherit allarch deploy | 7 | inherit allarch deploy |
9 | 8 | ||
10 | EXCLUDE_FROM_WORLD = "1" | 9 | EXCLUDE_FROM_WORLD = "1" |
diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb index 0fd01fdb64..0dbc698ccd 100644 --- a/meta/recipes-core/meta/uninative-tarball.bb +++ b/meta/recipes-core/meta/uninative-tarball.bb | |||
@@ -51,7 +51,6 @@ fakeroot create_sdk_files() { | |||
51 | sed -i -e "s:##DEFAULT_INSTALL_DIR##:$escaped_sdkpath:" ${SDK_OUTPUT}/${SDKPATH}/relocate_sdk.py | 51 | sed -i -e "s:##DEFAULT_INSTALL_DIR##:$escaped_sdkpath:" ${SDK_OUTPUT}/${SDKPATH}/relocate_sdk.py |
52 | } | 52 | } |
53 | 53 | ||
54 | |||
55 | fakeroot archive_sdk() { | 54 | fakeroot archive_sdk() { |
56 | cd ${SDK_OUTPUT}/${SDKPATH} | 55 | cd ${SDK_OUTPUT}/${SDKPATH} |
57 | 56 | ||
diff --git a/meta/recipes-core/musl/bsd-headers.bb b/meta/recipes-core/musl/bsd-headers.bb index 7d0bdee870..ad9ba81e4f 100644 --- a/meta/recipes-core/musl/bsd-headers.bb +++ b/meta/recipes-core/musl/bsd-headers.bb | |||
@@ -15,8 +15,7 @@ do_compile[noexec] = "1" | |||
15 | 15 | ||
16 | INHIBIT_DEFAULT_DEPS = "1" | 16 | INHIBIT_DEFAULT_DEPS = "1" |
17 | 17 | ||
18 | S = "${WORKDIR}/sources" | 18 | S = "${UNPACKDIR}" |
19 | UNPACKDIR = "${S}" | ||
20 | 19 | ||
21 | do_install() { | 20 | do_install() { |
22 | install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h | 21 | install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h |
diff --git a/meta/recipes-core/musl/gcompat_git.bb b/meta/recipes-core/musl/gcompat_git.bb index 40fe8c6a5f..6f9710e71a 100644 --- a/meta/recipes-core/musl/gcompat_git.bb +++ b/meta/recipes-core/musl/gcompat_git.bb | |||
@@ -16,8 +16,6 @@ SRC_URI:append:powerpc = "\ | |||
16 | PV = "1.1.0" | 16 | PV = "1.1.0" |
17 | SRCREV = "b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6" | 17 | SRCREV = "b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit pkgconfig linuxloader siteinfo | 19 | inherit pkgconfig linuxloader siteinfo |
22 | 20 | ||
23 | DEPENDS += "musl-obstack" | 21 | DEPENDS += "musl-obstack" |
diff --git a/meta/recipes-core/musl/libc-test_git.bb b/meta/recipes-core/musl/libc-test_git.bb index f55a125a89..71a111cfa4 100644 --- a/meta/recipes-core/musl/libc-test_git.bb +++ b/meta/recipes-core/musl/libc-test_git.bb | |||
@@ -18,8 +18,6 @@ SRC_URI = " \ | |||
18 | 18 | ||
19 | PV = "0+git" | 19 | PV = "0+git" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | # libc-test 'make' or 'make run' command is designed to build and run tests. It | 21 | # libc-test 'make' or 'make run' command is designed to build and run tests. It |
24 | # reports both build and test failures. The commands should be run on target. | 22 | # reports both build and test failures. The commands should be run on target. |
25 | do_compile() { | 23 | do_compile() { |
diff --git a/meta/recipes-core/musl/libssp-nonshared.bb b/meta/recipes-core/musl/libssp-nonshared.bb index fde3bc97b4..4bcbaef7ea 100644 --- a/meta/recipes-core/musl/libssp-nonshared.bb +++ b/meta/recipes-core/musl/libssp-nonshared.bb | |||
@@ -17,8 +17,7 @@ DEPENDS = "virtual/cross-binutils \ | |||
17 | 17 | ||
18 | do_configure[noexec] = "1" | 18 | do_configure[noexec] = "1" |
19 | 19 | ||
20 | S = "${WORKDIR}/sources" | 20 | S = "${UNPACKDIR}" |
21 | UNPACKDIR = "${S}" | ||
22 | 21 | ||
23 | do_compile() { | 22 | do_compile() { |
24 | ${CC} ${CPPFLAGS} ${CFLAGS} -fPIE -c stack_chk.c -o stack_chk.o | 23 | ${CC} ${CPPFLAGS} ${CFLAGS} -fPIE -c stack_chk.c -o stack_chk.o |
diff --git a/meta/recipes-core/musl/libucontext_1.3.2.bb b/meta/recipes-core/musl/libucontext_1.3.2.bb index 65ee77d06e..2362cba5c8 100644 --- a/meta/recipes-core/musl/libucontext_1.3.2.bb +++ b/meta/recipes-core/musl/libucontext_1.3.2.bb | |||
@@ -12,8 +12,6 @@ SRCREV = "a0323579ac50b9a9d4033754d089f1fed0f59a00" | |||
12 | SRC_URI = "git://github.com/kaniini/libucontext;branch=master;protocol=https \ | 12 | SRC_URI = "git://github.com/kaniini/libucontext;branch=master;protocol=https \ |
13 | " | 13 | " |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | COMPATIBLE_HOST = ".*-musl.*" | 15 | COMPATIBLE_HOST = ".*-musl.*" |
18 | 16 | ||
19 | valid_archs = " \ | 17 | valid_archs = " \ |
diff --git a/meta/recipes-core/musl/musl-legacy-error.bb b/meta/recipes-core/musl/musl-legacy-error.bb index 11a838a6e8..b40075c0b6 100644 --- a/meta/recipes-core/musl/musl-legacy-error.bb +++ b/meta/recipes-core/musl/musl-legacy-error.bb | |||
@@ -13,8 +13,7 @@ do_compile[noexec] = "1" | |||
13 | 13 | ||
14 | INHIBIT_DEFAULT_DEPS = "1" | 14 | INHIBIT_DEFAULT_DEPS = "1" |
15 | 15 | ||
16 | S = "${WORKDIR}/sources" | 16 | S = "${UNPACKDIR}" |
17 | UNPACKDIR = "${S}" | ||
18 | 17 | ||
19 | do_install() { | 18 | do_install() { |
20 | install -Dm 0644 ${S}/error.h -t ${D}${includedir} | 19 | install -Dm 0644 ${S}/error.h -t ${D}${includedir} |
diff --git a/meta/recipes-core/musl/musl-locales_git.bb b/meta/recipes-core/musl/musl-locales_git.bb index 2815e2ddf0..c8510596cf 100644 --- a/meta/recipes-core/musl/musl-locales_git.bb +++ b/meta/recipes-core/musl/musl-locales_git.bb | |||
@@ -12,8 +12,6 @@ SRC_URI = "git://git.adelielinux.org/adelie/musl-locales;protocol=https;branch=m | |||
12 | PV = "1.0+git" | 12 | PV = "1.0+git" |
13 | SRCREV = "5663f5bfd30bf9e1e0ba3fc5fe2da6725969f30e" | 13 | SRCREV = "5663f5bfd30bf9e1e0ba3fc5fe2da6725969f30e" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | DEPENDS = "virtual/libintl gettext-native" | 15 | DEPENDS = "virtual/libintl gettext-native" |
18 | 16 | ||
19 | PROVIDES = "virtual/libc-locale" | 17 | PROVIDES = "virtual/libc-locale" |
diff --git a/meta/recipes-core/musl/musl-obstack.bb b/meta/recipes-core/musl/musl-obstack.bb index 4c71a141b2..d8a5ae8d82 100644 --- a/meta/recipes-core/musl/musl-obstack.bb +++ b/meta/recipes-core/musl/musl-obstack.bb | |||
@@ -16,7 +16,5 @@ UPSTREAM_CHECK_COMMITS = "1" | |||
16 | 16 | ||
17 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | COMPATIBLE_HOST = ".*-musl.*" | 19 | COMPATIBLE_HOST = ".*-musl.*" |
22 | 20 | ||
diff --git a/meta/recipes-core/musl/musl-utils.bb b/meta/recipes-core/musl/musl-utils.bb index 8280333daf..4b685640c8 100644 --- a/meta/recipes-core/musl/musl-utils.bb +++ b/meta/recipes-core/musl/musl-utils.bb | |||
@@ -17,8 +17,6 @@ UPSTREAM_CHECK_COMMITS = "1" | |||
17 | 17 | ||
18 | inherit autotools | 18 | inherit autotools |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | PACKAGES =+ "${PN}-iconv" | 20 | PACKAGES =+ "${PN}-iconv" |
23 | 21 | ||
24 | FILES:${PN}-iconv = "${bindir}/iconv" | 22 | FILES:${PN}-iconv = "${bindir}/iconv" |
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index afc459bf1c..51e429b093 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb | |||
@@ -16,8 +16,6 @@ SRC_URI = "git://git.musl-libc.org/musl;branch=master \ | |||
16 | file://0001-Update-syscalls-for-r32-rv64-from-kernel-6.4-through.patch \ | 16 | file://0001-Update-syscalls-for-r32-rv64-from-kernel-6.4-through.patch \ |
17 | " | 17 | " |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | PROVIDES += "virtual/libc virtual/libiconv virtual/libintl virtual/crypt" | 19 | PROVIDES += "virtual/libc virtual/libiconv virtual/libintl virtual/crypt" |
22 | 20 | ||
23 | DEPENDS = "virtual/cross-binutils \ | 21 | DEPENDS = "virtual/cross-binutils \ |
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 1e9ec38cea..951f96beb5 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc | |||
@@ -175,7 +175,6 @@ do_install() { | |||
175 | oe_runmake -C narrowc ${_install_cfgs} \ | 175 | oe_runmake -C narrowc ${_install_cfgs} \ |
176 | install.data | 176 | install.data |
177 | 177 | ||
178 | |||
179 | ! ${ENABLE_WIDEC} || \ | 178 | ! ${ENABLE_WIDEC} || \ |
180 | oe_runmake -C widec ${_install_cfgs} ${_install_opts} | 179 | oe_runmake -C widec ${_install_cfgs} ${_install_opts} |
181 | 180 | ||
@@ -263,7 +262,6 @@ python populate_packages:prepend () { | |||
263 | do_split_packages(d, base_libdir, r'^lib(.*)\.so\..*', pnbase, 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True) | 262 | do_split_packages(d, base_libdir, r'^lib(.*)\.so\..*', pnbase, 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True) |
264 | } | 263 | } |
265 | 264 | ||
266 | |||
267 | inherit update-alternatives | 265 | inherit update-alternatives |
268 | 266 | ||
269 | ALTERNATIVE_PRIORITY = "100" | 267 | ALTERNATIVE_PRIORITY = "100" |
diff --git a/meta/recipes-core/ncurses/ncurses_6.5.bb b/meta/recipes-core/ncurses/ncurses_6.5.bb index 2e3ee337ea..bba3495266 100644 --- a/meta/recipes-core/ncurses/ncurses_6.5.bb +++ b/meta/recipes-core/ncurses/ncurses_6.5.bb | |||
@@ -7,7 +7,6 @@ SRC_URI += "file://0001-tic-hang.patch \ | |||
7 | " | 7 | " |
8 | # commit id corresponds to the revision in package version | 8 | # commit id corresponds to the revision in package version |
9 | SRCREV = "1c55d64d9d3e00399a21f04e9cac1e472ab5f70a" | 9 | SRCREV = "1c55d64d9d3e00399a21f04e9cac1e472ab5f70a" |
10 | S = "${WORKDIR}/git" | ||
11 | EXTRA_OECONF += "--with-abi-version=5" | 10 | EXTRA_OECONF += "--with-abi-version=5" |
12 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+_\d+)$" | 11 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+_\d+)$" |
13 | 12 | ||
diff --git a/meta/recipes-core/netbase/netbase_6.5.bb b/meta/recipes-core/netbase/netbase_6.5.bb index d273dbfe66..c6cf798421 100644 --- a/meta/recipes-core/netbase/netbase_6.5.bb +++ b/meta/recipes-core/netbase/netbase_6.5.bb | |||
@@ -22,4 +22,4 @@ do_install () { | |||
22 | install -m 0644 ${S}/etc/ethertypes ${D}${sysconfdir}/ethertypes | 22 | install -m 0644 ${S}/etc/ethertypes ${D}${sysconfdir}/ethertypes |
23 | } | 23 | } |
24 | 24 | ||
25 | S = "${WORKDIR}/netbase" | 25 | S = "${UNPACKDIR}/netbase" |
diff --git a/meta/recipes-core/newlib/newlib.inc b/meta/recipes-core/newlib/newlib.inc index 5b5025148e..a8794dd1d9 100644 --- a/meta/recipes-core/newlib/newlib.inc +++ b/meta/recipes-core/newlib/newlib.inc | |||
@@ -22,7 +22,6 @@ SRCREV = "5e5e51f1dc56a99eb4648c28e00d73b6ea44a8b0" | |||
22 | INHIBIT_DEFAULT_DEPS = "1" | 22 | INHIBIT_DEFAULT_DEPS = "1" |
23 | DEPENDS = "virtual/cross-cc" | 23 | DEPENDS = "virtual/cross-cc" |
24 | 24 | ||
25 | S = "${WORKDIR}/git" | ||
26 | B = "${WORKDIR}/build" | 25 | B = "${WORKDIR}/build" |
27 | 26 | ||
28 | ## disable stdlib | 27 | ## disable stdlib |
@@ -35,7 +34,6 @@ TARGET_CC_ARCH:append = " -nostdlib" | |||
35 | # Keep RISC-V 32 using -mcmodel=medlow (symbols lie between -2GB:2GB) | 34 | # Keep RISC-V 32 using -mcmodel=medlow (symbols lie between -2GB:2GB) |
36 | TARGET_CFLAGS:append:qemuriscv64 = " -mcmodel=medany" | 35 | TARGET_CFLAGS:append:qemuriscv64 = " -mcmodel=medany" |
37 | 36 | ||
38 | |||
39 | EXTRA_OECONF = " \ | 37 | EXTRA_OECONF = " \ |
40 | --build=${BUILD_SYS} \ | 38 | --build=${BUILD_SYS} \ |
41 | --target=${TARGET_SYS} \ | 39 | --target=${TARGET_SYS} \ |
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb index ab6c580722..08879966c3 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta/recipes-core/ovmf/ovmf_git.bb | |||
@@ -16,7 +16,6 @@ PACKAGECONFIG[debug] = ",,," | |||
16 | PACKAGECONFIG[secureboot] = ",,," | 16 | PACKAGECONFIG[secureboot] = ",,," |
17 | PACKAGECONFIG[tpm] = "-D TPM_ENABLE=TRUE,-D TPM_ENABLE=FALSE,," | 17 | PACKAGECONFIG[tpm] = "-D TPM_ENABLE=TRUE,-D TPM_ENABLE=FALSE,," |
18 | 18 | ||
19 | |||
20 | # GCC12 trips on it | 19 | # GCC12 trips on it |
21 | #see https://src.fedoraproject.org/rpms/edk2/blob/rawhide/f/0032-Basetools-turn-off-gcc12-warning.patch | 20 | #see https://src.fedoraproject.org/rpms/edk2/blob/rawhide/f/0032-Basetools-turn-off-gcc12-warning.patch |
22 | BUILD_CFLAGS += "-Wno-error=stringop-overflow" | 21 | BUILD_CFLAGS += "-Wno-error=stringop-overflow" |
@@ -55,8 +54,6 @@ inherit deploy | |||
55 | 54 | ||
56 | PARALLEL_MAKE = "" | 55 | PARALLEL_MAKE = "" |
57 | 56 | ||
58 | S = "${WORKDIR}/git" | ||
59 | |||
60 | DEPENDS = "nasm-native acpica-native ovmf-native util-linux-native" | 57 | DEPENDS = "nasm-native acpica-native ovmf-native util-linux-native" |
61 | 58 | ||
62 | EDK_TOOLS_DIR = "edk2_basetools" | 59 | EDK_TOOLS_DIR = "edk2_basetools" |
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb index 2e051dba33..fd61ba4437 100644 --- a/meta/recipes-core/packagegroups/packagegroup-base.bb +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb | |||
@@ -72,7 +72,6 @@ RDEPENDS:packagegroup-base = "\ | |||
72 | ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'packagegroup-base-zeroconf', '',d)} \ | 72 | ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'packagegroup-base-zeroconf', '',d)} \ |
73 | " | 73 | " |
74 | 74 | ||
75 | |||
76 | RRECOMMENDS:packagegroup-base = "\ | 75 | RRECOMMENDS:packagegroup-base = "\ |
77 | kernel-module-nls-utf8 \ | 76 | kernel-module-nls-utf8 \ |
78 | kernel-module-input \ | 77 | kernel-module-input \ |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb index 56ff1d2b06..f19fd64ec1 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb | |||
@@ -8,7 +8,6 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}" | |||
8 | 8 | ||
9 | inherit packagegroup | 9 | inherit packagegroup |
10 | 10 | ||
11 | |||
12 | MTRACE = "" | 11 | MTRACE = "" |
13 | MTRACE:libc-glibc = "libc-mtrace" | 12 | MTRACE:libc-glibc = "libc-mtrace" |
14 | 13 | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb index 4e324caa96..54915e4f0c 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | |||
@@ -4,7 +4,6 @@ | |||
4 | 4 | ||
5 | SUMMARY = "Profiling tools" | 5 | SUMMARY = "Profiling tools" |
6 | 6 | ||
7 | |||
8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 7 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
9 | 8 | ||
10 | inherit packagegroup | 9 | inherit packagegroup |
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb index d7ea8e937f..25561f6878 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb | |||
@@ -4,7 +4,6 @@ | |||
4 | 4 | ||
5 | SUMMARY = "Testing tools/applications" | 5 | SUMMARY = "Testing tools/applications" |
6 | 6 | ||
7 | |||
8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 7 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
9 | 8 | ||
10 | inherit packagegroup | 9 | inherit packagegroup |
diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb index df71695a97..c386267781 100644 --- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | |||
@@ -107,7 +107,6 @@ RDEPENDS:packagegroup-self-hosted-debug = " \ | |||
107 | ${STRACE} \ | 107 | ${STRACE} \ |
108 | tcf-agent" | 108 | tcf-agent" |
109 | 109 | ||
110 | |||
111 | RDEPENDS:packagegroup-self-hosted-extended = "\ | 110 | RDEPENDS:packagegroup-self-hosted-extended = "\ |
112 | bzip2 \ | 111 | bzip2 \ |
113 | chrpath \ | 112 | chrpath \ |
@@ -178,7 +177,6 @@ RDEPENDS:packagegroup-self-hosted-extended = "\ | |||
178 | zstd \ | 177 | zstd \ |
179 | " | 178 | " |
180 | 179 | ||
181 | |||
182 | RDEPENDS:packagegroup-self-hosted-graphics = "\ | 180 | RDEPENDS:packagegroup-self-hosted-graphics = "\ |
183 | adwaita-icon-theme \ | 181 | adwaita-icon-theme \ |
184 | builder \ | 182 | builder \ |
diff --git a/meta/recipes-core/picolibc/picolibc.inc b/meta/recipes-core/picolibc/picolibc.inc index 640be819a3..68c32894a7 100644 --- a/meta/recipes-core/picolibc/picolibc.inc +++ b/meta/recipes-core/picolibc/picolibc.inc | |||
@@ -17,5 +17,4 @@ PV = "${BASEVER}+git" | |||
17 | SRC_URI = "git://github.com/picolibc/picolibc.git;protocol=https;branch=main" | 17 | SRC_URI = "git://github.com/picolibc/picolibc.git;protocol=https;branch=main" |
18 | SRCREV = "764ef4e401a8f4c6a86ab723533841f072885a5b" | 18 | SRCREV = "764ef4e401a8f4c6a86ab723533841f072885a5b" |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | B = "${WORKDIR}/build" | 20 | B = "${WORKDIR}/build" |
diff --git a/meta/recipes-core/picolibc/picolibc_git.bb b/meta/recipes-core/picolibc/picolibc_git.bb index e6735184cd..eaa6c8de1e 100644 --- a/meta/recipes-core/picolibc/picolibc_git.bb +++ b/meta/recipes-core/picolibc/picolibc_git.bb | |||
@@ -28,7 +28,6 @@ PACKAGECONFIG ??= " specsdir" | |||
28 | # Install GCC specs on libdir | 28 | # Install GCC specs on libdir |
29 | PACKAGECONFIG[specsdir] = "-Dspecsdir=${libdir},-Dspecsdir=none" | 29 | PACKAGECONFIG[specsdir] = "-Dspecsdir=${libdir},-Dspecsdir=none" |
30 | 30 | ||
31 | |||
32 | FILES:${PN}-dev:append = " ${libdir}/*.specs ${libdir}/*.ld" | 31 | FILES:${PN}-dev:append = " ${libdir}/*.specs ${libdir}/*.ld" |
33 | 32 | ||
34 | # No rpm package is actually created but -dev depends on it, avoid dnf error | 33 | # No rpm package is actually created but -dev depends on it, avoid dnf error |
diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb index f3647d389d..3be0e26a0c 100644 --- a/meta/recipes-core/psplash/psplash_git.bb +++ b/meta/recipes-core/psplash/psplash_git.bb | |||
@@ -62,8 +62,6 @@ python __anonymous() { | |||
62 | d.appendVar("RDEPENDS:%s" % pn, " %s" % ep) | 62 | d.appendVar("RDEPENDS:%s" % pn, " %s" % ep) |
63 | } | 63 | } |
64 | 64 | ||
65 | S = "${WORKDIR}/git" | ||
66 | |||
67 | inherit autotools pkgconfig update-rc.d update-alternatives systemd | 65 | inherit autotools pkgconfig update-rc.d update-alternatives systemd |
68 | 66 | ||
69 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} progress-bar fullscreen" | 67 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} progress-bar fullscreen" |
diff --git a/meta/recipes-core/seatd/seatd_0.9.1.bb b/meta/recipes-core/seatd/seatd_0.9.1.bb index 3b4b3bae4c..3be27dda9d 100644 --- a/meta/recipes-core/seatd/seatd_0.9.1.bb +++ b/meta/recipes-core/seatd/seatd_0.9.1.bb | |||
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=715a99d2dd552e6188e74d4ed2914d5a" | |||
9 | SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master \ | 9 | SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master \ |
10 | file://init" | 10 | file://init" |
11 | SRCREV = "566ffeb032af42865dc1210e48cec08368059bb9" | 11 | SRCREV = "566ffeb032af42865dc1210e48cec08368059bb9" |
12 | S = "${WORKDIR}/git" | ||
13 | 12 | ||
14 | inherit meson pkgconfig systemd update-rc.d useradd | 13 | inherit meson pkgconfig systemd update-rc.d useradd |
15 | 14 | ||
diff --git a/meta/recipes-core/sysfsutils/sysfsutils_2.1.1.bb b/meta/recipes-core/sysfsutils/sysfsutils_2.1.1.bb index d99039b6f8..5040d8864e 100644 --- a/meta/recipes-core/sysfsutils/sysfsutils_2.1.1.bb +++ b/meta/recipes-core/sysfsutils/sysfsutils_2.1.1.bb | |||
@@ -15,8 +15,6 @@ SRC_URI = "git://github.com/linux-ras/sysfsutils.git;protocol=https;branch=maste | |||
15 | 15 | ||
16 | SRCREV = "da2f1f8500c0af6663a56ce2bff07f67e60a92e0" | 16 | SRCREV = "da2f1f8500c0af6663a56ce2bff07f67e60a92e0" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit autotools | 18 | inherit autotools |
21 | 19 | ||
22 | PACKAGES =+ "libsysfs" | 20 | PACKAGES =+ "libsysfs" |
diff --git a/meta/recipes-core/systemd/systemd-bootconf_1.00.bb b/meta/recipes-core/systemd/systemd-bootconf_1.00.bb index 0ec49365d0..5efac3e410 100644 --- a/meta/recipes-core/systemd/systemd-bootconf_1.00.bb +++ b/meta/recipes-core/systemd/systemd-bootconf_1.00.bb | |||
@@ -7,8 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
7 | 7 | ||
8 | inherit systemd-boot-cfg | 8 | inherit systemd-boot-cfg |
9 | 9 | ||
10 | S = "${WORKDIR}/sources" | 10 | S = "${UNPACKDIR}" |
11 | UNPACKDIR = "${S}" | ||
12 | 11 | ||
13 | LABELS = "boot" | 12 | LABELS = "boot" |
14 | 13 | ||
diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb index 3325739544..d6da34e9b8 100644 --- a/meta/recipes-core/systemd/systemd-compat-units.bb +++ b/meta/recipes-core/systemd/systemd-compat-units.bb | |||
@@ -2,11 +2,9 @@ SUMMARY = "Enhances systemd compatilibity with existing SysVinit scripts" | |||
2 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" | 2 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | 4 | ||
5 | |||
6 | PACKAGE_WRITE_DEPS += "systemd-systemctl-native" | 5 | PACKAGE_WRITE_DEPS += "systemd-systemctl-native" |
7 | 6 | ||
8 | S = "${WORKDIR}/sources" | 7 | S = "${UNPACKDIR}" |
9 | UNPACKDIR = "${S}" | ||
10 | 8 | ||
11 | inherit features_check | 9 | inherit features_check |
12 | 10 | ||
diff --git a/meta/recipes-core/systemd/systemd-conf_1.0.bb b/meta/recipes-core/systemd/systemd-conf_1.0.bb index b8bea0c25b..60066cd60a 100644 --- a/meta/recipes-core/systemd/systemd-conf_1.0.bb +++ b/meta/recipes-core/systemd/systemd-conf_1.0.bb | |||
@@ -21,8 +21,7 @@ SRC_URI = "\ | |||
21 | file://wired.network \ | 21 | file://wired.network \ |
22 | " | 22 | " |
23 | 23 | ||
24 | S = "${WORKDIR}/sources" | 24 | S = "${UNPACKDIR}" |
25 | UNPACKDIR = "${S}" | ||
26 | 25 | ||
27 | do_install() { | 26 | do_install() { |
28 | install -D -m0644 ${S}/journald.conf ${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf | 27 | install -D -m0644 ${S}/journald.conf ${D}${systemd_unitdir}/journald.conf.d/00-${PN}.conf |
diff --git a/meta/recipes-core/systemd/systemd-machine-units_1.0.bb b/meta/recipes-core/systemd/systemd-machine-units_1.0.bb index 8df7ff7cf1..a366f199ee 100644 --- a/meta/recipes-core/systemd/systemd-machine-units_1.0.bb +++ b/meta/recipes-core/systemd/systemd-machine-units_1.0.bb | |||
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
5 | 5 | ||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
7 | 7 | ||
8 | |||
9 | inherit systemd features_check | 8 | inherit systemd features_check |
10 | REQUIRED_DISTRO_FEATURES += "usrmerge" | 9 | REQUIRED_DISTRO_FEATURES += "usrmerge" |
11 | SYSTEMD_SERVICE:${PN} = "" | 10 | SYSTEMD_SERVICE:${PN} = "" |
diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc index 5ed84757f3..101457140f 100644 --- a/meta/recipes-core/systemd/systemd.inc +++ b/meta/recipes-core/systemd/systemd.inc | |||
@@ -19,6 +19,4 @@ SRCREV = "00a12c234e2506f5cab683460199575f13c454db" | |||
19 | SRCBRANCH = "v257-stable" | 19 | SRCBRANCH = "v257-stable" |
20 | SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV}" | 20 | SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV}" |
21 | 21 | ||
22 | S = "${WORKDIR}/git" | ||
23 | |||
24 | CVE_PRODUCT = "systemd" | 22 | CVE_PRODUCT = "systemd" |
diff --git a/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch b/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch index f0aa3a0bd8..1443c5082b 100644 --- a/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch +++ b/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch | |||
@@ -15,8 +15,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
15 | src/shared/base-filesystem.c | 1 + | 15 | src/shared/base-filesystem.c | 1 + |
16 | 2 files changed, 7 insertions(+) | 16 | 2 files changed, 7 insertions(+) |
17 | 17 | ||
18 | diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h | ||
19 | index e2cd8b4e35..f2fe489de7 100644 | ||
20 | --- a/src/basic/missing_syscall.h | 18 | --- a/src/basic/missing_syscall.h |
21 | +++ b/src/basic/missing_syscall.h | 19 | +++ b/src/basic/missing_syscall.h |
22 | @@ -20,6 +20,12 @@ | 20 | @@ -20,6 +20,12 @@ |
@@ -32,8 +30,6 @@ index e2cd8b4e35..f2fe489de7 100644 | |||
32 | #include "macro.h" | 30 | #include "macro.h" |
33 | #include "missing_keyctl.h" | 31 | #include "missing_keyctl.h" |
34 | #include "missing_sched.h" | 32 | #include "missing_sched.h" |
35 | diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c | ||
36 | index 389c77eee0..e3627c4603 100644 | ||
37 | --- a/src/shared/base-filesystem.c | 33 | --- a/src/shared/base-filesystem.c |
38 | +++ b/src/shared/base-filesystem.c | 34 | +++ b/src/shared/base-filesystem.c |
39 | @@ -20,6 +20,7 @@ | 35 | @@ -20,6 +20,7 @@ |
@@ -42,8 +38,5 @@ index 389c77eee0..e3627c4603 100644 | |||
42 | #include "user-util.h" | 38 | #include "user-util.h" |
43 | +#include "missing_syscall.h" | 39 | +#include "missing_syscall.h" |
44 | 40 | ||
45 | typedef struct BaseFilesystem { | 41 | typedef enum BaseFilesystemFlags { |
46 | const char *dir; /* directory or symlink to create */ | 42 | BASE_FILESYSTEM_IGNORE_ON_FAILURE = 1 << 0, |
47 | -- | ||
48 | 2.34.1 | ||
49 | |||
diff --git a/meta/recipes-core/systemd/systemd_257.6.bb b/meta/recipes-core/systemd/systemd_257.6.bb index 995b55580e..5f7f20c434 100644 --- a/meta/recipes-core/systemd/systemd_257.6.bb +++ b/meta/recipes-core/systemd/systemd_257.6.bb | |||
@@ -519,7 +519,6 @@ RRECOMMENDS:${PN}-binfmt = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', 'ker | |||
519 | 519 | ||
520 | RDEPENDS:${PN}-vconsole-setup = "${@bb.utils.contains('PACKAGECONFIG', 'vconsole', 'kbd kbd-consolefonts kbd-keymaps', '', d)}" | 520 | RDEPENDS:${PN}-vconsole-setup = "${@bb.utils.contains('PACKAGECONFIG', 'vconsole', 'kbd kbd-consolefonts kbd-keymaps', '', d)}" |
521 | 521 | ||
522 | |||
523 | FILES:${PN}-journal-gatewayd = "${nonarch_libdir}/systemd/systemd-journal-gatewayd \ | 522 | FILES:${PN}-journal-gatewayd = "${nonarch_libdir}/systemd/systemd-journal-gatewayd \ |
524 | ${systemd_system_unitdir}/systemd-journal-gatewayd.service \ | 523 | ${systemd_system_unitdir}/systemd-journal-gatewayd.service \ |
525 | ${systemd_system_unitdir}/systemd-journal-gatewayd.socket \ | 524 | ${systemd_system_unitdir}/systemd-journal-gatewayd.socket \ |
@@ -542,7 +541,6 @@ FILES:${PN}-journal-remote = "${nonarch_libdir}/systemd/systemd-journal-remote \ | |||
542 | " | 541 | " |
543 | SYSTEMD_SERVICE:${PN}-journal-remote = "systemd-journal-remote.socket" | 542 | SYSTEMD_SERVICE:${PN}-journal-remote = "systemd-journal-remote.socket" |
544 | 543 | ||
545 | |||
546 | FILES:${PN}-container = "${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.conf \ | 544 | FILES:${PN}-container = "${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.conf \ |
547 | ${sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf \ | 545 | ${sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf \ |
548 | ${sysconfdir}/systemd/system/multi-user.target.wants/machines.target \ | 546 | ${sysconfdir}/systemd/system/multi-user.target.wants/machines.target \ |
diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb index 6ff2ca1bf4..c77266e71e 100644 --- a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb +++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb | |||
@@ -2,12 +2,10 @@ SUMMARY = "Inittab configuration for SysVinit" | |||
2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
4 | 4 | ||
5 | |||
6 | SRC_URI = "file://inittab \ | 5 | SRC_URI = "file://inittab \ |
7 | file://start_getty" | 6 | file://start_getty" |
8 | 7 | ||
9 | S = "${WORKDIR}/sources" | 8 | S = "${UNPACKDIR}" |
10 | UNPACKDIR = "${S}" | ||
11 | 9 | ||
12 | INHIBIT_DEFAULT_DEPS = "1" | 10 | INHIBIT_DEFAULT_DEPS = "1" |
13 | 11 | ||
diff --git a/meta/recipes-core/sysvinit/sysvinit_3.14.bb b/meta/recipes-core/sysvinit/sysvinit_3.14.bb index 521eda0bfb..d4bb797624 100644 --- a/meta/recipes-core/sysvinit/sysvinit_3.14.bb +++ b/meta/recipes-core/sysvinit/sysvinit_3.14.bb | |||
@@ -20,7 +20,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.xz \ | |||
20 | " | 20 | " |
21 | SRC_URI[sha256sum] = "c90874b8c054a35991fb8c4d30c443ed1e9b1815ff6165c7b483f558be4e4b53" | 21 | SRC_URI[sha256sum] = "c90874b8c054a35991fb8c4d30c443ed1e9b1815ff6165c7b483f558be4e4b53" |
22 | 22 | ||
23 | S = "${WORKDIR}/sysvinit-${PV}" | 23 | S = "${UNPACKDIR}/sysvinit-${PV}" |
24 | 24 | ||
25 | inherit update-alternatives features_check github-releases | 25 | inherit update-alternatives features_check github-releases |
26 | DEPENDS:append = " update-rc.d-native base-passwd virtual/crypt" | 26 | DEPENDS:append = " update-rc.d-native base-passwd virtual/crypt" |
diff --git a/meta/recipes-core/ttyrun/ttyrun_2.37.0.bb b/meta/recipes-core/ttyrun/ttyrun_2.37.0.bb index e8fb4831e2..507ad1b09e 100644 --- a/meta/recipes-core/ttyrun/ttyrun_2.37.0.bb +++ b/meta/recipes-core/ttyrun/ttyrun_2.37.0.bb | |||
@@ -11,8 +11,6 @@ SRCREV = "793c037ded98cd001075cdb55a9c58e122380256" | |||
11 | 11 | ||
12 | CVE_PRODUCT = "s390-tools" | 12 | CVE_PRODUCT = "s390-tools" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | EXTRA_OEMAKE = "\ | 14 | EXTRA_OEMAKE = "\ |
17 | V=1 \ | 15 | V=1 \ |
18 | CC="${CC}" \ | 16 | CC="${CC}" \ |
diff --git a/meta/recipes-core/udev/udev-extraconf_1.1.bb b/meta/recipes-core/udev/udev-extraconf_1.1.bb index 0d7e4f4f36..2ba6606c05 100644 --- a/meta/recipes-core/udev/udev-extraconf_1.1.bb +++ b/meta/recipes-core/udev/udev-extraconf_1.1.bb | |||
@@ -13,8 +13,7 @@ SRC_URI = " \ | |||
13 | file://localextra.rules \ | 13 | file://localextra.rules \ |
14 | " | 14 | " |
15 | 15 | ||
16 | S = "${WORKDIR}/sources" | 16 | S = "${UNPACKDIR}" |
17 | UNPACKDIR = "${S}" | ||
18 | 17 | ||
19 | MOUNT_BASE = "/run/media" | 18 | MOUNT_BASE = "/run/media" |
20 | MOUNT_GROUP ?= "disk" | 19 | MOUNT_GROUP ?= "disk" |
diff --git a/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb b/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb index 27723c88ef..124b7d32a2 100644 --- a/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb +++ b/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb | |||
@@ -12,8 +12,6 @@ PV .= "+git" | |||
12 | 12 | ||
13 | UPSTREAM_CHECK_COMMITS = "1" | 13 | UPSTREAM_CHECK_COMMITS = "1" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit allarch | 15 | inherit allarch |
18 | 16 | ||
19 | do_compile() { | 17 | do_compile() { |
diff --git a/meta/recipes-core/util-linux/util-linux-libuuid_2.41.bb b/meta/recipes-core/util-linux/util-linux-libuuid_2.41.bb index ad0bfa1d12..5ad2997c27 100644 --- a/meta/recipes-core/util-linux/util-linux-libuuid_2.41.bb +++ b/meta/recipes-core/util-linux/util-linux-libuuid_2.41.bb | |||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://libuuid/COPYING;md5=6d2cafc999feb2c2de84d4d24b23290c | |||
9 | 9 | ||
10 | inherit autotools gettext pkgconfig | 10 | inherit autotools gettext pkgconfig |
11 | 11 | ||
12 | S = "${WORKDIR}/util-linux-${PV}" | 12 | S = "${UNPACKDIR}/util-linux-${PV}" |
13 | 13 | ||
14 | EXTRA_AUTORECONF += "--exclude=gtkdocize" | 14 | EXTRA_AUTORECONF += "--exclude=gtkdocize" |
15 | EXTRA_OECONF += "--disable-all-programs --enable-libuuid" | 15 | EXTRA_OECONF += "--disable-all-programs --enable-libuuid" |
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 6611ec0fe7..111f29cb92 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -19,8 +19,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin | |||
19 | file://fcntl-lock.c \ | 19 | file://fcntl-lock.c \ |
20 | file://0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch \ | 20 | file://0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch \ |
21 | file://0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch \ | 21 | file://0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch \ |
22 | file://0001-test_sysinfo.c-print-out-SIGRTMIN.patch \ | 22 | file://0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch \ |
23 | file://0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch \ | ||
24 | " | 23 | " |
25 | 24 | ||
26 | SRC_URI[sha256sum] = "81ee93b3cfdfeb7d7c4090cedeba1d7bbce9141fd0b501b686b3fe475ddca4c6" | 25 | SRC_URI[sha256sum] = "81ee93b3cfdfeb7d7c4090cedeba1d7bbce9141fd0b501b686b3fe475ddca4c6" |
diff --git a/meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch b/meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch deleted file mode 100644 index ee9f220842..0000000000 --- a/meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From 50774e34fee0cd528b195a863bcd4e3a04fbfc4b Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Wed, 4 Jun 2025 10:52:18 +0800 | ||
4 | Subject: [PATCH 1/2] test_sysinfo.c: print out SIGRTMIN | ||
5 | |||
6 | This will be used by ts/kill/decode. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/util-linux/util-linux/pull/3605] | ||
9 | |||
10 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
11 | --- | ||
12 | tests/helpers/test_sysinfo.c | 8 ++++++++ | ||
13 | 1 file changed, 8 insertions(+) | ||
14 | |||
15 | diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c | ||
16 | index 1559d471f..3a791e7f1 100644 | ||
17 | --- a/tests/helpers/test_sysinfo.c | ||
18 | +++ b/tests/helpers/test_sysinfo.c | ||
19 | @@ -27,6 +27,7 @@ | ||
20 | #include <errno.h> | ||
21 | #include <time.h> | ||
22 | #include <sys/ioctl.h> | ||
23 | +#include <signal.h> | ||
24 | |||
25 | #include "c.h" | ||
26 | |||
27 | @@ -116,6 +117,12 @@ static int hlp_ulong_max32(void) | ||
28 | return 0; | ||
29 | } | ||
30 | |||
31 | +static int hlp_sigrtmin(void) | ||
32 | +{ | ||
33 | + printf("%d\n", SIGRTMIN); | ||
34 | + return 0; | ||
35 | +} | ||
36 | + | ||
37 | static int hlp_wcsspn_ok(void) | ||
38 | { | ||
39 | printf("%d\n", wcsspn(L"FOO", L"F") == 1); | ||
40 | @@ -229,6 +236,7 @@ static const mntHlpfnc hlps[] = | ||
41 | { "ULONG_MAX", hlp_ulong_max }, | ||
42 | { "ULONG_MAX32",hlp_ulong_max32 }, | ||
43 | { "UINT64_MAX", hlp_u64_max }, | ||
44 | + { "SIGRTMIN", hlp_sigrtmin }, | ||
45 | { "byte-order", hlp_endianness }, | ||
46 | { "wcsspn-ok", hlp_wcsspn_ok }, | ||
47 | { "enotty-ok", hlp_enotty_ok }, | ||
48 | -- | ||
49 | 2.34.1 | ||
50 | |||
diff --git a/meta/recipes-core/util-linux/util-linux/0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch b/meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch index 5a00c9037a..f4e2f9e745 100644 --- a/meta/recipes-core/util-linux/util-linux/0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch +++ b/meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 9848b0d8c90d9a24275bf402f6d76e97f62b3ba4 Mon Sep 17 00:00:00 2001 | 1 | From c5d5e8873029d170fcab38a6fbd5d5a355574b9f Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Wed, 4 Jun 2025 16:27:19 +0800 | 3 | Date: Wed, 4 Jun 2025 16:27:19 +0800 |
4 | Subject: [PATCH 2/2] ts/kill/decode: use SIGRTMIN from test_sysinfo instead of | 4 | Subject: [PATCH] ts/kill/decode: use RTMIN from 'kill -L' instead of |
5 | hardcoding 34 | 5 | hardcoding 34 |
6 | 6 | ||
7 | glibc uses 34 as the value of SIGRTMIN: | 7 | glibc uses 34 as the value of SIGRTMIN: |
@@ -16,9 +16,11 @@ With the hardcoded 34, test case fails with the following difference: | |||
16 | -Ignored: HUP QUIT TRAP PIPE ALRM | 16 | -Ignored: HUP QUIT TRAP PIPE ALRM |
17 | +Ignored: HUP QUIT TRAP PIPE ALRM 34 | 17 | +Ignored: HUP QUIT TRAP PIPE ALRM 34 |
18 | 18 | ||
19 | Use SIGRTMIN got from test_sysinfo to fix this issue. | 19 | Extract the value of RTMIN from 'kill -L' to avoid such hardcoding. |
20 | 20 | ||
21 | Upstream-Status: Submitted [https://github.com/util-linux/util-linux/pull/3605] | 21 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
22 | |||
23 | Upstream-Status: Backport [https://github.com/util-linux/util-linux/commit/c5d5e8873029d170fcab38a6fbd5d5a355574b9f] | ||
22 | 24 | ||
23 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 25 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
24 | --- | 26 | --- |
@@ -26,15 +28,15 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
26 | 1 file changed, 7 insertions(+), 2 deletions(-) | 28 | 1 file changed, 7 insertions(+), 2 deletions(-) |
27 | 29 | ||
28 | diff --git a/tests/ts/kill/decode b/tests/ts/kill/decode | 30 | diff --git a/tests/ts/kill/decode b/tests/ts/kill/decode |
29 | index 03bc25ff6..dd34aacef 100755 | 31 | index 57149899e..524b4e5e2 100755 |
30 | --- a/tests/ts/kill/decode | 32 | --- a/tests/ts/kill/decode |
31 | +++ b/tests/ts/kill/decode | 33 | +++ b/tests/ts/kill/decode |
32 | @@ -48,14 +48,19 @@ ACK= | 34 | @@ -53,14 +53,19 @@ ACK= |
33 | # Sending one more USR1 is for making the signal pending state. | 35 | # Sending one more USR1 is for making the signal pending state. |
34 | "$TS_CMD_KILL" -USR1 "$PID" | 36 | "$TS_CMD_KILL" -USR1 "$PID" |
35 | "$TS_CMD_KILL" -d "$PID" | { | 37 | "$TS_CMD_KILL" -d "$PID" | { |
36 | - if [[ $("$TS_CMD_KILL" --list=34) == RT0 ]]; then | 38 | - if [[ $("$TS_CMD_KILL" --list=34) == RT0 ]]; then |
37 | + SIGRTMIN=$($TS_HELPER_SYSINFO SIGRTMIN) | 39 | + SIGRTMIN=$("$TS_CMD_KILL" -L | grep -o '[0-9]\+ RTMIN' | cut -d " " -f 1) |
38 | + if [[ $("$TS_CMD_KILL" --list=$SIGRTMIN) == RT0 ]]; then | 40 | + if [[ $("$TS_CMD_KILL" --list=$SIGRTMIN) == RT0 ]]; then |
39 | # See man signal(7). | 41 | # See man signal(7). |
40 | # The Linux kernel supports a range of 33 different real-time signals, | 42 | # The Linux kernel supports a range of 33 different real-time signals, |
diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb index 3597ec7356..857bcc93ff 100644 --- a/meta/recipes-core/volatile-binds/volatile-binds.bb +++ b/meta/recipes-core/volatile-binds/volatile-binds.bb | |||
@@ -9,8 +9,7 @@ SRC_URI = "\ | |||
9 | file://volatile-binds.service.in \ | 9 | file://volatile-binds.service.in \ |
10 | " | 10 | " |
11 | 11 | ||
12 | S = "${WORKDIR}/sources" | 12 | S = "${UNPACKDIR}" |
13 | UNPACKDIR = "${S}" | ||
14 | 13 | ||
15 | inherit allarch systemd features_check | 14 | inherit allarch systemd features_check |
16 | 15 | ||