summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* dracut: fix host-user-contaminatedRobert Yang2015-12-201-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> Signed-off-by: Armin Kuster <akuster808@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>
* 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>
* 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>
* 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>
* klibc: klcc: consider --sysroot option and override gcc-cross encoded sysrootAndrea Adami2014-09-262-0/+15
| | | | | | | | | | | | | 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>
* 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>
* 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>
* 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>
* 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>
* klcc-cross: force rebuild for each MACHINE of the same archAndrea Adami2014-02-281-0/+6
| | | | | | | | | | 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>
* dracut: update to 036Koen Kooi2014-02-192-44/+8
| | | | | | | | * 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>
* klibc: ensure package strip logic stays the same after oe-core ↵Koen Kooi2014-02-171-0/+1
| | | | | | | | package.bbclass changes See http://patches.openembedded.org/patch/65311/ Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
* klibc.inc: remove ${PR} leftoverAndrea Adami2014-02-161-1/+1
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* dracut: add git versionKoen Kooi2014-01-222-0/+77
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc: upgrade from 2.0.2 to release 2.0.3Andrea Adami2013-12-1710-11/+1
| | | | | | | Klibc now supports aarch64 / arm64 While there, remove PR/INC_PR from the recipes Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc.inc: add mapping for 64-bit ARM buildsKoen Kooi2013-12-171-0/+1
| | | | | | Klibc is following the kernel naming ('arm64') instead of the toolchain naming ('aarch64'). Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
* recipes: Remove PR = r0 from all recipesMartin Jansa2013-11-011-1/+0
| | | | | | | | | | | * 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>
* klcc-cross: disable more unused tasksAndrea Adami2013-09-301-4/+11
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* remove the unnecessary protocol parametersJackie Huang2013-09-032-2/+2
| | | | | | | | | 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>
* klcc-cross_2.0.2: refactor recipe to respect exec_prefixAndrea Adami2013-09-032-31/+4
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc_2.0.2: refactor recipe to respect exec_prefixAndrea Adami2013-09-035-29/+15
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc: add SUMMARYAndrea Adami2013-06-181-0/+1
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klcc-cross: add SUMMARYAndrea Adami2013-06-181-0/+1
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc(-static)-utils: add SUMMARYAndrea Adami2013-06-182-0/+2
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* ubi-utils-klibc: add SUMMARY and DESCRIPTIONAndrea Adami2013-06-181-1/+2
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* klibc: fix KLIBCARCH for x86-64, powerpc and powerpc64Andrea Adami2013-05-131-0/+3
| | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-157-72/+68
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* klibc_2.0.2: apply FIX_V4BX patch for armv4 targets onlyAndrea Adami2013-01-302-3/+24
| | | | | | | | | * linker fix is needed to avoid 'bx, lr' instruction on armv4 * patch is applied only for armv4 for eabi builds * http://wiki.debian.org/ArmEabiPort#Choice_of_minimum_CPU Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc: upgrade from 2.0.1 to 2.0.2Andrea Adami2012-11-1611-6/+5
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* klibc: refactor runtime deps for shared utilsAndrea Adami2012-11-162-40/+5
| | | | | | | rebased after d.expand / bb.data.expand change Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* Replace bb.data.* with d.*Paul Eggleton2012-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Used sed expression given here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html Plus an additional expression for .expand. Full expression is: sed \ -e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Some minor correction in systemd.bbclass was needed for some expressions that didn't quite match the regex in the desired way; additionally a few instances were manually changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* PACKAGES_DYNAMIC: use regexp not globMartin Jansa2012-10-191-1/+1
| | | | | | | | | | * bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) * use += instead of = in most cases to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* klibc: upgrade from 2.0 to 2.0.1Andrea Adami2012-08-1616-2425/+3
| | | | | | | * remove unused patches legacy of oe-classic Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* klibc: fix runtime dependencies for shared utilsAndrea Adami2012-08-162-3/+43
| | | | | | | | | * and remove bogus dependencies for the static utils * introduced by do_split_packages * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* recipes: convert tabs to 4 spaces in populate_packagesMartin Jansa2012-07-191-4/+4
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* ubi-utils-klibc: update to patched v. 1.5.0Andrea Adami2012-07-112-3/+20
| | | | | | | | | | | | * Fix build failing because of UBI_IOCSETPROP -> UBI_IOCSETVOLPROP renaming. * This patch follows the one in oe-core for mtd-utils_1.5.0 * which was staging an older version of the ubi-user.h header. * We need to match the renaming done in kernel 3.0 * http://lists.infradead.org/pipermail/linux-mtd/2011-March/ * 034419.html Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* klibc: release klibc 2.0Andrea Adami2012-06-0515-2/+2
| | | | | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* ubi-utils-klibc: more patch-cleaningsAndrea Adami2012-06-054-79/+16
| | | | | | | | * remove unnecessary patches after klibc upgrades * bump PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* klibc: update to git tag 49419d2df2018fff5ae6250cf55b16fa65bdc490Andrea Adami2012-06-051-2/+2
| | | | | | | | * still pre-2.0 * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* ubi-utils-klibc: clean ubiformat patchAndrea Adami2012-05-242-14/+4
| | | | | | | | | * fixes have been committed in klibc for stdio and the additional * fflush is not necessary anymore (runtime tested pressing CTRL+D) * bump PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* klibc: upgrade to git tag c2c7f19Andrea Adami2012-05-241-2/+2
| | | | | | | | | * include last patches of may 2012 * tracking upstream wrt forthcoming 2.0 release * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* klibc: upgrade to latest git (pre 2.0)Andrea Adami2012-05-1416-61/+5
| | | | | | | | | | | | * remove cherry-picked patch applied in master * remove comments in klcc recipe * remove slashes from paths in klibc recipe * revert involontary oe_runmake install changes * reset INC_PR * v2 removes obolete cleanings wrt headers_install Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>