summaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs')
-rw-r--r--meta-initramfs/SECURITY.md20
-rw-r--r--meta-initramfs/classes/klibc.bbclass11
-rwxr-xr-xmeta-initramfs/conf/include/non-repro-meta-initramfs.inc23
-rw-r--r--meta-initramfs/conf/layer.conf2
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/files/0001-Fix-argument-errors-in-gcc-15.patch90
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb3
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb6
-rw-r--r--meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb3
-rw-r--r--meta-initramfs/recipes-devtools/dracut/dracut/0001-fix-broken-symlink-in-dracut-config-examples.patch44
-rw-r--r--meta-initramfs/recipes-devtools/dracut/dracut_106.bb (renamed from meta-initramfs/recipes-devtools/dracut/dracut_102.bb)26
-rw-r--r--meta-initramfs/recipes-devtools/grubby/grubby_git.bb12
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc.inc2
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb1
-rw-r--r--meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb1
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 @@
1How to Report a Potential Vulnerability?
2========================================
3
4If you would like to report a public issue (for example, one with a released
5CVE number), please report it to the mailing list:
6
7 https://lists.openembedded.org/g/openembedded-devel
8
9If you are dealing with a not-yet released or urgent issue, please send a
10message to one of the maintainers listed in the README. Include as many
11details as possible:
12 - the layer or software module affected
13 - the recipe and its version
14 - any example code, if available
15
16Branches maintained with security fixes
17---------------------------------------
18
19See https://wiki.yoctoproject.org/wiki/Releases for the list of current
20releases. 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
9CC:append:armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" 9CC: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.
12export CFLAGS="${TUNE_CCARGS}" 12CFLAGS = "${TUNE_CCARGS} ${DEBUG_PREFIX_MAP}"
13export CPPFLAGS="${TUNE_CCARGS}" 13CFLAGS[export] = "1"
14export LDFLAGS="${TUNE_CCARGS}" 14
15CPPFLAGS = "${TUNE_CCARGS}"
16CPPFLAGS[export] = "1"
17
18LDFLAGS = "${TUNE_CCARGS}"
19LDFLAGS[export] = "1"
15 20
16OVERRIDES =. "libc-klibc:" 21OVERRIDES =. "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
3KNOWN_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}/"
16BBFILE_PRIORITY_meta-initramfs = "5" 16BBFILE_PRIORITY_meta-initramfs = "5"
17LAYERDEPENDS_meta-initramfs = "core" 17LAYERDEPENDS_meta-initramfs = "core"
18 18
19LAYERSERIES_COMPAT_meta-initramfs = "styhead" 19LAYERSERIES_COMPAT_meta-initramfs = "walnascar whinlatter"
20 20
21SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ 21SIGGEN_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 @@
1From d18d3fb700540646f4b79f6c6788614ffff735f6 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Thu, 24 Apr 2025 16:17:49 +0900
4Subject: [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 | ^~~~~~~~
17In 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...
21Upstream-Status: Submitted [https://github.com/kexecboot/kexecboot/pull/30]
22Signed-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
30diff --git a/src/fb.c b/src/fb.c
31index 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
52diff --git a/src/fb.h b/src/fb.h
53index 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
65diff --git a/src/gui.c b/src/gui.c
66index 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
78diff --git a/src/tui.h b/src/tui.h
79index 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
7SRC_URI = "file://icon.xpm" 7SRC_URI = "file://icon.xpm"
8 8
9S = "${WORKDIR}/sources" 9S = "${UNPACKDIR}"
10UNPACKDIR = "${S}"
11 10
12do_install:prepend () { 11do_install:prepend () {
13echo '# /boot/boot.cfg - KEXECBOOT configuration file. 12echo '# /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"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6PV = "0.6+git" 6PV = "0.6+git"
7S = "${WORKDIR}/git" 7SRC_URI = " \
8SRC_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"
9SRC_URI:append:libc-klibc = "\ 11SRC_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"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
4SRC_URI = "file://init-debug.sh" 4SRC_URI = "file://init-debug.sh"
5 5
6S = "${WORKDIR}/sources" 6S = "${UNPACKDIR}"
7UNPACKDIR = "${S}"
8 7
9do_install() { 8do_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 @@
1From 8871c593973d9abfef45408575e5da887830f42e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 22 May 2025 18:07:27 +0800
4Subject: [PATCH] fix broken symlink in dracut config examples
5
6Due to commit [1], it installs dracut config examples under /usr.
7But while enable_test=no, the symlink of test in dracut config is broken
8...
9root@qemux86-64:~# ls /usr/lib/dracut/dracut.conf.d/test* -ahl
10lrwxrwxrwx 1 root root 27 Apr 5 2011 /usr/lib/dracut/dracut.conf.d/test -> ../test/dracut.conf.d/test/
11lrwxrwxrwx 1 root root 36 Apr 5 2011 /usr/lib/dracut/dracut.conf.d/test-makeroot -> ../test/dracut.conf.d/test-makeroot/
12lrwxrwxrwx 1 root root 31 Apr 5 2011 /usr/lib/dracut/dracut.conf.d/test-root -> ../test/dracut.conf.d/test-root
13root@qemux86-64:~# realpath /usr/lib/dracut/dracut.conf.d/test*
14realpath: /usr/lib/dracut/dracut.conf.d/test: No such file or directory
15realpath: /usr/lib/dracut/dracut.conf.d/test-makeroot: No such file or directory
16realpath: /usr/lib/dracut/dracut.conf.d/test-root: No such file or directory
17...
18
19This commit cleans up test symlink if enable_test=no
20
21[1] https://github.com/dracut-ng/dracut-ng/commit/0d369e3e30935dffe48dfff1e90463868e7f804a
22
23Upstream-Status: Submitted [https://github.com/dracut-ng/dracut-ng/pull/1344]
24
25Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
26---
27 Makefile | 1 +
28 1 file changed, 1 insertion(+)
29
30diff --git a/Makefile b/Makefile
31index 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--
432.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
8PE = "1" 8PE = "1"
9 9
10SRCREV = "1a8ee6e00bbe017717a5ef9e9bcfefb3b88f629e" 10SRCREV = "956c08774074ddc45b2f975e13d5c13d1fc36eff"
11SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main \ 11SRC_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
15DEPENDS += "kmod" 16DEPENDS += "kmod"
@@ -17,24 +18,23 @@ DEPENDS:append:libc-musl = " fts"
17 18
18inherit bash-completion pkgconfig 19inherit bash-completion pkgconfig
19 20
20S = "${WORKDIR}/git"
21 21
22EXTRA_OECONF = "--prefix=${prefix} \ 22EXTRA_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
34PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 34PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
35PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd" 35PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd"
36 36
37EXTRA_OEMAKE += 'libdir=${prefix}/lib LDLIBS="${LDLIBS}"' 37EXTRA_OEMAKE += 'libdir=${nonarch_libdir} LDLIBS="${LDLIBS}" enable_test=no DRACUT_FULL_VERSION=${PV}'
38 38
39CFLAGS:append = " -fPIC" 39CFLAGS:append = " -fPIC"
40LDLIBS:append:libc-musl = " -lfts" 40LDLIBS: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
53FILES:${PN} += "${prefix}/lib/kernel \ 58FILES:${PN} += "${nonarch_libdir}/kernel \
54 ${prefix}/lib/dracut \ 59 ${nonarch_libdir}/dracut \
55 ${systemd_unitdir} \ 60 ${systemd_unitdir} \
56 " 61 "
57FILES:${PN}-dbg += "${prefix}/lib/dracut/.debug" 62FILES:${PN}-dbg += "${nonarch_libdir}/dracut/.debug"
58 63
59CONFFILES:${PN} += "${sysconfdir}/dracut.conf" 64CONFFILES:${PN} += "${sysconfdir}/dracut.conf"
60 65
61RDEPENDS:${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd" 66RDEPENDS:${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 :)
64RRECOMMENDS:${PN} = " \ 69RRECOMMENDS:${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"
12DEPENDS = "popt util-linux rpm" 12DEPENDS = "popt util-linux rpm"
13DEPENDS:append:libc-musl = " libexecinfo argp-standalone" 13DEPENDS:append:libc-musl = " libexecinfo argp-standalone"
14 14
15S = "${WORKDIR}/git"
16SRCREV = "c01b0d5bb182bde35b464d14996acf354a3ada2e" 15SRCREV = "c01b0d5bb182bde35b464d14996acf354a3ada2e"
17SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \ 16SRC_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
25RDEPENDS:${PN} += "dracut" 24RDEPENDS:${PN} += "dracut"
26 25
27inherit autotools-brokensep ptest 26inherit ptest
28 27
29EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'" 28EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'"
30 29
31LIBS:libc-musl = "-lexecinfo -largp" 30LIBS:libc-musl = "-lexecinfo -largp"
32LIBS ?= "" 31LIBS ?= ""
32
33do_compile() {
34 oe_runmake
35}
36
37do_install() {
38 oe_runmake DESTDIR=${D} install
39}
40
33do_install_ptest() { 41do_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 "
30SRC_URI[sha256sum] = "d673a294f742d59368222ff5c38462d81098c55063799de6fb8a7ba3d4af0436" 30SRC_URI[sha256sum] = "d673a294f742d59368222ff5c38462d81098c55063799de6fb8a7ba3d4af0436"
31 31
32S = "${WORKDIR}/klibc-${PV}" 32S = "${UNPACKDIR}/klibc-${PV}"
33 33
34OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon" 34OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon"
35OPTFLAGS:append = " ${DEBUG_PREFIX_MAP}" 35OPTFLAGS: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
22S = "${WORKDIR}/git"
23 22
24EXTRA_OECONF += "--disable-tests --without-jffs --without-ubifs" 23EXTRA_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
62SRC_URI:append:powerpc = " file://powerpc-purgatory-Makefile-remove-unknown-flags.patch" 62SRC_URI:append:powerpc = " file://powerpc-purgatory-Makefile-remove-unknown-flags.patch"
63 63
64S = "${WORKDIR}/git"
65 64
66EXTRA_OECONF += "--without-zlib --without-lzma --without-xen" 65EXTRA_OECONF += "--without-zlib --without-lzma --without-xen"
67 66