summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* sysklogd: various fixes so it starts/stops cleanlyJoshua Lock2012-02-024-9/+11
| | | | | | | | | | | | | | | | | This patch fixes several issues with the sysklogd recipe: o Errors at start due to non-existent /var/log/news/ - every other log file is created in /var/log, not a sub-directory. Do the same for news logs. o klogd would not be stopped due to pidfile recycling, give klogd its own pidfile o preinstalls failed at rootfs creation time by trying to access the host root filesystem rather than a path relative to $D. Update the preinst to test for $D and do the right thing. (From OE-Core rev: 111d1b8bb2b89e06091335fff6a917bbd9a1f66e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pciutils: fix configure script for dashJoshua Lock2012-02-021-1/+1
| | | | | | | | | | configure.patch was missing a closing quote in a sed expression which causes script execution to error on less forgiving shells such as dash. (From OE-Core rev: ad72484a2783afa948966263629006558fbde476) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: improve udev-cache robustnessOtavio Salvador2012-02-025-8/+53
| | | | | | | | | | | | | * allow udev-cache to be disabled at runtime (using /etc/default/udev-cache); * make cache invalidated if kernel, bootparams or device list changes; (From OE-Core rev: 22b72b23653736436f10d394de36201c32630d5d) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl-toolchain: avoid the hardcoded version/prefixChristopher Larson2012-02-022-24/+21
| | | | | | | (From OE-Core rev: 4346516a6a719355d2793af289f93e14d3dedd0c) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl-toolchain: fixes for metadata changesChristopher Larson2012-02-023-9/+18
| | | | | | | | | | | | | | | | | These allow the recipe to build again: - add compilerlibs, g++, libgcc to the provides - add linux-libc-headers-dev to the packages - in libc-package, only sed the ldd.bash.in file if it exists, as the external toolchain is using that class as well - shift the inherit location of the libc classes, as they were overriding the recipe's do_install - use ?= for EXTERNAL_TOOLCHAIN, so the user can set it (From OE-Core rev: 8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package: fix typo in LOCALETREESRC default valueChristopher Larson2012-02-021-1/+1
| | | | | | | (From OE-Core rev: 73ff2f404392a6942ec89af15ec7f52fe2e629a6) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-csl-toolchain: fix critical PATH manipulation bugChristopher Larson2012-02-021-1/+1
| | | | | | | (From OE-Core rev: 9ccf5400d4d22f6fb90f5d61ad89dd0ac6273e43) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package bbclass: allow per package PRIVATE_LIBSKoen Kooi2012-02-011-1/+1
| | | | | | | | | | If a recipe packages multiple versions of shlib (e.g. powervr drivers) we only want the shlib code to pickup $PN, not $PN-foo subpackages. This keeps backward compatibility with the global PRIVATE_LIBS usage if no per package PRIVATE_LIBS are set for a given package. In other words: this doesn't break the firefox recipe. (From OE-Core rev: ce46dbddef40ae3eef7238ac07438b15bd09e156) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix the issue that adt-installer tar ball is not regenerated if sstate is ↵Jessica Zhang2012-02-012-8/+7
| | | | | | | | | on, and other minor bug fixes (From OE-Core rev: 61da952fdc2996c27c56234c36116a69a23a378d) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKEScott Garman2012-02-012-49/+2
| | | | | | | | | | | Koen Kooi suggested that the quotefix patch was not needed, and the build of the recipe should now be multithread-safe. My testing has confirmed this. (From OE-Core rev: 731700ec390d680ee4d277312755bea0ab4aeeec) Signed-off-by: Scott Garman <sgarman@zenlinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig: Ensure pkgconfig RDEPENDS are trackedRichard Purdie2012-02-011-0/+5
| | | | | | | | | | | | | Currently, pkgconfig dependencies get added to -dev packages which install pc files however nothing in the system makes bitbake aware of these dependencies so images can fail with pkgconfig being missing. This change explictly adds in the pkgconfig RDEPENDS to the -dev packages and hence makes bitbake aware of the dependency. (From OE-Core rev: 23e773eb8b70a5e36270b2e6415512b7dc4f1e05) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: convert to git repo at git.yoctoproject.orgSaul Wold2012-02-011-5/+5
| | | | | | | | | | | | The svn.openmoko.org site seems to have become unstable, make a copy and convert to git at git.yoctoproject.org to preserve history [YOCTO #1867] (From OE-Core rev: b44717c29c4f50917570039adf896680d24bb216) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootimg: Do not force FAT32 on all images, it violates the FAT specificationDarren Hart2012-02-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #1940] do_bootimg was performing the FAT overhead calculations assuming FAT32 and then forcing the use of FAT32 with "-F 32" to mkdosfs. The FAT specification is clear on cluster count being the determining factor for FAT size (even if the fs string is set to FAT32, go figure). Syslinux follows this spec, and rightly so, resulting in a failure on core-image-minimal: syslinux: zero FAT sectors (FAT12/16) Drop the "-F 32" from mkdosfs to allow it to select the appropriate FAT size based on cluster count. Leave the FAT overhead calculation in FAT32. This will result in a little extra padding for really small images, but not enough extra to justify recalculating for FAT12 and FAT16. Tested with a core-image-minimal build for atom-pc. do_bootimg completed successfully, and the resulting image was FAT16. (From OE-Core rev: 634137704dd1a205e377a1131ef708f1c981f6b2) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk: remove runtime_script_required usageMartin Jansa2012-02-011-1/+1
| | | | | | | | | | | | * it was introduced in 87780fc09b066525e47d0f50ee5497db54d304cd * then partially removed in 2feba313c991170747381c7cf821a45c2cd04632 * so remove this use too as runtime_script_required is not initialized anymore and results in run.do_rootfs.6328: line 235: [: -eq: unary operator expected (From OE-Core rev: 6d3eac57bdba8e2582c210a2f82a3a4546f68581) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime: fix override from poky-lsb to linuxstdbaseSaul Wold2012-02-011-1/+1
| | | | | | | (From OE-Core rev: 1f5de4b36ad5853e489e47078c830f12a1c71ce9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-providers: add kbd as PREFERRED_PROVIDER for console-toolsSaul Wold2012-02-011-1/+1
| | | | | | | | | kbd is used a primary provider for console-tools (From OE-Core rev: 9a88125c546e6bcbec683eb736e232236c38a4f9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-common: Drop elfutils from DEPENDSKhem Raj2012-02-011-3/+3
| | | | | | | (From OE-Core rev: 8330205eeb605354c139605618255940e3b312d4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update to v3.0.18 + featuresBruce Ashfield2012-02-012-14/+13
| | | | | | | | | | | | | | | | | | The -stable team released v3.0.18, so it becomes the new base for the linux-yocto_3.0 recipe. Along with the 3.0.18 update this kernel refresh brings in the following changes: 59314a3 meta/beagleboard: Using CONFIG_PANEL_GENERIC_DPI=y b168325 crownbay: use emgd-1.10 281b80f kver: bumping to v3.0.18 0d5d0dd common-pc*: add SMP and virtio (From OE-Core rev: b58d330a88a64ac8ff82362cc90cc817f38b82cd) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: add kernel 3.2.2 supportBruce Ashfield2012-02-012-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | Adding initial support for the linux 3.2 kernel. Although the branching and naming has changed slightly, the same BSPs and features exist in this tree as have existed in previous linux-yocto versions. Notable features of this update are: - streamlined branch naming - configuration and functionality split in the standard kernel - creation of the 'tiny' kernel type branch - audited kernel configurations with optional features documented in the meta branch - feature and BSP refreshes - 3.2-rt support refresh - qemu ppc graphics support Build and boot testing has been performed on all emulated targets (sato and core). (From OE-Core rev: 72264df07d7e57ba8232aae90b76ab220fdb2d22) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: import config audit and branch manipulation updatesBruce Ashfield2012-02-011-1/+1
| | | | | | | | | | | | | | | | | Updating the kern-tools SRCREV to import the following changes: a7a9930 kgit-meta/scc: allow multi-line defines e3442c6 kern-tools: add required and optional kernel configuration processing b56b67b configme: extract redefinition and mismatch information 6118eaf kern-tools: remove branchname assumptions These are required to support the kernel configuration policy changes implemented in the yocto 3.2 kernel repository. (From OE-Core rev: 5a3759f4b23361dd2c1968ce51e5c3695a661972) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata_2011n: provide pkg_postinst and timezone defaultsAndrea Adami2012-02-011-4/+58
| | | | | | | | | | | | | | * Introduce DEFAULT_TIMEZONE variable ('Universal', present in base package) * and add /etc/timezone during do_install. * While there, fix hardcoded references to $exec_prefix (/usr). * Add the pkg_postinst script (adapted from Gentoo). * Create /etc/localtime during postinst. * Bump PR (From OE-Core rev: 5304ce429f2c05857f04fbe3b47a067983ca96be) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: replace 'Poky' with 'OE-core'Koen Kooi2012-02-015-9/+9
| | | | | | | (From OE-Core rev: 1fdcd32520a05465b0d54c062f28bac9cdf74a20) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-utils: make alsa-utils-alsactl recommend alsa-statesKoen Kooi2012-02-011-1/+3
| | | | | | | | | This will drag in the asound.state from the BSP that alsactl uses. (From OE-Core rev: 6a1c75971d35b6a8272741a4f3e25ef46f7ce305) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-state: fix RDEPENDS assignmentKoen Kooi2012-02-011-3/+2
| | | | | | | (From OE-Core rev: 358ad279d525ca3c806cbb6ceadb2d6170468d80) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-tools-nativesdk-4.8.0: fix buildEric Bénard2012-02-014-4/+27
| | | | | | | | | | the build is actually failing because host g++ and ld are used to compile and link (From OE-Core rev: 4ccae37db1aa77a1d15098c3720ea6e2d383fbdc) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* genext2fs: fix inode computationSaul Wold2012-02-012-1/+38
| | | | | | | | | | | | | This patch fixes a problem with the computation of inodes based on the bytes_per_inode options, for a larger FS (> 2G) the inode count would go negative and a smaller default count would be used, this would cause the FS to run out of inodes. (From OE-Core rev: df5e886be059da35fb69710c79227cc768f1c58e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: refactor cpio images generation.Andrea Adami2012-02-011-4/+17
| | | | | | | | | | | | * Add common check for the presence of an /init * symlink, being 'touch' would fail with it * and 'touch -h' is not yet generally supported * (depends on distro on build host). (From OE-Core rev: ab282056148f3152f96b6990e09270ae5405da9d) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: Fix missing quoteRichard Purdie2012-01-271-1/+1
| | | | | | (From OE-Core rev: d7b13cd42ab8d5f44f97e119b73ec2e363677d26) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd: Ensure dependencies are only added for target recipes, not native ↵Richard Purdie2012-01-271-1/+4
| | | | | | | | or nativesdk (From OE-Core rev: 63d006b2d3fc2223c74f81b91f70f5c841108c80) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields: fix the typos in the field of maintainer.Shane Wang2012-01-271-7/+7
| | | | | | | (From OE-Core rev: fba0459da7f274ae284d36b7fdbf2f9d10a52610) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool 2.4.2: fix missing quote in FILES_libtldtlKoen Kooi2012-01-271-2/+2
| | | | | | | | | | | | | | The missing quote prohibits OE from packaging it correctly, leading to: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome: | * libltdl7 (>= 2.4.2) * libltdl7 (>= 2.4.2) * libltdl7 (>= 2.4.2) * libltdl7 (>= 2.4.2) * libltdl7 (>= 2.4.2) * libltdl7 (>= 2.4.2) * libltdl7 (>= 2.4.2) * for incremental builds and binary feeds. (From OE-Core rev: ed6968b731e8ebc161fa59e18a9284bddf86c61b) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: Add explict setscene dependencies to ensure correct ↵Richard Purdie2012-01-271-0/+2
| | | | | | | | ordering of setscene tasks (From OE-Core rev: ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: Ensure pseudo can load in the pseudo unloaded caseRichard Purdie2012-01-271-5/+11
| | | | | | | | | | | | In the do_populate_sysroot_setscene case, pseudo has been unloaded and we need to reload it. This code change ensures all the pseudo options are specified so pseudo loads correctly. It also improves some of the comments so all the different contexts are listed. (From OE-Core rev: 76345cd61c9523ce6755ef8e923dec37800b7a98) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: Execute user addition code before do_package_setscene, not ↵Richard Purdie2012-01-271-2/+2
| | | | | | | | | | | | after do_populate_sysroot_setscene The user addition needs to happen before the do_package files are extracted by do_package_setscene since those are the ones we need to preserve the file ownership information for. This patch ensures this happens. (From OE-Core rev: 34282c1b996ef008384af456735692d66ddabc13) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Add support for sstate preinst functionsRichard Purdie2012-01-271-0/+5
| | | | | | (From OE-Core rev: f2b0a71b3100a0d2ceb80300d7f3823a31eb907a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow-sysroot: Simplfy login.defs installationRichard Purdie2012-01-261-13/+3
| | | | | | | | | | | | | | | Currently if shadow-sysroot is installed from a sstate package, shadow_sysroot_sstate_postinst is looking in ${D} for login.defs which isn't a valid for an install from sstate. The easiest and most correct way to fix this is to override the standard sysroot_stage_all function to install the files correctly and then sstate installs work as expected. This simplifies the code as an added bonus. (From OE-Core rev: 6437e7315a0f2e077f9d69e4b65b48280ea8edbc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcc: Add INSANE_SKIP of staticdev for libgcc-dev and libgcov-devSaul Wold2012-01-261-0/+3
| | | | | | | | | | Skip the staticdev QA test since the static archives belong with the -dev. (From OE-Core rev: 3de810a7f745b253d4b63eea353a31514d64a2e3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Add test for static .a libraries in non-staticdev packagesSaul Wold2012-01-261-1/+14
| | | | | | | | | | | | | | | | | This check verifies that non staticdev and non pic packages do not have static libraries in them. There are a few exceptions for the libgcc-dev and libgcov-dev packages which are whitelisted, also the *_nonshared.a need to be part of their respective -dev packages. This is currently a warning to work out any other issues in the upper layers but will be moved to ERROR at somepoint in the future. [YOCTO #663] (From OE-Core rev: 4f31eb53fb0b1bfdf8be05356e57df607a6e82a9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pm-utils: Add grep to RDEPENDS to avoid command failures.Marc Ferland2012-01-261-2/+3
| | | | | | | | | | | Second version of the patch that adds grep to RDEPENDS. Fixes [YOCTO #1887] (From OE-Core rev: 6d4ff87b935d61aae63260262c0f48fe7e9d2a48) Signed-off-by: Marc Ferland <ferlandm@sonatest.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-tools: don't build perf when GPLv3 in INCOMPATIBLE_LICENSEJoshua Lock2012-01-263-9/+20
| | | | | | | | | | | | | | | | | As binutils is required by perf to build and is GPLv3 licensed adding GPLv3 to INCOMPATIBLE_LICENSE will cause linux-yocto to be skipped. Long term we should look at moving perf to a separate recipe but as a short term solution this patch will ensure that when GPLv3 is in INCOMPATIBLE_LICENSE perf is not built and it's dependencies are not added to build. Fixes [YOCTO #1879] (From OE-Core rev: ce61f9031b54067bffa304dab90c31278631dcdf) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Update to latest RCKhem Raj2012-01-259-132/+194
| | | | | | | | | Document the patches (From OE-Core rev: 746e8ffa66850bf9050cd6baf94eb76c492eb535) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.15: Add upstream status for x86_fenv.patchKhem Raj2012-01-251-0/+7
| | | | | | | (From OE-Core rev: 64a8f93cb6a7cd86f966b8f53227246deebce3a0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Dont package all .a in uclibc-devKhem Raj2012-01-251-2/+1
| | | | | | | | | | only *_nonshared.a are to be packaged in uclibc-dev rest can go into uclibc-staticdev (From OE-Core rev: aa799ba49833bdf6acbcd4b34f0605050c938175) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Change SRC_URI to a fetchable locationKhem Raj2012-01-251-1/+1
| | | | | | | (From OE-Core rev: 140ca6f3e690f34940fd60809f2d03fabb27105d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Update recipe and fix building on uclibcKhem Raj2012-01-252-5/+83
| | | | | | | (From OE-Core rev: 4e8644584aa8826e9cbf9ff0dc23b8c395978013) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro-tracking-fields: update entries for clutter-gst-1.8Joshua Lock2012-01-251-2/+2
| | | | | | | (From OE-Core rev: 5801f480b74465696389783dc651ec48ff42e715) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-gst: update to 1.4.6Joshua Lock2012-01-251-2/+2
| | | | | | | (From OE-Core rev: a440654076008a107fff2245eff7791a4abf5abf) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cogl: update upstream status for build_for_armv4t.patchJoshua Lock2012-01-251-1/+1
| | | | | | | | | | This has patch has been merged into upstreams git repository and will be available in the next stable release. (From OE-Core rev: 77f5e99a821ad30b859a402bdc55c495741b24cc) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross: Don't reference machine specific variablesRichard Purdie2012-01-251-6/+6
| | | | | | | | | | | | gcc-cross is installed into a package architecture specific directory and is not meant to be machine specific. This patch replaces MACHINE_ARCH with PACKAGE_ARCH to ensure this is really the case. This was found by examining sstate checksums. (From OE-Core rev: b3ca57418f47b16ed0a63d3291bf7d31e3ca5a45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootimg: Fix a math thinko in the block count calculationDarren Hart2012-01-251-1/+1
| | | | | | | | | | | | | | | Fixes [YOCTO #1852] ... again. The conversion from sectors to blocks was multiplying by 2 instead of dividing by 2. Blocks are 1024 bytes, sectors are 512 bytes. The result was images being much larger than intended. Reported-by: Tom Zanussi <tom.zanussi@intel.com> (From OE-Core rev: b35384fa3ca96b31c63d764322215abced2066e4) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>