aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs
AgeCommit message (Collapse)Author
2018-10-16dracut: 048->049Hong Liu
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>
2018-10-10klibc-static-utils: really fix build for x86 with security flags enabledAndrea Adami
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>
2018-09-30layers: Update layer compatibility to thudKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@googlemail.com> Cc: Derek Straka <derek@asterius.io> Cc: Tim Orling <TicoTimo@gmail.com> Cc: Hongxu Jia <hongxu.jia@windriver.com> Cc: Armin Kuster <akuster808@gmail.com> Cc: Joe MacDonald <joe_macdonald@mentor.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2018-09-25klibc.inc: lazy assign GCCPIE in case security_flags.inc was not includedAndrea Adami
fix build error (GCCPIE is unset): EXTRA_KLIBCAFLAGS=${SECURITY_CFLAGS} -Wa,--noexecstack EXTRA_KLIBCLDFLAGS=${@-z relro -z now -pie if else } -z noexecstack | make: invalid option -- 'z' | make: invalid option -- ' ' Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17klibc-utils: remove the two static binaries (kinit and gzip)Andrea Adami
The shared utils can be built with security flags enabled. This breaks however build of kinit and gzipm both static. Remove them from this recipe. Fix QA Issue: 'klibc-utils-gzip/bin/gzip' has relocations in .text [textrel] 'klibc-utils-kinit/bin/kinit' has relocations in .text [textrel] Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17klibc-static-utils: fix textrel, disable security flags for the static utilsAndrea Adami
Fix WARNING: klibc-static-utils-2.0.4-r0 do_package_qa: QA Issue: ELF binary 'X' has relocations in .text [textrel] Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-15klibc: fix build with GCC and -pie for mips, mips64, aarch64Andrea Adami
The MCONFIG makefiles for mips/mips64 do disable pic so we do not insist linking it with -pie. For aarch64 we have to readd the -Os optimization to avoid | usr/dash/shell.h:103:25: error: '-mgeneral-regs-only' is incompatible with floating-point argument as committed (c296fb707ae3 klibc: Pass Optimization with KLIBCOPTFLAGS) but reverted (76bc58e9329 klibc: Fix build with security flags) trying to fix the i386 build (see ld.bfd: discarded output section: `.got.plt'). This latter issue was fixed for i386 passing -pie to the linker. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-15klibc: fix build on i386 with GCC and security flags enabledAndrea Adami
ld fails if distro's security-flags are enabled: Inject the SECURITY_XFLAGS if security_flags.inc was included. Fix on i386: ld: discarded output section: `.got.plt' Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-14kexec-tools-klibc: Deliberately add -O2Khem Raj
This helps the compiler to be more aggressive and do the expected optimizations to remove unused code which otherwise gets flagged on some architectures e.g. armv7l errors like undefined reference to `bad_unaligned_access_length' Also see http://lists.infradead.org/pipermail/kexec/2009-August/003488.html Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2018-09-11klibc: Fix build with security flagsKhem Raj
Drop -Os which is also causing the relro Fixes | x86_64-bec-linux-musl-ld.bfd: discarded output section: `.got.plt' Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2018-09-09klcc-cross: Recognise clang optionsKhem Raj
Let klcc understand '-no-integrated-as' which is a clang option used by meta-clang for compiler defaults Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
2018-09-08kexecboot-cfg: add new options for DTB and CMDLINEAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08kexecboot: upgrade to rev. 4c01d6960aa6Andrea Adami
Remove upstreamed patches, get new options for kexec. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-06kexec-tools-klibc: remove unneeded aarch64 patchAndrea Adami
Remove temporary development leftover (hack). Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05kexec-tools-klibc: remove unneeded x86-64 patchAndrea Adami
The issue with -mcmodel=large is already solved by the oe-core's patch "kexec-x32.patch" so we can remove this one. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05kexec-tools-klibc: fix build for qemuarm64Andrea Adami
Since c3f043241a86 upstream the getrandom() syscall is used. Last recipe bump overlooked that. The syscall has been added to OE's klibc so we can fix this. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05kexec-tools-klibc: rebase x86-64 patch to remove -mcmodel=largeAndrea Adami
Patch did not apply after upgrade to latest master. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05kexec-tools-klibc: enable kexec_file_load() for supported archsAndrea Adami
The syscall has been added to klibc. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05klibc_2.0.4: add kexec_file_load() and getrandom() syscallsAndrea Adami
Needed by kexec-tools afer 2.0.17 Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05kexec-tools-klibc: rebase x86_kexec_test.patchAndrea Adami
After last upgrade this patch does not apply anymore. Replace the previous hack just commenting out the two lines (package vmcore-dmesg as well). Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31kexec-tools-klibc: add kexec-x32.patch from oe-coreAndrea Adami
This is the last patch borrowed from the actual oe-core recipe. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31kexec-tools-klibc: package vmcore-dmesg-klibcAndrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31kexec-tools-klibc: sync patches with oe-coreAndrea Adami
Following patches have been imported: 0001-Disable-PIE-during-link.patch 0001-purgatory-Pass-r-directly-to-linker.patch The two above are in the now modified 0011-purgatory-Makefile-adapt-to-klcc.patch These two have been imported and renamed: 0002-powerpc-change-the-memory-size-limit.patch 0010-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31kexec-tools-klibc: upgrade to latest masterAndrea Adami
as of b9de21ef51a7ceab7122a707c188602eae22c4ee we can remove obsoleted kdump and get the --no-checks option. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31kexec-tools-klibc: fix kexec_load() syscall workaroundAndrea Adami
As soon as klibc adds kexec_file_load() syscall we can rework this patch. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27Update maintainersKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Andreas Müller <schnitzeltony@gmail.com> Acked-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-21kexec-tools-klibc: rework Makefile patch for purgatoryAndrea Adami
Replace previous hack, wrap linker LDFLAGS for compatibility with klcc. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15kexecboot: Fix build with glibc 2.28+Khem Raj
Update to latest srcrev at the same time. Fix out of tree builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-26dracut: upgrade 047 -> 048Yi Zhao
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27dracut: upgrade 046 -> 047Yi Zhao
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-30ubi-utils-klibc_2.0.2: upgrade to git rev 64f61a9Andrea Adami
-Incorporate 3 small after-relase fixes -Fix typos in patch comments (Upstream-Status) -Remove patch enumeration from Subject line Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26ubi-utils-klibc: update from v. 1.5.2 to 2.0.2Andrea Adami
Update to new version and drop accepted patches. Use autotools and packageconfig (for xattrs). Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-17kexec-tools-klibc: upgrade from v. 2.0.2 to 2.0.17Andrea Adami
This version does support aarch64. Ad klibc-specific patchset and track the git repository to get the (many) fixes for the warnings. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17grubby: update to latestTrevor Woerner
This project doesn't seem to produce regular releases as they once did, the last such release (8.40-1) was in 2015 (over 3 years ago at this point). Therefore switch to building the latest git commit. Also, refresh the patches as required (used devtool --force-patch-refresh). Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17grubby: switch away from github archiveTrevor Woerner
Since we know that github archives that are automatically generated have a tendency to change their checksums[1], switch to using git clones. Also, discovered that the sources for this project are no longer at github.com/rhinstaller but are located at github.com/rhboot. [1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01klibc-2.0.4: refresh patches (using devtool)Andrea Adami
Silence warnings about ingnored context. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2018-04-13update layer maintainersArmin Kuster
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13meta-*: add LAYERSERIES_COMPAT to layer.conf filesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-05classes/recipes: Convert SkipPackage -> SkipRecipeMaxin John
Update following the SkipPackage -> SkipRecipe change in oe-core. Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-02-23dracut: 045 -> 046Huang Qiyu
Upgrade dracut from 045 to 046. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-11ubi-utils-klibc_1.5.2: fix build for qemuarmAndrea Adami
Building the recipe with TUNE_FEATURES = "aarch64" and TARGET_FPU = "" fails. See patch headers for more details. Patch sent upstream for master, here rebased for 1.5.2. Tested runtime on armv5. While there backport one more patch fixing warnings in libmtd.c and move the patches in their specific dir, preparing for v2.0.1. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-01recipes: use oe.utils.conditional instead of deprecated base_conditionalMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-01-16kexec-tools-klibc: update to fix build issues after core changes.Armin Kuster
Parsing recipes...ERROR: ParseError at ../meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb:2: Could not include required file recipes-kernel/kexec/kexec-tools.inc This was introduced by: http://cgit.openembedded.org/openembedded-core/commit/?id=491f6d523b72b91dc7b186a6f273756435804581 removed the kexec-tools.inc so place those changes into the recipe. Signed-off-by: Armin Kuster <akuster808@gmail.com> Tested-by: Jaewon Lee <jaewon.lee@xilinx.com> Acked-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-10-04klibc: Pass Optimization with KLIBCOPTFLAGSKhem Raj
Overriding KLIBCOPTFLAGS also meant that -Ox flags were taken off. Which results in errors like | usr/dash/shell.h: In function 'max_int_length': | usr/dash/shell.h:103:25: error: '-mgeneral-regs-only' is incompatible with floating-point code | return (bytes * 8 - 1) * 0.30102999566398119521 + 14; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | usr/dash/shell.h:103:25: error: '-mgeneral-regs-only' is incompatible with floating-point argument Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04initramfs-kexecboot-image: replace deprecated license fileAndrea Adami
Use '${COMMON_LICENSE_DIR}/MIT' for MIT License. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04initramfs-debug: replace deprecated license fileAndrea Adami
Use '${COMMON_LICENSE_DIR}/MIT' for MIT License. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04klibc.bbclass: Pass TUNE_CCARGS in flagsKhem Raj
This is needed for ABI compatibility since march defines if -mthumb means thumb1 or thumb2 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04ubi-utils-klibc: Update to 1.5.2 release of mtd-utilsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18recipes: fix invalid license fileJackie Huang
Use '${COMMON_LICENSE_DIR}/MIT' for MIT License to fix the warning: | WARNING: packagegroup-xfce-base-1.0-r5 do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. This will become an error in the future Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18klibc.bbclass: Add -mfloat-abi on armKhem Raj
Default toolchain is not configured for hard float therefore we need to pass the right -mfloat-abi option Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>