summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* grubby: Do not inherit autotools classKhem Raj2025-03-211-1/+10
| | | | | | The package uses simple Makefile for building Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: upgrade 103 -> 106Yi Zhao2025-02-251-10/+14
| | | | | | | | ChangeLog: https://github.com/dracut-ng/dracut-ng/releases/tag/106 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: upgrade 102 -> 103Yi Zhao2024-09-101-1/+1
| | | | | | | | ChangeLog: https://github.com/dracut-ng/dracut-ng/releases/tag/103 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: Drop an unnecessary patchZoltán Böszörményi2024-06-102-36/+0
| | | | | | | | | Dropped 0001-util.h-include-sys-reg.h-when-libc-glibc.patch that's unnecessary for a long time now, because dracut (since version 049) does not rely on __WORDSIZE. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: Switch to dracut-ng and upgrade to version 102Zoltán Böszörményi2024-06-074-71/+94
| | | | | | | | | | | | | | | | | | | | | | | The previous dracut 056 was hopelessly outdated. When creating an initramfs from a systemd based system with a recent systemd version, booting failed with this error: [ 1.906055] systemd[1]: Failed to open executor binary '/usr/lib/systemd/systemd-executor' [ 1.912230] systemd[1]: Failed to allocate manager object: No such file or directory [!!!!!!] Failed to allocate manager object [ 1.912480] systemd[1]: Freezing execution dracut-ng took over after development in the original dracut repository stopped. Switched to the new source repository. Dropped two patches upstreamed in dracut-ng. Added a new patch that partially reverts a change that broke creating an initramfs on the host using the cross-compiled sysroot. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc/klibc.inc : Add DEBUG_PREFIX_MAP flag.Fabien Thomas2023-10-131-0/+1
| | | | | | | | | | | | | Following reproducible-builds.org recommendations, using compiler flags like -ffile-prefix-map or -fdebug-prefix-map allows replace build-time paths by install-time ones in the debugging sections of binaries. Variable DEBUG_PREFIX_MAP set these flags correctly in yocto build context to guarantee reproducible builds. Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Upgrade to 2.0.13 releaseKhem Raj2023-10-078-41/+6
| | | | | | Drop backported patch and refresh others as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cve_check: convert CVE_CHECK_IGNORE to CVE_STATUSAndrej Valek2023-07-271-2/+1
| | | | | | | | | - Try to add convert and apply statuses for old CVEs - Drop some obsolete ignores, while they are not relevant for current version Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: Remove busybox from RRECOMMENDSMingli Yu2023-07-211-1/+0
| | | | | | | | The coreutils which defined in RRECOMMENDS has already provide the basic command and it conflicts with busybox. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-2112-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grubby: drop version 8.40Yi Zhao2023-01-041-41/+0
| | | | | | | This version is obsolete. Drop it and only keep the git version. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grubby: update to latest git revYi Zhao2023-01-046-41/+93
| | | | | | | | | | | * Refresh patches. * Update SRC_URI. The upstrem repository has been archived. * Depends on rpm to rpm-sort build. * Add a patch to fix rpm-sort build error. * Do not specify PREFIX as the issue has been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: Do not undefine _FILE_OFFSET_BITSKhem Raj2022-12-312-0/+33
| | | | | | Fixes build with 64bit time_t Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Fix build with kernel 5.19 headersKhem Raj2022-08-192-0/+35
| | | | | | Backport relevant patch. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Upgrade to 2.0.10Khem Raj2022-08-1011-50/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grubby: fix syntax for ALTERNATIVEYi Zhao2022-06-301-1/+1
| | | | | | | ALTERNATIVE_${PN} -> ALTERNATIVE:${PN} Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ubi-utils-klibc: Disable lzo compression by defaultKhem Raj2022-05-281-1/+2
| | | | | | | | This is still available if needed, however its obsolete and lzo has been removed from oe-core, if needed add meta-oe to layer mix and enable this in packageconfigs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Recognise --dyld-prefix clang optionKhem Raj2022-04-251-1/+4
| | | | | | This is added when usrmerge is enabled in distro Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: upgrade 055 -> 056Yi Zhao2022-04-062-1/+38
| | | | | | | | | | | | | | | * 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>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-045-5/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Use new CVE_CHECK_IGNORE variableKhem Raj2022-02-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: upgrade 051 -> 055Yi Zhao2022-01-182-9/+8
| | | | | | | | * 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>
* grubby: fix conflict with debianutilsHongxu Jia2022-01-111-0/+4
| | | | | | | | 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>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-034-4/+4
| | | | | | | | | 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>
* Convert to new override syntaxMartin Jansa2021-08-039-51/+51
| | | | | | | | | | 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>
* dracut: add CVE-2010-4176 to allowlisthayashi.satoshi@fujitsu.com2021-06-151-0/+3
| | | | | | | 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>
* klibc: Add clang's -rtlib to known optionsKhem Raj2021-06-101-1/+4
| | | | | | | | | 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>
* klibc: Fix x86_64 build with binutils 2.36+Khem Raj2021-02-072-0/+53
| | | | | | | this patch is already on klibc mailing list Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
* ubi-utils-klibc: Fix build with clangKhem Raj2021-02-062-0/+33
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
* klibc: Upgrade to 2.0.8 releaseKhem Raj2021-02-0415-132/+43
| | | | | | | Adjust klcc to work with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
* dracut: upgrade 049 -> 051Yi Zhao2021-01-043-113/+2
| | | | | | | | | 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>
* ubi-utils-klibc: Remove trailing slash from SKhem Raj2020-10-131-1/+1
| | | | | | This slash is redundant and removing it could help pseudo maintain its database Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Compile with -fcommonKhem Raj2020-08-131-1/+1
| | | | | | | | 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>
* recipes: Make powerpc64le overridesKhem Raj2020-01-191-0/+1
| | | | | | The existing conditions for ppc64/be are applicable for le as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Apply -no-integrated-as on mips/clangKhem Raj2019-12-141-0/+1
| | | | | | | | | | | | | | | | | 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>
* klibc: Upgrade 2.0.6 -> 2.0.7Adrian Bunk2019-10-287-64/+6
| | | | | | | | | 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>
* klibc: Fix build with 5.2+ kernel headersKhem Raj2019-09-032-0/+37
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grubby: support usrmergeChangqing Li2019-08-301-1/+1
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grubby: Add bash to rdepsKhem Raj2019-08-172-0/+2
| | | | | | | | | | 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>
* klibc: Disable bcmp builtin for clang on glibc as wellKhem Raj2019-08-171-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Pass -fno-builtin-bcmp with musl/clang comboKhem Raj2019-08-081-1/+4
| | | | | | | | | | | | 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>
* klcc-cross: Recognise --unwindlib clang optionKhem Raj2019-08-031-5/+6
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
* dracut: fix generated initramfs boot failure under bash 5Hongxu Jia2019-06-212-0/+70
| | | | | | | | | | | | | | | | | | If shebang is set to /bin/sh and /bin/sh is a symlink to /bin/bash, bash turn on posix mode. Since bash is upgraded to 5.0, it follows 'IEEE 1003.2 POSIX Shell Standard', to implement 'functions do not have local traps or options, and it is not possible to define local variables' For more detail, see variables.c:push_posix_temp_var in the following commit http://git.savannah.gnu.org/cgit/bash.git/commit/?id=d233b485e83c3a784b803fb894280773f16f2deb The IEEE 1003.2 POSIX Shell Standard: https://www.cs.ait.ac.th/~on/O/oreilly/unix/ksh/appa_02.htm Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: fix udevdir not foundHongxu Jia2019-04-062-0/+40
| | | | | | | | | | | | | | In commit [9d1b81c dracut.sh: improve udevdir and systemdutildir fallback logic], it checked a common binary `collect' to localte udevdir. While upgrading systemd to 241, it dropped binary `collect'. [https://github.com/systemd/systemd/commit/a168792c2d95695fd30c0371d4b3890a9df1eafb] So check binary `ata_id' to instead. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Upgrade to 2.0.6 releaseKhem Raj2019-03-1426-423/+10
| | | | | | | Drop staging related patches which are not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
* meta-initramfs: remove True option to getVar calls (again)André Draszik2019-01-131-2/+2
| | | | | | | | | | | | | | A couple have still been missed in the past despite multiple attempts at doing so (or simply have re-appeared?). Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc: Fix build with clangKhem Raj2018-12-092-0/+50
| | | | | | | | | | | | | Newer versions of clang optimize the calls to use unlocked variants of these functions Fixes | capabilities.c:(.text+0xb4): undefined reference to `fread_unlocked' | arm-yoe-linux-gnueabi-ld.bfd: capabilities.c:(.text+0x11a): undefined reference to `fwrite_unlocked' Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
* klibc: fix build for mipsel and mips64el with security flags enabledAndrea Adami2018-12-041-0/+3
| | | | | | | | | Fix relocations like: | mipsel-oe-linux-musl-ld.bfd: usr/klibc/libc.a(kill.o): relocation R_MIPS_26 against `__syscall_common' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: 048->049Hong Liu2018-10-161-2/+2
| | | | | | | Upgrade dracut from 048 to 049. Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* klibc-static-utils: really fix build for x86 with security flags enabledAndrea Adami2018-10-102-0/+215
| | | | | | | | | | | | There were some shared binaries built together with the static ones and this was leading to the infamous: i586-oe-linux-musl-ld.bfd: discarded output section: `.got.plt' Fix this by purging the Kbuild files. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>