aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs
AgeCommit message (Collapse)Author
2022-05-03klibc: Recognise --dyld-prefix clang optionKhem Raj
This is added when usrmerge is enabled in distro Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 6a52b84dbc41c8c831e5ce82b21900210ef1a8c4) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-04-23meta-openemnedded: Add myself as kirkstone maintainerArmin Kuster
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-06dracut: upgrade 055 -> 056Yi Zhao
* Add a patch to fix musl build: src/install/util.c:30:19: error: missing binary operator before token "(" 30 | #if __GLIBC_PREREQ(2, 30) == 0 | ^ make: *** [Makefile:57: src/install/util.o] Error 1 * Pass "-fPIC" to CFLAGS to fix build warning with musl build: WARNING: dracut-1_056-r0 do_package_qa: QA Issue: dracut: ELF binary /usr/lib/dracut/dracut-install has relocations in .text [textrel] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-28layer.conf: change layer priority to match oe-coreRoss Burton
Layer priority is the ultimate decider of what recipe is used: if layer A has recipe foo_1 and layer B has recipe foo_2, if layer A's priority is higher than B then foo_1 will be used, even though the version in B is higher, and even if PREFERRED_VERSION_foo is set to 2. This complicates recipes moving between layers, for example when a newer version of a recipe (say, python3-wheel) is taken from a layer with a higher priority (say, meta-python) and moved to a layer with a lower priority (say, oe-core) then it has to be removed before it is added: there is no way to have it in both layers and work correctly. Higher priorities are useful in distribution layers where you may want to override specific recipes without any other fuss. However as all of the layers in meta-oe simply add more recipes in defined areas, there's no need to have a higher layer priority. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-21layers: Bump to use kirkstoneKhem Raj
its not going to be backward ABI compatible with honister due to variable renaming. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-21recipes: Use new CVE_CHECK_IGNORE variableKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-18dracut: upgrade 051 -> 055Yi Zhao
* Rename recipe name from dracut_git to dracut_055 * Refresh 0001-util.h-include-sys-reg.h-when-libc-glibc.patch Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-11grubby: fix conflict with debianutilsHongxu Jia
Both of recipe grubby and debianutils provides installkernel, use update-alternative to resolve the conflict Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03recipes: Update SRC_URI branch and protocolsRichard Purdie
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-27README: update to main repoArmin Kuster
The main repo is sourced from git://git.openembedded.org not github. Don't think oe-core.git exists. Lets be constent across all sub layers. Drop Revisions and Prioriiy from repo references as they are not used. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-06klibc.bbclass, image_types_sparse.bbclass, packagegroup-meta-oe.bb: update ↵Martin Jansa
the overrides syntax conversion * re-run the latest version of the script which converts CONVERSION_CMD as well since https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=d9e81d66db2bc2aa56d177cef78c814c29679a4a * skip many incorrect s/_linux/:linux/g changes which were introduced by: https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=9ea1041f8eab26ee871a9176e9691e5d3e6745bd Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-06recipes: Fix override syntaxKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03layer.conf: Update to honisterMartin Jansa
This marks the layers as compatible with honister now they use the new override syntax. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03Convert to new override syntaxMartin Jansa
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-07-17layers: Fix git send-email instructions in READMEKhem Raj
This ensures that cut-n-paste of this command from README will work Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-15dracut: add CVE-2010-4176 to allowlisthayashi.satoshi@fujitsu.com
CVE-2010-4176 affects only using plymouth-pretrigger.sh script on Fedora. Signed-off-by: Satoshi Hayashi <hayashi.satoshi@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-12initramfs-debug-image: support cases where machines override IMAGE_FSTYPESAndrea Adami
As done for initramfs-kexecboot-image we need to use python to get the desired value for IMAGE_FSTYPES. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-12initramfs-kexecboot-image: support cases where machines override IMAGE_FSTYPESAndrea Adami
test case: zaurus.inc IMAGE_FSTYPES ?= "tar.gz jffs2 jffs2.sum ubi ubifs" IMAGE_FSTYPES_collie ?= "tar.gz jffs2 jffs2.sum" INITRAMFS_FSTYPES ?= "cpio.gz cpio.xz" The last assignment IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" did in fact reset the value to IMAGE_FSTYPES_collie, thus not producing cpio.gz / cpio.xz. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-10klibc: Add clang's -rtlib to known optionsKhem Raj
This helps in ensuring that we always link klibc apps with libgcc as compiler-rt does not work for klibc due to missing libssp functions e.g. __stack_chk_guard and __stack_chk_guard which it expects in libc Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2021-03-19layers: Drop gatesgarth from LAYERSERIES_COMPATKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-14kexec-tools-klibc: Use SITEINFO_BITS to construct includepathKhem Raj
This helps getting rid of per arch overrides Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-07klibc: Fix x86_64 build with binutils 2.36+Khem Raj
this patch is already on klibc mailing list Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2021-02-06kexecboot: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2021-02-06ubi-utils-klibc: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2021-02-04klibc: Upgrade to 2.0.8 releaseKhem Raj
Adjust klcc to work with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2021-01-04dracut: upgrade 049 -> 051Yi Zhao
Drop the following patches which have been merged upstream: 0001-dracut.sh-improve-udevdir.patch 0001-set-viriable-_drv-not-local.patch Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15kexec-tools-klibc: Add leading whitespace for append operatorKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-04layer.conf: Add hardknott to LAYERSERIES_COMPATKhem Raj
Thats codename for 3.3 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-15meta-openembedded: Add gatesgarth to LAYERSERIES_COMPATKhem Raj
Remove older releases from COMPAT Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-13ubi-utils-klibc: Remove trailing slash from SKhem Raj
This slash is redundant and removing it could help pseudo maintain its database Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13kexecboot: Use -fcommon to compileKhem Raj
gcc10 defaults to -fno-common and kexecboot does not compile with -fno-common, so use -fcommon explicitly Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13klibc: Compile with -fcommonKhem Raj
gcc 10 defaults to -fno-common, but klibc does not build with -fno-common, it will need some work to get there, until then use -fcommon explicitly Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-27packagegroup-meta-initramfs: remove klibc utilities and kexec-tools-klibcAndrea Adami
klibc utils have no update-alternatives because these live ideally alone in the initramfs. mwta-initramfs image is not minimal having busybox, linux- utils,coreutils so to resolve the conflict we remove the shared klibc utils. The image is mostly for build-tests and contains dracut, which does not have runtime dependencies on kexec-tools, so we can safely remove the klibc static version of kexec and vmcore-dmesg (not availaible on some archs). Doing this we can safely remove EXCLUDE_FROM_WORLD Fix: ERROR: meta-initramfs-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox', 'util-linux-umount', 'util-linux-dmesg','coreutils', 'util-linux-mount', 'cpio', 'util-linux-kill', 'util-linux-losetup'] have failed. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21Remove LICENSE = "MIT" from imagesAndrea Adami
As in commit 9d55993 This is the default in the packagegroup and image classes. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21meta-initramfs: put images and initrdscripts in recipes-coreAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-20kexecboot(-klibc): update recipe to master on github (5a5e04b)Andrea Adami
fix injection of compiler flags (static and debug) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-20layers: update LAYERSERIES_COMPAT to dunfellKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-19recipes: Make powerpc64le overridesKhem Raj
The existing conditions for ppc64/be are applicable for le as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-14klibc: Apply -no-integrated-as on mips/clangKhem Raj
Fixes build error | /mnt/b/yoe/build/tmp/work/mips32r2-yoe-linux-musl/klibc/2.0.7-r0/klibc-2.0.7/usr/klibc/syscalls.pl: usr/klib c/syscalls/typesize.bin: magic number not found ... | usr/klibc/sigsuspend.c:8:10: fatal error: 'klibc/havesyscall.h' file not found | #include <klibc/havesyscall.h> | ^~~~~~~~~~~~~~~~~~~~~ | 1 error generated. Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2019-10-28klibc: Upgrade 2.0.6 -> 2.0.7Adrian Bunk
Patches applied upstream removed. Use the release tarball. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08Add zeus compatibility to all layer.conf filesPalmer Dabbelt
I have no idea if this is the right thing to do, but without the patch I can't actually buil OE because none of these layers are compatible with the change in openembedded-core to move to zeus. Fixes: a5c9709b8d ("layer.conf: Update for zeus series") # openembedded-core Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-03klibc: Fix build with 5.2+ kernel headersKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-30Remove LICENSE = "MIT" from packagegroups and imagesAdrian Bunk
This is the default in the packagegroup and image classes. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-30grubby: support usrmergeChangqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17grubby: Add bash to rdepsKhem Raj
Fixes ERROR: QA Issue: /sbin/new-kernel-pkg contained in package grubby requires /bin/bash, but no providers found in RDEPENDS_grubby? [file-rdeps] I wonder if new-kernel-pkg should be packaged at all, but dracut might need to be cleaned first to not need it Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17klibc: Disable bcmp builtin for clang on glibc as wellKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-08klibc: Pass -fno-builtin-bcmp with musl/clang comboKhem Raj
clang would emit bcmp built-in for musl bases system but here we do not link in musl C library, so its best to disable it Fixes git/usr/klibc/memmem.c:38: undefined reference to `bcmp' Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2019-08-03klcc-cross: Recognise --unwindlib clang optionKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2019-07-21kexec-tools-klibc: Refresh patch with no code changeKhem Raj
Fixes kexec-tools-klibc-2.0.18+gitAUTOINC+5750980cdb: Patch log indicates that patches do not apply cleanly. [patch-fuzz] Signed-off-by: Khem Raj <raj.khem@gmail.com>