52 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
5e593fa0c7 kexecboot_cfg: fix against unwanted appendings to boot.cfg
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-09-18 23:43:06 +01:00
Jackie Huang
b79176adb3 remove the unnecessary protocol parameters
It's not necessary to specify the protocol parameter when it's the
default protocol for the fetcher, e.g. the default protocol for
git fetcher it git, "protocol=git" isn't needed.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-03 16:59:13 +02:00
Andrea Adami
9d53e8111d initramfs-kexecboot-image: remove obsolete IMAGE_ vars
* above variables are not in oe-core anymore

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-07-09 11:28:24 +01:00
Andrea Adami
1097e7ea19 kexecboot(-klibc): add SUMMARY, DESCRIPTION, HOMEPAGE
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:14 +01:00
Andrea Adami
4580b65320 kexecboot_cfg: add SUMMARY and extend DESCRIPTION
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:14 +01:00
Andrea Adami
eb426661f4 initramfs-kexecboot(-klibc)-image: provide SUMMARY and DESCRIPTION
* plus some minor editing of comments

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-06-18 22:11:14 +01:00
Andrea Adami
c824cb3a7e kexecboot(-klibc): remove runtime dependency on kexec(-klibc)
* the binary itself can run without kexec (in host-debug mode) so
* specify in the cpio IMAGE which packages are needed at runtime

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-05-13 09:50:24 +01:00
Andrea Adami
5c49f8c7c0 initramfs-kexecboot(-klibc)-image: Drop legacy export of IMAGE_BASENAME
* We used to export this in the days an external script handled the image
* generation. This is no longer the case and hence we no longer need
* this export.
* As committed in oe-core with 919613c0e75362ee0eace99b51cc77d34a05372f

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2013-05-13 09:50:24 +01:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Andrea Adami
cb4ac55a33 initramfs-kexecboot-image: update IMAGE_INSTALL after mtd-utils split
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-19 01:48:45 +01:00
Andrea Adami
03d3a7f75d kexecboot(-klibc): upgrade to b667914
* now including boot from ubifs
* fixed extra menu redrawing
* 24bpp fixes
* first round of big-endian fixes

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-14 13:04:26 +01:00
Andrea Adami
fdfe29f7fc initramfs-kexecboot-image: zap LDCONFIGDEPEND
* Override the settings of image.bbclass:
* we don't need ld.so.cache in our minimal image.
* While there, remove now unused ONLINE_PACKAGE_MANAGEMENT var.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-24 11:06:17 +02:00
Andrea Adami
2c89991a1a initramfs-kexecboot-image: fix dependency chain was: ['ubiattach']
* unfortunately there is no package-split for the mtd-utils recipe
* to have ubiattach we need to install the full package
* (or use ubiattach-klibc)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-16 15:17:56 +02:00
Andrea Adami
9af2bd13c6 kexecboot_git: bump PR after recipe update.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-11 15:04:01 +02:00
Andrea Adami
02ebf5f7e3 kexecboot: upgrade and move to git tag 0daa77
* new git repository on github
* new LABEL separator
* text-ui fallback
* install /sys for upcoming ubifs detection
* menu-bug fix
* minor fixes

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-20 13:37:31 +02:00
Andrea Adami
1e26b20707 kexecboot-cfg: update and use new LABEL separator
* previously the sections were separated by KERNEL string

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-20 13:37:30 +02:00
Andrea Adami
4683b70b14 initramfs-kexecboot images: install ubiattach for boot from UBI volumes
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-20 13:37:30 +02:00
Andrea Adami
30122ec63d kexecboot_cfg: add missing default OE icon.xpm
* while there do minor cleanings wrt DISTRO vars:
* remove ${@base_conditional('DISTRO_TYPE',...
* fix label of second kernel stanza
* bump PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:32 +01:00