summaryrefslogtreecommitdiffstats
path: root/meta-initramfs
Commit message (Collapse)AuthorAgeFilesLines
* initramfs-kexecboot-klibc-image: Skip for nios2Khem Raj2016-05-271-0/+6
| | | | | | | nios2 does not support klibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-initramfs: use bb.utils.contains() instead of base_contains()Ross Burton2016-04-281-1/+1
| | | | | | | | 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>
* initramfs-{debug,kexecboot}-image: zero out the rootfs_extra_space in ↵Stephano Cetola2016-04-282-0/+3
| | | | | | | | | | 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>
* linux-yocto-tiny-kexecboot: fix build error (cpio not found)Andrea Adami2016-03-041-1/+1
| | | | | | | | | | | 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>
* kexecboot: enable text UI in default EXTRA_OECONF.Andrea Adami2016-03-041-1/+1
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* kexecboot: sync fix for gcc5 with upstreamAndrea Adami2016-03-041-3/+4
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-yocto-tiny-kexecboot: revert Yocto specific console checkAndrea Adami2016-03-042-0/+49
| | | | | | | | 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>
* linux-yocto-tiny-kexecboot: disable do_shared_workdir taskAndrea Adami2016-02-251-0/+1
| | | | | | | 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>
* klibc: fix sh deps ver (PR is needed after PV)Andrea Adami2016-02-251-1/+1
| | | | | | | | | | | | | | 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>
* klibc_2.0.4: Silence Warning about klibc-xxx-so already strippedAndrea Adami2016-02-251-0/+1
| | | | | | | | | | | 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>
* klibc_2.0.4: Silence QA Error about non-symlink so [dev-elf]Andrea Adami2016-02-251-0/+1
| | | | | | | | | | | | | | | | 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>
* klibc_2.0.4: update to 4d1997d - Fix build for qemux86Andrea Adami2016-02-252-2/+2
| | | | | | | | | | | 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>
* linux-yocto-tiny-kexecboot: upgrade to 4.4Andrea Adami2016-02-251-0/+0
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dracut: use bash-completion.bbclassGeorge McCollister2016-02-151-5/+2
| | | | | | | 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>
* dracut: 043 -> 044Dai Caiyun2016-01-271-4/+4
| | | | | | | 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>
* linux-yocto-tiny-kexecboot: upgrade to 4.1Martin Jansa2016-01-041-0/+0
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* kexec-tools-klibc: add explicit SRC_URIAndrea Adami2016-01-041-0/+2
| | | | | | | | 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>
* dracut: fix host-user-contaminatedRobert Yang2015-12-181-0/+3
| | | | | | | | | | | | 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>
* dracut: exclude kernel-modules dependency with SIGGEN_EXCLUDE_SAFE_RECIPE_DEPSMartin Jansa2015-11-161-0/+4
| | | | | | | | | | | | | | | | * 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>
* dracut: RDEPEND on util-linuxJoe Slater2015-10-231-1/+1
| | | | | | | | 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>
* kexecboot_0.6: fix build with gcc 5Andrea Adami2015-10-132-0/+36
| | | | | | | | | | | | | | 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>
* dracut: install modules to /usr/libWenzong Fan2015-09-231-2/+7
| | | | | | | | | | | | | | | 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>
* dracut: RDEPEND on systemd optionallyRobert Yang2015-09-231-5/+6
| | | | | | | | 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>
* dracut: upgrade from 038 to 043Kang Kai2015-07-301-3/+3
| | | | | Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc.inc: use x86 over-ride instead of i486/i586/i686/pentiumAndre McCurdy2015-06-081-4/+0
| | | | | | | | 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>
* kexecboot-cfg: fix for real ('S') doesn't exist warningAndrea Adami2015-05-071-4/+1
| | | | | | | Remove unneeded do_configure_prepend and set S = "${WORKDIR}" v2 removes commented lines Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* kexecboot-cfg: maintenance update to v. 0.2Andrea Adami2015-04-171-1/+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>
* initramfs-debug-image: tiny debugging initramfs imageDmitry Eremin-Solenikov2015-04-131-0/+21
| | | | | | | 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>
* initramfs-debug: add simple init script for debuggingDmitry Eremin-Solenikov2015-04-132-0/+45
| | | | | | | | 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>
* meta-initramfs: add "core" to LAYERDEPENDS in layer.confChen Qi2015-04-131-0/+1
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-yocto-tiny-kexecboot: remove 3.10, 3.17 and add 3.19Martin Jansa2015-03-022-27/+1
| | | | | | * 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>
* dracut: recipe cleanupDan McGregor2015-02-121-6/+19
| | | | | | | | | | 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>
* kexec-tools-klibc_2.0.2: backport patch to fix build with separate B and SAndrea Adami2015-01-282-0/+55
| | | | | | | | | 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>
* kexecboot: apply OE specific fixes (pending upstream)Andrea Adami2014-12-095-1/+334
| | | | | | | | | | | | | 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>
* ubi-utils-klibc_1.5.1: initial commit of v. 1.5.1Andrea Adami2014-11-177-0/+470
| | | | | | NOTE: we track master upstream so we are some commits ahead v 1.5.1. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* ubi-utils-klibc_1.5.0: remove recipe and patchesAndrea Adami2014-11-176-177/+0
| | | | | | Next patch replaces with v. 1.5.1 and new/rebased patchset Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc: define KLIBCLIBGCCAndrea Adami2014-11-171-0/+1
| | | | | | | | | | | | | | | | 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>
* linux-yocto-tiny-kexecboot_3.17: initial commit based on 3.17-rc6Andrea Adami2014-10-051-0/+26
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc: klcc: consider --sysroot option and override gcc-cross encoded sysrootAndrea Adami2014-09-263-2/+17
| | | | | | | | | | | | | 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>
* dracut: update to 038Koen Kooi2014-08-281-3/+3
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dracut: add 'getopt' to RDEPENDSKoen Kooi2014-08-281-1/+2
| | | | | | | | 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>
* kexecboot: remove trailing slash in do_installAndrea Adami2014-08-131-1/+1
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* kexec_tools_klibc_2.0.2: update x86_vfscanf.patchAndrea Adami2014-08-101-1/+1
| | | | | | | | | | | | 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>
* klibc-utils: add explicit dependency on klibc for the shared utilsAndrea Adami2014-07-281-0/+2
| | | | | | | | | 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>
* linux-yocto-tiny-kexecboot: do not exec do_package_qa taskAndrea Adami2014-07-281-0/+1
| | | | | | | | 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>
* klibc: upgrade to released 2.0.4Andrea Adami2014-07-2410-1/+1
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-initramfs: fix no newline at end of fileRobert Yang2014-07-151-1/+1
| | | | | | | | | 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>
* klcc_cross: move in target sysroot as crossscriptAndrea Adami2014-05-041-17/+23
| | | | | | | | | | | | | 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>
* kexecboot: fix build when S != BAndrea Adami2014-05-041-1/+1
| | | | | | | * temporarily inherit autotools-brokensep * proper fix sent upstream Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc: restylize a bit the recipesAndrea Adami2014-04-066-72/+51
| | | | | | | | | 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>