diff options
Diffstat (limited to 'meta-initramfs')
14 files changed, 195 insertions, 49 deletions
diff --git a/meta-initramfs/SECURITY.md b/meta-initramfs/SECURITY.md new file mode 100644 index 0000000000..1530103230 --- /dev/null +++ b/meta-initramfs/SECURITY.md | |||
@@ -0,0 +1,20 @@ | |||
1 | How to Report a Potential Vulnerability? | ||
2 | ======================================== | ||
3 | |||
4 | If you would like to report a public issue (for example, one with a released | ||
5 | CVE number), please report it to the mailing list: | ||
6 | |||
7 | https://lists.openembedded.org/g/openembedded-devel | ||
8 | |||
9 | If you are dealing with a not-yet released or urgent issue, please send a | ||
10 | message to one of the maintainers listed in the README. Include as many | ||
11 | details as possible: | ||
12 | - the layer or software module affected | ||
13 | - the recipe and its version | ||
14 | - any example code, if available | ||
15 | |||
16 | Branches maintained with security fixes | ||
17 | --------------------------------------- | ||
18 | |||
19 | See https://wiki.yoctoproject.org/wiki/Releases for the list of current | ||
20 | releases. We only accept patches for the LTS releases and the master branch. | ||
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass index 202d132d94..c91ca60391 100644 --- a/meta-initramfs/classes/klibc.bbclass +++ b/meta-initramfs/classes/klibc.bbclass | |||
@@ -9,8 +9,13 @@ CC:append:armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE | |||
9 | CC:append:armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" | 9 | CC:append:armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" |
10 | 10 | ||
11 | # klcc uses own optimizations by default. See klcc(1) man file. | 11 | # klcc uses own optimizations by default. See klcc(1) man file. |
12 | export CFLAGS="${TUNE_CCARGS}" | 12 | CFLAGS = "${TUNE_CCARGS} ${DEBUG_PREFIX_MAP}" |
13 | export CPPFLAGS="${TUNE_CCARGS}" | 13 | CFLAGS[export] = "1" |
14 | export LDFLAGS="${TUNE_CCARGS}" | 14 | |
15 | CPPFLAGS = "${TUNE_CCARGS}" | ||
16 | CPPFLAGS[export] = "1" | ||
17 | |||
18 | LDFLAGS = "${TUNE_CCARGS}" | ||
19 | LDFLAGS[export] = "1" | ||
15 | 20 | ||
16 | OVERRIDES =. "libc-klibc:" | 21 | OVERRIDES =. "libc-klibc:" |
diff --git a/meta-initramfs/conf/include/non-repro-meta-initramfs.inc b/meta-initramfs/conf/include/non-repro-meta-initramfs.inc deleted file mode 100755 index 8f01f5624b..0000000000 --- a/meta-initramfs/conf/include/non-repro-meta-initramfs.inc +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | # List of known non-reproducible package of the meta-initramfs layer | ||
2 | # Please keep this list sorted | ||
3 | KNOWN_NON_REPRO_META_INITRAMFS = " \ | ||
4 | kexecboot-klibc \ | ||
5 | kexecboot-klibc-dbg \ | ||
6 | kexec-klibc \ | ||
7 | kexec-tools-klibc-dbg \ | ||
8 | mtdinfo-klibc \ | ||
9 | ubiattach-klibc \ | ||
10 | ubiblock-klibc \ | ||
11 | ubicrc32-klibc \ | ||
12 | ubidetach-klibc \ | ||
13 | ubiformat-klibc \ | ||
14 | ubimkvol-klibc \ | ||
15 | ubinfo-klibc \ | ||
16 | ubinize-klibc \ | ||
17 | ubirename-klibc \ | ||
18 | ubirmvol-klibc \ | ||
19 | ubirsvol-klibc \ | ||
20 | ubiupdatevol-klibc \ | ||
21 | ubi-utils-klibc-dbg \ | ||
22 | vmcore-dmesg-klibc \ | ||
23 | " | ||
diff --git a/meta-initramfs/conf/layer.conf b/meta-initramfs/conf/layer.conf index c844085b09..6d495a6fb3 100644 --- a/meta-initramfs/conf/layer.conf +++ b/meta-initramfs/conf/layer.conf | |||
@@ -16,7 +16,7 @@ BBFILE_PATTERN_meta-initramfs := "^${LAYERDIR}/" | |||
16 | BBFILE_PRIORITY_meta-initramfs = "5" | 16 | BBFILE_PRIORITY_meta-initramfs = "5" |
17 | LAYERDEPENDS_meta-initramfs = "core" | 17 | LAYERDEPENDS_meta-initramfs = "core" |
18 | 18 | ||
19 | LAYERSERIES_COMPAT_meta-initramfs = "styhead" | 19 | LAYERSERIES_COMPAT_meta-initramfs = "walnascar whinlatter" |
20 | 20 | ||
21 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | 21 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ |
22 | dracut->virtual/kernel \ | 22 | dracut->virtual/kernel \ |
diff --git a/meta-initramfs/recipes-bsp/kexecboot/files/0001-Fix-argument-errors-in-gcc-15.patch b/meta-initramfs/recipes-bsp/kexecboot/files/0001-Fix-argument-errors-in-gcc-15.patch new file mode 100644 index 0000000000..3f2aac9469 --- /dev/null +++ b/meta-initramfs/recipes-bsp/kexecboot/files/0001-Fix-argument-errors-in-gcc-15.patch | |||
@@ -0,0 +1,90 @@ | |||
1 | From d18d3fb700540646f4b79f6c6788614ffff735f6 Mon Sep 17 00:00:00 2001 | ||
2 | From: "mark.yang" <mark.yang@lge.com> | ||
3 | Date: Thu, 24 Apr 2025 16:17:49 +0900 | ||
4 | Subject: [PATCH] Fix argument errors in gcc 15 | ||
5 | |||
6 | * fix following errors: | ||
7 | ../../git/src/fb.c: In function 'fb_new': | ||
8 | ../../git/src/fb.c:646:17: error: too many arguments to function 'fb_destroy'; expected 0, have 1 | ||
9 | 646 | fb_destroy(fb); | ||
10 | | ^~~~~~~~~~ ~~ | ||
11 | ../../git/src/fb.c:391:6: note: declared here | ||
12 | 391 | void fb_destroy() | ||
13 | | ^~~~~~~~~~ | ||
14 | ../../git/src/tui.c:102:9: error: conflicting types for 'tui_init'; have 'kx_tui *(FILE *)' | ||
15 | 102 | kx_tui *tui_init(FILE *ts) | ||
16 | | ^~~~~~~~ | ||
17 | In file included from ../../git/src/tui.c:40: | ||
18 | ../../git/src/tui.h:36:9: note: previous declaration of 'tui_init' with type 'kx_tui *(void)' | ||
19 | 36 | kx_tui *tui_init(); | ||
20 | ... | ||
21 | Upstream-Status: Submitted [https://github.com/kexecboot/kexecboot/pull/30] | ||
22 | Signed-off-by: mark.yang <mark.yang@lge.com> | ||
23 | --- | ||
24 | src/fb.c | 4 ++-- | ||
25 | src/fb.h | 2 +- | ||
26 | src/gui.c | 2 +- | ||
27 | src/tui.h | 2 +- | ||
28 | 4 files changed, 5 insertions(+), 5 deletions(-) | ||
29 | |||
30 | diff --git a/src/fb.c b/src/fb.c | ||
31 | index c68009f..6acd9f2 100644 | ||
32 | --- a/src/fb.c | ||
33 | +++ b/src/fb.c | ||
34 | @@ -388,7 +388,7 @@ void fb_restore(char *dump) | ||
35 | } | ||
36 | |||
37 | |||
38 | -void fb_destroy() | ||
39 | +void fb_destroy(FB fb) | ||
40 | { | ||
41 | if (fb.fd >= 0) | ||
42 | close(fb.fd); | ||
43 | @@ -651,7 +651,7 @@ int fb_new(int angle) | ||
44 | return 0; | ||
45 | |||
46 | fail: | ||
47 | - fb_destroy(); | ||
48 | + fb_destroy(fb); | ||
49 | return -1; | ||
50 | } | ||
51 | |||
52 | diff --git a/src/fb.h b/src/fb.h | ||
53 | index 4a1e0d7..9e0af18 100644 | ||
54 | --- a/src/fb.h | ||
55 | +++ b/src/fb.h | ||
56 | @@ -88,7 +88,7 @@ typedef struct { | ||
57 | } kx_picture; | ||
58 | |||
59 | |||
60 | -void fb_destroy(); | ||
61 | +void fb_destroy(FB fb); | ||
62 | |||
63 | int fb_new(int angle); | ||
64 | |||
65 | diff --git a/src/gui.c b/src/gui.c | ||
66 | index bf4230a..a140c9b 100644 | ||
67 | --- a/src/gui.c | ||
68 | +++ b/src/gui.c | ||
69 | @@ -157,7 +157,7 @@ void gui_destroy(struct gui_t *gui) | ||
70 | free(gui->icons); | ||
71 | #endif | ||
72 | |||
73 | - fb_destroy(); | ||
74 | + fb_destroy(fb); | ||
75 | free(gui); | ||
76 | } | ||
77 | |||
78 | diff --git a/src/tui.h b/src/tui.h | ||
79 | index feed233..79faac0 100644 | ||
80 | --- a/src/tui.h | ||
81 | +++ b/src/tui.h | ||
82 | @@ -33,7 +33,7 @@ typedef struct { | ||
83 | } kx_tui; | ||
84 | |||
85 | |||
86 | -kx_tui *tui_init(); | ||
87 | +kx_tui *tui_init(FILE *ts); | ||
88 | |||
89 | void tui_show_menu(kx_tui *tui, kx_menu *menu); | ||
90 | |||
diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb index d8134b228c..18b831fb72 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb | |||
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
6 | 6 | ||
7 | SRC_URI = "file://icon.xpm" | 7 | SRC_URI = "file://icon.xpm" |
8 | 8 | ||
9 | S = "${WORKDIR}/sources" | 9 | S = "${UNPACKDIR}" |
10 | UNPACKDIR = "${S}" | ||
11 | 10 | ||
12 | do_install:prepend () { | 11 | do_install:prepend () { |
13 | echo '# /boot/boot.cfg - KEXECBOOT configuration file. | 12 | echo '# /boot/boot.cfg - KEXECBOOT configuration file. |
diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb index a92c0e8966..00985c09c5 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb | |||
@@ -4,8 +4,10 @@ HOMEPAGE = "https://github.com/kexecboot/kexecboot/wiki" | |||
4 | LICENSE = "GPL-2.0-only" | 4 | LICENSE = "GPL-2.0-only" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
6 | PV = "0.6+git" | 6 | PV = "0.6+git" |
7 | S = "${WORKDIR}/git" | 7 | SRC_URI = " \ |
8 | SRC_URI = "git://github.com/kexecboot/kexecboot.git;branch=master;protocol=https" | 8 | git://github.com/kexecboot/kexecboot.git;branch=master;protocol=https \ |
9 | file://0001-Fix-argument-errors-in-gcc-15.patch \ | ||
10 | " | ||
9 | SRC_URI:append:libc-klibc = "\ | 11 | SRC_URI:append:libc-klibc = "\ |
10 | file://0001-kexecboot-Use-new-reboot-API-with-klibc.patch \ | 12 | file://0001-kexecboot-Use-new-reboot-API-with-klibc.patch \ |
11 | file://0001-make-Add-compiler-includes-in-cflags.patch \ | 13 | file://0001-make-Add-compiler-includes-in-cflags.patch \ |
diff --git a/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb b/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb index c2b3faddda..21dce17bb7 100644 --- a/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb +++ b/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb | |||
@@ -3,8 +3,7 @@ LICENSE = "MIT" | |||
3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
4 | SRC_URI = "file://init-debug.sh" | 4 | SRC_URI = "file://init-debug.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 ${UNPACKDIR}/init-debug.sh ${D}/init | 9 | install -m 0755 ${UNPACKDIR}/init-debug.sh ${D}/init |
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut/0001-fix-broken-symlink-in-dracut-config-examples.patch b/meta-initramfs/recipes-devtools/dracut/dracut/0001-fix-broken-symlink-in-dracut-config-examples.patch new file mode 100644 index 0000000000..7d0b65a161 --- /dev/null +++ b/meta-initramfs/recipes-devtools/dracut/dracut/0001-fix-broken-symlink-in-dracut-config-examples.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From 8871c593973d9abfef45408575e5da887830f42e Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Thu, 22 May 2025 18:07:27 +0800 | ||
4 | Subject: [PATCH] fix broken symlink in dracut config examples | ||
5 | |||
6 | Due to commit [1], it installs dracut config examples under /usr. | ||
7 | But while enable_test=no, the symlink of test in dracut config is broken | ||
8 | ... | ||
9 | root@qemux86-64:~# ls /usr/lib/dracut/dracut.conf.d/test* -ahl | ||
10 | lrwxrwxrwx 1 root root 27 Apr 5 2011 /usr/lib/dracut/dracut.conf.d/test -> ../test/dracut.conf.d/test/ | ||
11 | lrwxrwxrwx 1 root root 36 Apr 5 2011 /usr/lib/dracut/dracut.conf.d/test-makeroot -> ../test/dracut.conf.d/test-makeroot/ | ||
12 | lrwxrwxrwx 1 root root 31 Apr 5 2011 /usr/lib/dracut/dracut.conf.d/test-root -> ../test/dracut.conf.d/test-root | ||
13 | root@qemux86-64:~# realpath /usr/lib/dracut/dracut.conf.d/test* | ||
14 | realpath: /usr/lib/dracut/dracut.conf.d/test: No such file or directory | ||
15 | realpath: /usr/lib/dracut/dracut.conf.d/test-makeroot: No such file or directory | ||
16 | realpath: /usr/lib/dracut/dracut.conf.d/test-root: No such file or directory | ||
17 | ... | ||
18 | |||
19 | This commit cleans up test symlink if enable_test=no | ||
20 | |||
21 | [1] https://github.com/dracut-ng/dracut-ng/commit/0d369e3e30935dffe48dfff1e90463868e7f804a | ||
22 | |||
23 | Upstream-Status: Submitted [https://github.com/dracut-ng/dracut-ng/pull/1344] | ||
24 | |||
25 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
26 | --- | ||
27 | Makefile | 1 + | ||
28 | 1 file changed, 1 insertion(+) | ||
29 | |||
30 | diff --git a/Makefile b/Makefile | ||
31 | index d33aebbc..151d9f79 100644 | ||
32 | --- a/Makefile | ||
33 | +++ b/Makefile | ||
34 | @@ -180,6 +180,7 @@ ifneq ($(enable_test),no) | ||
35 | cp -arx test $(DESTDIR)$(pkglibdir) | ||
36 | else | ||
37 | rm -rf $(DESTDIR)$(pkglibdir)/modules.d/80test* | ||
38 | + rm -rf $(DESTDIR)$(pkglibdir)/dracut.conf.d/test* | ||
39 | endif | ||
40 | ifneq ($(enable_documentation),no) | ||
41 | for i in $(man1pages); do install -m 0644 $$i $(DESTDIR)$(mandir)/man1/$${i##*/}; done | ||
42 | -- | ||
43 | 2.34.1 | ||
44 | |||
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_102.bb b/meta-initramfs/recipes-devtools/dracut/dracut_106.bb index 39ff265a31..d59b357dc1 100644 --- a/meta-initramfs/recipes-devtools/dracut/dracut_102.bb +++ b/meta-initramfs/recipes-devtools/dracut/dracut_106.bb | |||
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
7 | 7 | ||
8 | PE = "1" | 8 | PE = "1" |
9 | 9 | ||
10 | SRCREV = "1a8ee6e00bbe017717a5ef9e9bcfefb3b88f629e" | 10 | SRCREV = "956c08774074ddc45b2f975e13d5c13d1fc36eff" |
11 | SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main \ | 11 | SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main \ |
12 | file://0001-feat-dracut-install-split-ldd-command-arguments-for-.patch \ | 12 | file://0001-feat-dracut-install-split-ldd-command-arguments-for-.patch \ |
13 | file://0001-fix-broken-symlink-in-dracut-config-examples.patch \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | DEPENDS += "kmod" | 16 | DEPENDS += "kmod" |
@@ -17,24 +18,23 @@ DEPENDS:append:libc-musl = " fts" | |||
17 | 18 | ||
18 | inherit bash-completion pkgconfig | 19 | inherit bash-completion pkgconfig |
19 | 20 | ||
20 | S = "${WORKDIR}/git" | ||
21 | 21 | ||
22 | EXTRA_OECONF = "--prefix=${prefix} \ | 22 | EXTRA_OECONF = "--prefix=${prefix} \ |
23 | --libdir=${prefix}/lib \ | 23 | --libdir=${nonarch_libdir} \ |
24 | --datadir=${datadir} \ | 24 | --datadir=${datadir} \ |
25 | --sysconfdir=${sysconfdir} \ | 25 | --sysconfdir=${sysconfdir} \ |
26 | --sbindir=${sbindir} \ | 26 | --sbindir=${sbindir} \ |
27 | --disable-documentation \ | ||
28 | --bindir=${bindir} \ | 27 | --bindir=${bindir} \ |
29 | --includedir=${includedir} \ | 28 | --includedir=${includedir} \ |
30 | --localstatedir=${localstatedir} \ | 29 | --localstatedir=${localstatedir} \ |
30 | --disable-documentation \ | ||
31 | " | 31 | " |
32 | 32 | ||
33 | # RDEPEND on systemd optionally | 33 | # RDEPEND on systemd optionally |
34 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 34 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
35 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd" | 35 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd" |
36 | 36 | ||
37 | EXTRA_OEMAKE += 'libdir=${prefix}/lib LDLIBS="${LDLIBS}"' | 37 | EXTRA_OEMAKE += 'libdir=${nonarch_libdir} LDLIBS="${LDLIBS}" enable_test=no DRACUT_FULL_VERSION=${PV}' |
38 | 38 | ||
39 | CFLAGS:append = " -fPIC" | 39 | CFLAGS:append = " -fPIC" |
40 | LDLIBS:append:libc-musl = " -lfts" | 40 | LDLIBS:append:libc-musl = " -lfts" |
@@ -47,22 +47,26 @@ do_install() { | |||
47 | oe_runmake install DESTDIR=${D} | 47 | oe_runmake install DESTDIR=${D} |
48 | # Its Makefile uses cp -arx to install modules.d, so fix the owner | 48 | # Its Makefile uses cp -arx to install modules.d, so fix the owner |
49 | # to root:root | 49 | # to root:root |
50 | chown -R root:root ${D}/${prefix}/lib/dracut/modules.d | 50 | chown -R root:root ${D}/${nonarch_libdir}/dracut/modules.d \ |
51 | ${D}/${nonarch_libdir}/dracut/dracut.conf.d | ||
52 | |||
53 | if ! ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
54 | rm -rf ${D}${nonarch_libdir}/systemd | ||
55 | fi | ||
51 | } | 56 | } |
52 | 57 | ||
53 | FILES:${PN} += "${prefix}/lib/kernel \ | 58 | FILES:${PN} += "${nonarch_libdir}/kernel \ |
54 | ${prefix}/lib/dracut \ | 59 | ${nonarch_libdir}/dracut \ |
55 | ${systemd_unitdir} \ | 60 | ${systemd_unitdir} \ |
56 | " | 61 | " |
57 | FILES:${PN}-dbg += "${prefix}/lib/dracut/.debug" | 62 | FILES:${PN}-dbg += "${nonarch_libdir}/dracut/.debug" |
58 | 63 | ||
59 | CONFFILES:${PN} += "${sysconfdir}/dracut.conf" | 64 | CONFFILES:${PN} += "${sysconfdir}/dracut.conf" |
60 | 65 | ||
61 | RDEPENDS:${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd" | 66 | RDEPENDS:${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd" |
62 | 67 | ||
63 | # This could be optimized a bit, but let's avoid non-booting systems :) | 68 | # This could be optimized a bit, but let's avoid non-booting systems :) |
64 | RRECOMMENDS:${PN} = " \ | 69 | RRECOMMENDS:${PN} = "kernel-modules \ |
65 | kernel-modules \ | ||
66 | coreutils \ | 70 | coreutils \ |
67 | " | 71 | " |
68 | 72 | ||
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb index ff673e21bb..60f68728e9 100644 --- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb +++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb | |||
@@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" | |||
12 | DEPENDS = "popt util-linux rpm" | 12 | DEPENDS = "popt util-linux rpm" |
13 | DEPENDS:append:libc-musl = " libexecinfo argp-standalone" | 13 | DEPENDS:append:libc-musl = " libexecinfo argp-standalone" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | SRCREV = "c01b0d5bb182bde35b464d14996acf354a3ada2e" | 15 | SRCREV = "c01b0d5bb182bde35b464d14996acf354a3ada2e" |
17 | SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \ | 16 | SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \ |
18 | file://0001-rename-grub2-editenv-to-grub-editenv.patch \ | 17 | file://0001-rename-grub2-editenv-to-grub-editenv.patch \ |
@@ -24,12 +23,21 @@ SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \ | |||
24 | 23 | ||
25 | RDEPENDS:${PN} += "dracut" | 24 | RDEPENDS:${PN} += "dracut" |
26 | 25 | ||
27 | inherit autotools-brokensep ptest | 26 | inherit ptest |
28 | 27 | ||
29 | EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'" | 28 | EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'" |
30 | 29 | ||
31 | LIBS:libc-musl = "-lexecinfo -largp" | 30 | LIBS:libc-musl = "-lexecinfo -largp" |
32 | LIBS ?= "" | 31 | LIBS ?= "" |
32 | |||
33 | do_compile() { | ||
34 | oe_runmake | ||
35 | } | ||
36 | |||
37 | do_install() { | ||
38 | oe_runmake DESTDIR=${D} install | ||
39 | } | ||
40 | |||
33 | do_install_ptest() { | 41 | do_install_ptest() { |
34 | install -d ${D}${PTEST_PATH} | 42 | install -d ${D}${PTEST_PATH} |
35 | cp -r ${S}/test ${S}/test.sh ${D}${PTEST_PATH} | 43 | cp -r ${S}/test ${S}/test.sh ${D}${PTEST_PATH} |
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index 6093e19b7c..2af53b18e3 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc | |||
@@ -29,7 +29,7 @@ ARMPATCHES:arm = " \ | |||
29 | " | 29 | " |
30 | SRC_URI[sha256sum] = "d673a294f742d59368222ff5c38462d81098c55063799de6fb8a7ba3d4af0436" | 30 | SRC_URI[sha256sum] = "d673a294f742d59368222ff5c38462d81098c55063799de6fb8a7ba3d4af0436" |
31 | 31 | ||
32 | S = "${WORKDIR}/klibc-${PV}" | 32 | S = "${UNPACKDIR}/klibc-${PV}" |
33 | 33 | ||
34 | OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon" | 34 | OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon" |
35 | OPTFLAGS:append = " ${DEBUG_PREFIX_MAP}" | 35 | OPTFLAGS:append = " ${DEBUG_PREFIX_MAP}" |
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb index 43ddb82a00..461d75e625 100644 --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb | |||
@@ -19,7 +19,6 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \ | |||
19 | file://0001-make-Add-compiler-includes-in-cflags.patch \ | 19 | file://0001-make-Add-compiler-includes-in-cflags.patch \ |
20 | " | 20 | " |
21 | 21 | ||
22 | S = "${WORKDIR}/git" | ||
23 | 22 | ||
24 | EXTRA_OECONF += "--disable-tests --without-jffs --without-ubifs" | 23 | EXTRA_OECONF += "--disable-tests --without-jffs --without-ubifs" |
25 | 24 | ||
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb index 363cdb9adf..2df53ff38e 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | |||
@@ -61,7 +61,6 @@ SRC_URI:append:aarch64 = " file://arm64_kexec-image-header.h-add-missing-le64toh | |||
61 | 61 | ||
62 | SRC_URI:append:powerpc = " file://powerpc-purgatory-Makefile-remove-unknown-flags.patch" | 62 | SRC_URI:append:powerpc = " file://powerpc-purgatory-Makefile-remove-unknown-flags.patch" |
63 | 63 | ||
64 | S = "${WORKDIR}/git" | ||
65 | 64 | ||
66 | EXTRA_OECONF += "--without-zlib --without-lzma --without-xen" | 65 | EXTRA_OECONF += "--without-zlib --without-lzma --without-xen" |
67 | 66 | ||