Commit Graph

326 Commits

Author SHA1 Message Date
Andrea Adami
a06c29be2f klibc: fix build with GCC and -pie for mips, mips64, aarch64
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 (c296fb707a klibc: Pass Optimization with KLIBCOPTFLAGS)
but reverted (76bc58e932 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-15 07:37:11 -07:00
Andrea Adami
a95dde2868 klibc: fix build on i386 with GCC and security flags enabled
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-15 07:36:21 -07:00
Khem Raj
e5c84d8365 kexec-tools-klibc: Deliberately add -O2
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-14 19:01:41 -07:00
Khem Raj
76bc58e932 klibc: Fix build with security flags
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-11 22:48:21 -07:00
Khem Raj
77922f115a klcc-cross: Recognise clang options
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-09 22:50:06 -07:00
Andrea Adami
7aba8f58ff kexecboot-cfg: add new options for DTB and CMDLINE
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 00:06:24 -07:00
Andrea Adami
6bed5b3d74 kexecboot: upgrade to rev. 4c01d6960aa6
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-08 00:06:24 -07:00
Andrea Adami
47544dbdea kexec-tools-klibc: remove unneeded aarch64 patch
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-06 10:38:06 -07:00
Andrea Adami
005093bac5 kexec-tools-klibc: remove unneeded x86-64 patch
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-05 13:59:16 -07:00
Andrea Adami
d1efc0181d kexec-tools-klibc: fix build for qemuarm64
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-05 13:59:16 -07:00
Andrea Adami
e874880813 kexec-tools-klibc: rebase x86-64 patch to remove -mcmodel=large
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-05 13:59:15 -07:00
Andrea Adami
011383b95d kexec-tools-klibc: enable kexec_file_load() for supported archs
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-05 13:59:15 -07:00
Andrea Adami
641dff9768 klibc_2.0.4: add kexec_file_load() and getrandom() syscalls
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-05 13:59:15 -07:00
Andrea Adami
40ccddb62c kexec-tools-klibc: rebase x86_kexec_test.patch
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-09-05 13:59:15 -07:00
Andrea Adami
28d225b581 kexec-tools-klibc: add kexec-x32.patch from oe-core
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-31 09:42:01 -07:00
Andrea Adami
c56b2fc960 kexec-tools-klibc: package vmcore-dmesg-klibc
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 09:41:45 -07:00
Andrea Adami
d128fcea07 kexec-tools-klibc: sync patches with oe-core
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-31 09:41:29 -07:00
Andrea Adami
8eae2f8c86 kexec-tools-klibc: upgrade to latest master
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-31 06:55:43 -07:00
Andrea Adami
b5d062af3d kexec-tools-klibc: fix kexec_load() syscall workaround
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-31 06:55:33 -07:00
Khem Raj
eac9bd96ce Update maintainers
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-27 10:53:58 -07:00
Andrea Adami
4edac5919f kexec-tools-klibc: rework Makefile patch for purgatory
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-21 10:36:04 -07:00
Khem Raj
85b0d91d39 kexecboot: Fix build with glibc 2.28+
Update to latest srcrev at the same time.
Fix out of tree builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Yi Zhao
1dcc5981c6 dracut: upgrade 047 -> 048
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-26 20:10:07 -07:00
Yi Zhao
d9bb8adedd dracut: upgrade 046 -> 047
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:32 -07:00
Andrea Adami
792cd222c4 ubi-utils-klibc_2.0.2: upgrade to git rev 64f61a9
-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-30 09:58:02 -07:00
Andrea Adami
9f38fa5ae1 ubi-utils-klibc: update from v. 1.5.2 to 2.0.2
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-26 21:10:55 -07:00
Andrea Adami
e22a87046f kexec-tools-klibc: upgrade from v. 2.0.2 to 2.0.17
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-17 08:32:26 -07:00
Trevor Woerner
9b08b7af9e grubby: update to latest
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-17 08:20:48 -07:00
Trevor Woerner
e3812fa4ad grubby: switch away from github archive
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-17 08:20:48 -07:00
Andrea Adami
ddda5e7b68 klibc-2.0.4: refresh patches (using devtool)
Silence warnings about ingnored context.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2018-05-01 18:11:03 -07:00
Armin Kuster
1bdf09b788 update layer maintainers
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:44 -07:00
Martin Jansa
cdb919d1c8 meta-*: add LAYERSERIES_COMPAT to layer.conf files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:37 -07:00
Maxin John
3b3c4c8426 classes/recipes: Convert SkipPackage -> SkipRecipe
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-03-05 11:45:40 -05:00
Huang Qiyu
e49bb3a812 dracut: 045 -> 046
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-23 20:19:17 -08:00
Andrea Adami
edbe41f53e ubi-utils-klibc_1.5.2: fix build for qemuarm
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-11 11:50:56 -08:00
Martin Jansa
99aa19ff53 recipes: use oe.utils.conditional instead of deprecated base_conditional
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-01 13:48:27 +00:00
Armin Kuster
02e3e2a211 kexec-tools-klibc: update to fix build issues after core changes.
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>
2018-01-16 21:36:53 -08:00
Khem Raj
c296fb707a klibc: Pass Optimization with KLIBCOPTFLAGS
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-04 14:53:37 +00:00
Andrea Adami
5343e04498 initramfs-kexecboot-image: replace deprecated license file
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-04 14:53:36 +00:00
Andrea Adami
79c442f7a1 initramfs-debug: replace deprecated license file
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-04 14:53:35 +00:00
Khem Raj
8fcd735aac klibc.bbclass: Pass TUNE_CCARGS in flags
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-04 14:53:30 +00:00
Khem Raj
dec9f0ba38 ubi-utils-klibc: Update to 1.5.2 release of mtd-utils
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-10-04 14:53:29 +00:00
Jackie Huang
0487ed7f1d recipes: fix invalid license file
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-18 10:18:12 +02:00
Khem Raj
392d474544 klibc.bbclass: Add -mfloat-abi on arm
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>
2017-09-18 10:16:23 +02:00
Khem Raj
7fb5af6557 klibc.bbclass: Use forcevariable override to define flags
This is required so it can override the CC settings when
clang is used because meta-clang uses toolchain-clang
override to set CC and friends so we need to use higher
order override, forcevariable is highest order.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:16:23 +02:00
Khem Raj
028eeb8ca6 klibc: Edit out gcc hardcoding in do_compile
This is needed when building klcc-cross and klcc-cross
does not have do_configure, therefore stick this just before
do_compile

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:16:23 +02:00
Khem Raj
a2bdc3b9fb klibc: Fix include_next stdarg.h with clang
Fixes build

git/usr/klibc/../include/stdarg.h:9:15: fatal error: 'stdarg.h' file not found
| #include_next <stdarg.h>
|               ^~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:22 +02:00
Huang Qiyu
d50aee5e41 dracut: Add HOMEPAGE info into recipe file.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:21 +02:00
Khem Raj
8f65c719c7 klibc: Fix build with clang
Remove gcc specific options use common one instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:20:57 +02:00
Khem Raj
d45db2d6ec grubby: Link with libexecinfo on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:58:50 +02:00
Khem Raj
606e9b29ec dracut: Upgrade to 045
Fix build on musl while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:35 +02:00
Khem Raj
b97358d5a3 kexec-tools-klibc: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:35 +02:00
Khem Raj
cafe21e8a2 klibc: Fix build issue when default ISA is not thumb
We were passing empty string '' to make as option when
ISA was not thumb this breaks build for machines/distros
which do not use ARM_INSTRUCTION_SET = thumb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:33 +02:00
Khem Raj
a52f2cb2e9 klibc: Fix linking by using bfd linker when default linker is gold
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:44:33 +02:00
Khem Raj
c6afff8d92 ubi-utils-klibc: Pass TUNE_CCARGS into CFLAGS
This is needed for hard float ABI selection options

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:44:33 +02:00
Khem Raj
15266c135a klibc: Fix build with musl
klibc failed to build with armv7+ when using thumb2
it needed to resepct TUNE_CCARGS

Add patches to fix build with musl, to sort out
the linux header maze.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:44:33 +02:00
Andrea Adami
99c2b3bcee kexecboot: update recipe to master on github (4c4f127)
With pending OE patches and a new fix for gcc 7.
Set PV = "0.6+git${SRCPV}" while waiting for a new 0.7 tarball upstream.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-22 16:03:01 +02:00
Andrea Adami
85b4e2e146 klibc: disable PARALLEL_MAKE
On modern buidsystems with many cores there are sporadic build failures.
The issue is known and a fix in the sources is awaited (new Kbuild).

http://www.zytor.com/pipermail/klibc/2013-May/003420.html

For the moment, disable PARALLEL_MAKE.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 10:59:27 +02:00
Peter Kjellerstedt
0c31f55bcf Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07 13:30:26 +01:00
Andrea Adami
f937023856 initramfs-kexecboot-klibc-image: remove blacklisting
Ex patch 7/9 of the 2017-02-13 serie, not landed in patchwork.
Recipe does build with the recent changes for meta-initramfs.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-20 11:50:13 +01:00
Andrea Adami
7d8a81fd18 kexec-tools-klibc_2.0.2: remove blacklisting
Recipe does build with the pending changes for meta-initramfs.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16 12:06:36 +01:00
Andrea Adami
520034a86d klibc-utils_2.0.4: remove blacklisting
Recipe does build with the pending changes for meta-initramfs.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16 12:06:36 +01:00
Andrea Adami
1d8dca3e4a kexecboot(-klibc)_0.6: remove blacklisting
Recipe does build with the pending changes for meta-initramfs.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16 12:06:36 +01:00
Andrea Adami
1fa716b28b ubi-utils-klibc_1.5.1: remove blacklisting
Recipe does build with the pending changes for meta-initramfs.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16 12:06:36 +01:00
Andrea Adami
54f8d31797 klcc-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot
As done for libtool-cross in oe-core.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16 12:06:36 +01:00
Andrea Adami
2b9068b689 klcc-cross: restrict scope of SSTATE_SCAN_FILES
As done in libtool-cross from oe-core we prefer to be specific even when
there is just one file.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16 12:06:35 +01:00
Andrea Adami
f6649fa311 klcc-cross: disable packaging using appropriate
Instead of deleting the packaging tasks we simply inherit
nopackages.bbclass.
Done that we do set PACKAGES to empty.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16 12:06:35 +01:00
Andrea Adami
f4fd9a0289 klcc-cross: fixes for recipe specific sysroot
The klcc script encodes the paths with custom escaping.
As stated in the patch "Turn the horribly encoded paths into something which
sstate can transform using its ususal magic by removing all the crazy escaping".

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16 12:06:35 +01:00
Martin Jansa
044e518954 smbnetfs gnome-disk-utility contacts kexecboot initramfs-kexecboot-klibc-image system-config-keyboard system-setup-keyboard geany geany-plugins efivar efibootmgr gimp system-config-keyboard tumbler: Blacklist
* fails repeatedly as reported in:
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111173.html
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111180.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 20:34:21 +01:00
Martin Jansa
b7f480cc4c python-edbus exquisite elementary libeweather unionfs-fuse xfsprogs gmtk devilspie2 gnome-backgrounds gnome-desktop gnome-mime-data gtk-engines gtksourceview2 libgnomekbd libidl-native onboard libgpewidget ubi-utils-klibc kexec-tools-klibc gupnp-igd gupnp-tools dvb-apps gstreamer mpd crda netcat-openbsd wireshark gnokii libmbim mosh networkmanager-openvpn libtelepathy dbus-daemon-proxy libdbus-c++ php vala-dbus-binding-tool collectd libgxim pywbem gtkhtml2 fbida fontforge libsexy wayland-fits xstdcmap xf86-video-glamo font-adobe-100dpi font-adobe-utopia-100dpi font-bh-100dpi font-bh-lucidatypewriter-100dpi font-misc-misc crash a2jmidid libsdl2-mixer libsdl-mixer minidlna sylpheed libsdl2-ttf libsdl-ttf ode pidgin postgresql syslog-ng usb-modeswitch xdg-user-dirs gateone python3-cryptography-vectors python3-ndg-httpsclient python-cryptography-vectors python-pbr bundler netdata menulibre openzone xfce4-verve-plugin iperf terminus-font xf86-video-nouveau ipmiutil klibc-utils pmbw multipath-tools gparted, gnome-system-monitor, php, vala-dbus-binding-tool, gtkmathview, lmsensors, postgresql: Blacklist
* fails repeatedly as reported in:
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:44:34 +01:00
Andrea Adami
8c03a06192 linux-yocto-tiny-kexecboot: remove obsoleted recipe
With the changes about the kernel build directories it is now hard to build
two different flavors together witout races.

This recipe was meant as example back then when kexecboot was introduced.
Nowadays the only users are the devices in meta-handheld and they use a more
modern and maintained linux-kexecboot kernel.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:31 +01:00
Andrea Adami
547c047e42 initramfs-kexecboot-image: disable runtime dependency on run-postinsts
The runtime dependency chain leads to the install of unneeded files:

 /usr/sbin/run-postinsts
 /usr/sbin/update-rc.d

This comes from the default value of ROOTFS_BOOTSTRAP_INSTALL='run-postinsts'
To fix this, for this image we need an empty var.

While there, do the same for KERNELDEPMODDEPEND as suggested in image.bbclass.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:31 +01:00
Joshua Lock
efd3696e70 remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-12-02 09:16:17 +01:00
Mingli Yu
be8aa13c2f grubby: add bash to RDEPENDS_grubby-ptest
* Add bash to RDEPENDS_grubby-ptest
* As grubby upstream still continually updates ptest
  script test.sh with bash specific syntax such as commit
  98cab84501f86bd98f12653c11f4ecc632139399 and etc, so no
  need to remove bashisms

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:12 +02:00
Martin Jansa
dc48e768f5 meta-oe: remove trailing spaces
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:29 +02:00
Martin Jansa
289217bbc3 meta-oe: fix indentation
* remove tabs which sneaked in since last cleanup
* meta-oe layers are using consistent indentation with 4 spaces, see
  http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:28 +02:00
Hongxu Jia
7f4f2d72d8 grubby: fix no GNU_HASH warning
- Let recipe's LDFLAGS work in Makefile.

- Pass option '-e' to Makefile, let environment
  CFLAGS append to the one in Makefile.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-08 13:54:02 +02:00
mingli.yu@windriver.com
014c361d80 grubby: add grubby 8.40-1
* Add grubby bb
* Rename grub2-editenv to grub-editenv as
  we don't use the name grub2-editenv for grub2
* Add ptest support
* Update #!/bin/bash to #!/bin/sh in test.sh to remove
  bashisms

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:00:58 +02:00
Michael Walle
ba733d1ae9 klibc: fix install destination in 64bit env
klibc installs everything into /usr/lib by default. But the recipe assumes
it installs to ${libdir} which is /usr/lib64 in 64bit environment. Package
generation fails badly in this case. Set INSTALLDIR to fix this.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:00:56 +02:00
Khem Raj
21a9e43330 initramfs-kexecboot-klibc-image: Skip for nios2
nios2 does not support klibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-27 15:39:10 +02:00
Ross Burton
dad9a7847f meta-initramfs: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:39 +02:00
Stephano Cetola
63606ed546 initramfs-{debug,kexecboot}-image: zero out the rootfs_extra_space in initramfs images
Setting IMAGE_ROOTFS_EXTRA_SPACE impacts the initramfs images, results
in an error about INITRAMFS_MAXSIZE.

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:37:47 +02:00
Andrea Adami
c24380fbf9 linux-yocto-tiny-kexecboot: fix build error (cpio not found)
As seen in the autobuilder the script generating the initramfs fails
because the .cpio is not found.

Match changes in the oe-core classes and redefine the INITRAMFS_TASK.
See commit 59a5f59 in oe-core "classes: Fix do_rootfs references"

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:07 +01:00
Andrea Adami
dca85f2fc6 kexecboot: enable text UI in default EXTRA_OECONF.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:07 +01:00
Andrea Adami
e0171b34bd kexecboot: sync fix for gcc5 with upstream
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:07 +01:00
Andrea Adami
7183bacd5c linux-yocto-tiny-kexecboot: revert Yocto specific console check
Revert Yocto-specific : "check console device file on fs when booting".
Fix kernel panic at boot because of the missing /dev/console.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:07 +01:00
Andrea Adami
21a983bc33 linux-yocto-tiny-kexecboot: disable do_shared_workdir task
Simultaneous builds of mismatched kernel versions fail because of contamination.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:46 +01:00
Andrea Adami
807b7c58ae klibc: fix sh deps ver (PR is needed after PV)
Revert commit dd1ca18 removing ${PR}. Bad idea.
The shared lib could not be found giving this error:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for
   klibc-utils-XXX:
 * 	libklibc (= 2.0.4) *
 * opkg_install: Cannot install package klibc-utils-XXX.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:46 +01:00
Andrea Adami
36972191e8 klibc_2.0.4: Silence Warning about klibc-xxx-so already stripped
Fixes:
WARNING: File 'usr/lib/klibc-HWWIvOaMdZy4N4-6rLLHAB2TjFQ.so'
from klibc  was already stripped, this will prevent future debugging!
WARNING: File 'usr/lib/klibc/lib/klibc-HWWIvOaMdZy4N4-6rLLHAB2TjFQ.so'
from klibc was already stripped, this will prevent future debugging!

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:45 +01:00
Andrea Adami
e1a1fa2383 klibc_2.0.4: Silence QA Error about non-symlink so [dev-elf]
Following debian packaging-style we have a copy of klibc-xxx.so in libklibc-dev.
(Comments can be found in klibc.spec.in)

Fixes:
ERROR: QA Issue: -dev package contains non-symlink .so:
ibklibc-dev path 'work/i586-oe-linux/klibc/2.0.4-r0/packages-split/
libklibc-dev/usr/lib/klibc/lib/klibc-HWWIvOaMdZy4N4-6rLLHAB2TjFQ.so'
-dev package contains non-symlink .so:
libklibc-dev path 'work/i586-oe-linux/klibc/2.0.4-r0/packages-split/
libklibc-dev/usr/lib/klibc/lib/libc.so' [dev-elf]

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:45 +01:00
Andrea Adami
187ed64811 klibc_2.0.4: update to 4d1997d - Fix build for qemux86
Minimally rebase staging.patch and follow upstream commits.

Fixes:
| usr/klibc/socketcalls/socket.o: In function `socket':
| .../usr/klibc/socketcalls/socket.S:8: multiple definition of `socket'

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:44 +01:00
Andrea Adami
12b1768fc9 linux-yocto-tiny-kexecboot: upgrade to 4.4
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:42 +01:00
George McCollister
544f8ae0a3 dracut: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-15 10:16:53 +01:00
Dai Caiyun
8c66edbca3 dracut: 043 -> 044
Upgrade dracut from 043 to 044.

Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-27 12:43:56 +01:00
Martin Jansa
bc29eac3d4 linux-yocto-tiny-kexecboot: upgrade to 4.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:56:41 +01:00
Andrea Adami
bace907fc5 kexec-tools-klibc: add explicit SRC_URI
After commit c2492ed SRC_URI of the recipe contains the kdump script.
Kdump is not in the purposes of this recipe so we restore the plain SRC_URI.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:53:59 +01:00
Robert Yang
892c0ad605 dracut: fix host-user-contaminated
Fixed:
dracut-043+giteab03540cd695d940062af5b55c02e8829aaa526: dracut: /dracut/usr/lib/dracut/modules.d/99img-lib/img-lib.sh is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
lib32-dracut-043+giteab03540cd695d940062af5b55c02e8829aaa526: lib32-dracut: /lib32-dracut/usr/lib/dracut/modules.d/99img-lib/img-lib.sh is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Its Makefile uses cp -arx to install modules.d, so fix the owner
to root:root

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:30:22 +01:00
Martin Jansa
e528f2e160 dracut: exclude kernel-modules dependency with SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
* see:
  http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html
* fixes:
ERROR: dracut different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['bash-completionbash-completion_2.1.bb.do_packagedata', 'bashbash_4.3.30.bb.do_packagedata', 'busyboxbusybox_1.23.2.bb.do_packagedata', 'coreutilscoreutils_8.24.bb.do_packagedata', 'cpiocpio_2.11.bb.do_packagedata', 'dracutdracut_git.bb.do_package', 'dracutdracut_git.bb.do_packagedata', 'findutilsfindutils_4.5.14.bb.do_packagedata', 'glibcglibc_2.22.bb.do_packagedata', 'linuxlinux-yocto_4.1.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'systemdsystemd_225.bb.do_packagedata', 'util-linuxutil-linux_2.26.2.bb.do_packagedata']
to
['bash-completionbash-completion_2.1.bb.do_packagedata', 'bashbash_4.3.30.bb.do_packagedata', 'busyboxbusybox_1.23.2.bb.do_packagedata', 'coreutilscoreutils_8.24.bb.do_packagedata', 'cpiocpio_2.11.bb.do_packagedata', 'dracutdracut_git.bb.do_package', 'dracutdracut_git.bb.do_packagedata', 'findutilsfindutils_4.5.14.bb.do_packagedata', 'glibcglibc_2.22.bb.do_packagedata', 'linuxlinux-yocto_4.1.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'systemdsystemd_225.bb.do_packagedata', 'util-linuxutil-linux_2.26.2.bb.do_packagedata']
openembedded-core/meta/recipes-kernel/linux/linux-yocto_4.1.bb.do_packagedata with hash a98b79faed8b6633269560af1add43a5
 changed to
openembedded-core/meta/recipes-kernel/linux/linux-yocto_4.1.bb.do_packagedata with hash 15962f296d6961232d7350368c604464
Hash for dependent task linuxlinux-yocto_4.1.bb.do_packagedata changed from a98b79faed8b6633269560af1add43a5 to 15962f296d6961232d7350368c604464

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-16 21:50:10 +01:00
Joe Slater
e44f49baac dracut: RDEPEND on util-linux
We might need findmnt and setsid, which are in the
util-linux package.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:53:24 +02:00
Andrea Adami
2cbfbf9944 kexecboot_0.6: fix build with gcc 5
Resolving the issue:

rgb.h:55:1: warning: inline function 'rgba2comp' declared but never defined
|  rgba2comp(kx_rgba rgba, kx_ccomp *red, kx_ccomp *green,
|  ^

Fix C99 inline semantic as documented here:
https://gcc.gnu.org/gcc-5/porting_to.html

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:27:52 +02:00
Wenzong Fan
f4533380c8 dracut: install modules to /usr/lib
The dracut modules will be installed to /usr/lib64 while building 64bit
targets with multilib enabled, this causes runtime errors:

  dracut: Cannot find /usr/lib/dracut/dracut-functions.sh.
  dracut: Are you running from a git checkout?
  dracut: Try passing -l as an argument to /usr/bin/dracut

The dracut modules, 50-dracut.install and 51-dracut-rescue.install must
be installed to /usr/lib as Fedora 20 does.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 16:10:57 +02:00
Robert Yang
ea86048c8e dracut: RDEPEND on systemd optionally
Use PACKAGECONFIG to depend on systemd optionally.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 16:10:57 +02:00
Kang Kai
05ddc41c29 dracut: upgrade from 038 to 043
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 21:05:47 +02:00
Andre McCurdy
87577ec070 klibc.inc: use x86 over-ride instead of i486/i586/i686/pentium
32bit x86 is covered by the x86 over-ride, so duplicate over-rides for
i486/i586/i686/pentium are not required.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-08 14:15:23 +02:00
Andrea Adami
8bd02d5d4a kexecboot-cfg: fix for real ('S') doesn't exist warning
Remove unneeded do_configure_prepend and set S = "${WORKDIR}"
v2 removes commented lines

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2015-05-07 00:13:53 +01:00
Andrea Adami
9882169d24 kexecboot-cfg: maintenance update to v. 0.2
This configuration file is only suitable for kexecboot > 0.5.9.
With the upcoming release of linux_4.0 based kexecboot kernels it is preferable
to clearly distinguish old and new versions.

Fix WARNING: ... kexecboot-cfg-0.1 ('S') doesn't exist, please set 'S' to a proper value
Remove PR
Increase PV

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2015-04-17 01:00:53 +01:00
Dmitry Eremin-Solenikov
f3efc4f94f initramfs-debug-image: tiny debugging initramfs image
A tiny initramfs image suitable for initial bringup of the hardware.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:51 +02:00
Dmitry Eremin-Solenikov
a94da01779 initramfs-debug: add simple init script for debugging
Add a tiny simple debug script that will mount all available virtual
file systems and then execute a shell.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:51 +02:00
Chen Qi
bbf69a6037 meta-initramfs: add "core" to LAYERDEPENDS in layer.conf
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:50 +02:00
Martin Jansa
7d8caa930f linux-yocto-tiny-kexecboot: remove 3.10, 3.17 and add 3.19
* 3.10 and 3.17 were removed in oe-core and parsing fails because of the require line

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-02 14:54:59 +01:00
Dan McGregor
57632c54d8 dracut: recipe cleanup
Split out bash-completion data
Update RDEPENDS: getopt is util-linux-getopt now
Use distro_features_check to require systemd
Recommend busybox

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:35:40 +01:00
Andrea Adami
a433accf63 kexec-tools-klibc_2.0.2: backport patch to fix build with separate B and S
Catching up with oe-core commit 5fccfd0f0a9dd4dca96389f5d856d3fab21745e2
( kexec-tools: separate B and S) which removed autotools-brokensep for a newer
version.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-28 09:51:53 +01:00
Andrea Adami
102486523b kexecboot: apply OE specific fixes (pending upstream)
After 78ee4d8b1782445caecce8331e68efe83fc32044 in oe-core
the kernel is an *absolute* symlink in /boot.
Unfortunately this implies the stock images built with OE can not be booted.
The last patch of this commit fixes this issue.

The other patches are fixing build when S!=B, autotools-brokensep and
configure warnings.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-09 11:34:42 +01:00
Andrea Adami
f38cf13f72 ubi-utils-klibc_1.5.1: initial commit of v. 1.5.1
NOTE: we track master upstream so we are some commits ahead v 1.5.1.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-11-17 10:00:45 +00:00
Andrea Adami
e6f64ce21d ubi-utils-klibc_1.5.0: remove recipe and patches
Next patch replaces with v. 1.5.1 and new/rebased patchset

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-11-17 10:00:45 +00:00
Andrea Adami
65007b398c klibc: define KLIBCLIBGCC
Fix build of klibc extending the EXTRA_OEMAKE.

|   LIST    usr/klibc/klib.list
|   KLIBCAR usr/klibc/libc.a
|   KLIBCLD usr/klibc/libc.so
| arm-oe-linux-gnueabi-ld: cannot find libgcc.a: No such file or directory
| make[2]: *** [usr/klibc/libc.so] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [all] Error 2
| make: *** [klibc] Error 2
| ERROR: oe_runmake failed

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-11-17 10:00:45 +00:00
Andrea Adami
8d2e573089 linux-yocto-tiny-kexecboot_3.17: initial commit based on 3.17-rc6
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-10-05 22:48:09 +01:00
Andrea Adami
0a67b9f3fd klibc: klcc: consider --sysroot option and override gcc-cross encoded sysroot
For the recipes built with klcc-cross it is necessary to
pass --sysroot otherwise we default to the one encoded in gcc-cross which
actually is the 'first one' built.
The issue was revealed when building for armv4 after having built for armv5te:
the produced binaries did contain Illegal Instruction (bx lr).

Use ${TOOLCHAIN_OPTIONS} variable to specify --sysroot=${STAGING_DIR_TARGET}

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:54 +02:00
Koen Kooi
1513d0e31f dracut: update to 038
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-28 19:55:39 +02:00
Koen Kooi
06fd935e4f dracut: add 'getopt' to RDEPENDS
This drags in full util-linux, a future TODO is to split up util-linux
completely in OE-core.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-28 19:55:39 +02:00
Andrea Adami
896aab8ca1 kexecboot: remove trailing slash in do_install
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-08-13 22:20:15 +01:00
Andrea Adami
d357cc7df0 kexec_tools_klibc_2.0.2: update x86_vfscanf.patch
The POSIX standard
http://pubs.opengroup.org/onlinepubs/009695399/functions/fgets.html
states:

If the stream is at end-of-file ... fgets() shall return a null pointer...
If a read error occurs ... fgets() shall return a null pointer...

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10 16:07:18 +02:00
Andrea Adami
60e1d5463f klibc-utils: add explicit dependency on klibc for the shared utils
The two recipes for klibc-utils (static and shared) have been split-off
from a single original recipe for more granular packaging and share the
same SRC_URI set in the .inc file so there is an implicit dependency.
Make it explicit for the utils needing the shared klibc lib at runtime.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-07-28 12:13:11 +01:00
Andrea Adami
0e430800cc linux-yocto-tiny-kexecboot: do not exec do_package_qa task
The task was added with commit d31f75a72cb2322f753d945da86d5f3287eef06b
"insane: Split do_package_qa into a separate task (from do_package)"
and we avoid it because the recipe does not create packages.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-07-28 12:13:11 +01:00
Andrea Adami
2f85f5a948 klibc: upgrade to released 2.0.4
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-24 15:32:55 +02:00
Robert Yang
6f0f27c5fe meta-initramfs: fix no newline at end of file
Add a '\n' to the last line of the file to fix:

No newline at end of file

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:57:27 +02:00
Andrea Adami
55b09e522c klcc_cross: move in target sysroot as crossscript
Klcc-cross is properly a crosscript so avoid to inherit cross.bbclass and stage
it in target sysroot under usr/bin/crossscripts.
Minor adjustment is necessary for INSTALLDIR.

Finally some magic mangling is applied fixing the paths of sstate so that it is
invalidated in case of subsequent builds targeting machines with the same
arch and in case of builds sharing the sstate cache.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-05-04 11:41:12 +01:00
Andrea Adami
7e2c29fca8 kexecboot: fix build when S != B
* temporarily inherit autotools-brokensep
* proper fix sent upstream

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-05-04 11:41:11 +01:00
Andrea Adami
477ccd867c klibc: restylize a bit the recipes
No runtime changes.
Reorder and fix some typos in the comments.
Remove unneeded empty do_install from utils.
Fix bogus PACKAGES_${PN} = "${PN}".

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-04-06 13:36:20 +01:00
Andrea Adami
f24daddfa0 linux-yocto-tiny-kexecboot: remove ${PR} remnant
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-04-06 13:31:33 +01:00
Andrea Adami
56dde5189f klcc-cross: force rebuild for each MACHINE of the same arch
In case of subsequent builds for machines belonging to the same arch
we have to rebuild the klcc-cross wrapper because it is harcoding
the path to the headers in machine sysroot.
This hack is necessary to avoid to mark the klibc infrastructure as
machine-specific.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-02-28 23:36:59 +00:00
Koen Kooi
90045a49e5 dracut: update to 036
* Patch was applied upstream, delete it
* Add coreutils dep to stop scripts from erroring out
* bump PE to since 'git' > '036'

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-19 13:12:36 +00:00
Koen Kooi
2397f51915 klibc: ensure package strip logic stays the same after oe-core package.bbclass changes
See http://patches.openembedded.org/patch/65311/

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-02-17 15:36:43 +00:00
Andrea Adami
dd1ca18fb9 klibc.inc: remove ${PR} leftover
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2014-02-16 21:34:49 +00:00
Koen Kooi
039b0190d9 dracut: add git version
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22 12:22:38 +01:00
Martin Jansa
6daf75e4e9 Update after toplevel LICENSE file checksum change
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-04 08:47:18 +01:00
Andrea Adami
d4ba54f15f klibc: upgrade from 2.0.2 to release 2.0.3
Klibc now supports aarch64 / arm64
While there, remove PR/INC_PR from the recipes

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-12-17 20:53:23 +00:00
Koen Kooi
5782b2d27b klibc.inc: add mapping for 64-bit ARM builds
Klibc is following the kernel naming ('arm64') instead of the toolchain naming ('aarch64').

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2013-12-17 20:53:14 +00:00
Martin Jansa
4d62e7f575 recipes: Remove PR = r0 from all recipes
* Remove all PR = "r0" from all .bb files in meta-oe repo. This was done
  with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i

* We've switching to the PR server, PR bumps are no longer needed and
  this saves people either accidentally bumping them or forgetting to
  remove the lines (r0 is the default anyway).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-01 15:33:16 +01:00
Andrea Adami
bee7d3c80d klibc.bbclass: add a note about default of building -static
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-10-11 10:11:28 +01:00
Andrea Adami
18e00acea1 kexecboot_0.6: fix LIC_FILES_CHKSUM for kexecboot-klibc
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-10-11 00:31:00 +01:00
Andrea Adami
9b3e681685 kexecboot: update to v0.6 and restylize
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-10-11 00:30:57 +01:00
Andrea Adami
e25a3b60e4 kexecboot_cfg: process with oe-stylize.py
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-10-11 00:27:39 +01:00
Andrea Adami
0eaa988888 kexecboot.inc: merge back in the main recipe
and process with oe-stylize.py

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-10-11 00:27:39 +01:00
Andrea Adami
8aafddccb0 kexecboot: add BBCLASSEXTEND for the klibc static flavor
remove kexecboot-klibc recipe
bump PV to local 0.5.9.1
remove PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-30 21:53:21 +01:00
Andrea Adami
089ac5e4e4 kexecboot(-klibc): upgrade to last upstream commit
id: 0bcc14671aa2d84ec20f260582aca36bb901ccf1
Changelog:
 minor headers fixes
 fix fb offset computations
 replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-30 21:53:14 +01:00
Andrea Adami
832aa22f1e klcc-cross: disable more unused tasks
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-30 21:52:24 +01:00
Andrea Adami
ed528c65e7 linux-yocto-tiny-kexecboot: replace empty tasks with explicit [noexec]=1
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-30 21:51:26 +01:00
Andrea Adami
0837e61f77 linux-yocto-tiny-kexecboot: exclude all packaging tasks
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-18 23:45:54 +01:00
Andrea Adami
d1ab8bddbf linux-yocto-tiny-kexecboot: move from 3.8 to 3.10
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-18 23:43:06 +01:00