summaryrefslogtreecommitdiffstats
path: root/meta-initramfs
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* meta-initramfs: add pkg group and imageArmin Kuster2019-01-132-0/+44
| | | | | Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexecboot: update to latest master (7409a1e0aaea)Andrea Adami2018-12-201-1/+1
| | | | | | | implemening --no-dtb option for older mips/mipsel Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexec-tools-klibc: implement the --no-dtb option for older mips kernelsAndrea Adami2018-12-182-0/+166
| | | | | | | Fix borrowed from LEDE-DEV. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexec-tools-klibc: update to 2.0.18Andrea Adami2018-12-121-2/+2
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexec-tools-klibc: fix build for mipsel and mips64elAndrea Adami2018-12-101-0/+3
| | | | | | | | | | | Builds with little endianness were not tested before. Fix for: purgatory.c:2:10: fatal error: limits.h: No such file or directory Signed-off-by: Andrea Adami <andrea.adami@gmail.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>
* layers: Update layer compatibility to thudKhem Raj2018-09-301-1/+1
| | | | | | | | | | | 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>
* klibc.inc: lazy assign GCCPIE in case security_flags.inc was not includedAndrea Adami2018-09-251-0/+1
| | | | | | | | | | | | 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>
* klibc-utils: remove the two static binaries (kinit and gzip)Andrea Adami2018-09-171-5/+3
| | | | | | | | | | | | | | 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>
* klibc-static-utils: fix textrel, disable security flags for the static utilsAndrea Adami2018-09-171-0/+4
| | | | | | | | | 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>
* klibc: fix build with GCC and -pie for mips, mips64, aarch64Andrea Adami2018-09-151-1/+3
| | | | | | | | | | | | | | | | | | 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>
* klibc: fix build on i386 with GCC and security flags enabledAndrea Adami2018-09-151-3/+3
| | | | | | | | | | 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>
* kexec-tools-klibc: Deliberately add -O2Khem Raj2018-09-141-1/+1
| | | | | | | | | | | | | | | 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>
* klibc: Fix build with security flagsKhem Raj2018-09-112-4/+33
| | | | | | | | | 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>
* klcc-cross: Recognise clang optionsKhem Raj2018-09-092-0/+20
| | | | | | | | 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>
* kexecboot-cfg: add new options for DTB and CMDLINEAndrea Adami2018-09-081-0/+6
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexecboot: upgrade to rev. 4c01d6960aa6Andrea Adami2018-09-083-95/+2
| | | | | | | 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>
* kexec-tools-klibc: remove unneeded aarch64 patchAndrea Adami2018-09-062-53/+1
| | | | | | | Remove temporary development leftover (hack). Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexec-tools-klibc: remove unneeded x86-64 patchAndrea Adami2018-09-052-37/+1
| | | | | | | | | | | 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>
* kexec-tools-klibc: fix build for qemuarm64Andrea Adami2018-09-052-1/+63
| | | | | | | | | | 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>
* kexec-tools-klibc: rebase x86-64 patch to remove -mcmodel=largeAndrea Adami2018-09-051-5/+7
| | | | | | | 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>
* kexec-tools-klibc: enable kexec_file_load() for supported archsAndrea Adami2018-09-051-9/+26
| | | | | | | 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>
* klibc_2.0.4: add kexec_file_load() and getrandom() syscallsAndrea Adami2018-09-053-0/+56
| | | | | | | 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>
* kexec-tools-klibc: rebase x86_kexec_test.patchAndrea Adami2018-09-051-7/+7
| | | | | | | | | 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>
* kexec-tools-klibc: add kexec-x32.patch from oe-coreAndrea Adami2018-08-312-1/+90
| | | | | | | 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>
* kexec-tools-klibc: package vmcore-dmesg-klibcAndrea Adami2018-08-311-1/+2
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexec-tools-klibc: sync patches with oe-coreAndrea Adami2018-08-314-2/+83
| | | | | | | | | | | | | | | | 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>
* kexec-tools-klibc: upgrade to latest masterAndrea Adami2018-08-311-3/+2
| | | | | | | | 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>
* kexec-tools-klibc: fix kexec_load() syscall workaroundAndrea Adami2018-08-311-10/+15
| | | | | | | 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>
* Update maintainersKhem Raj2018-08-271-1/+1
| | | | | | | | 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>
* kexec-tools-klibc: rework Makefile patch for purgatoryAndrea Adami2018-08-211-19/+14
| | | | | | | | 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>
* kexecboot: Fix build with glibc 2.28+Khem Raj2018-08-153-4/+63
| | | | | | | Update to latest srcrev at the same time. Fix out of tree builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: upgrade 047 -> 048Yi Zhao2018-07-261-3/+3
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dracut: upgrade 046 -> 047Yi Zhao2018-06-271-3/+3
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ubi-utils-klibc_2.0.2: upgrade to git rev 64f61a9Andrea Adami2018-05-306-7/+7
| | | | | | | | | -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>
* ubi-utils-klibc: update from v. 1.5.2 to 2.0.2Andrea Adami2018-05-2615-584/+508
| | | | | | | | 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>
* kexec-tools-klibc: upgrade from v. 2.0.2 to 2.0.17Andrea Adami2018-05-1742-420/+1256
| | | | | | | | | 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>
* grubby: update to latestTrevor Woerner2018-05-173-34/+79
| | | | | | | | | | | 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>
* grubby: switch away from github archiveTrevor Woerner2018-05-171-6/+4
| | | | | | | | | | | | | 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>
* klibc-2.0.4: refresh patches (using devtool)Andrea Adami2018-05-0113-156/+185
| | | | | | Silence warnings about ingnored context. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* update layer maintainersArmin Kuster2018-04-131-2/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* meta-*: add LAYERSERIES_COMPAT to layer.conf filesMartin Jansa2018-04-131-0/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* classes/recipes: Convert SkipPackage -> SkipRecipeMaxin John2018-03-051-1/+1
| | | | | | | | 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>
* dracut: 045 -> 046Huang Qiyu2018-02-231-3/+3
| | | | | | | Upgrade dracut from 045 to 046. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* ubi-utils-klibc_1.5.2: fix build for qemuarmAndrea Adami2018-02-1110-43/+212
| | | | | | | | | | | | | | 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>
* recipes: use oe.utils.conditional instead of deprecated base_conditionalMartin Jansa2018-02-011-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>