summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
AgeCommit message (Collapse)Author
2012-07-31dbus: include dbus-launch in the main dbus packageRadu Moisan
Followed suggestions from Bugz 2261: 2) make the virtual/libx11 DEPENDS conditional based on the x11 distro feature. This makes the build dependencies reflect the feature list. 3) remove dbus-x11, meaning that dbus-launch with its potential X11 dependency is now back in dbus where is belongs. 4) make dbus provide dbus-x11, for compatibility. Fixes [Yocto #2261] (From OE-Core rev: c02364f36e228835ea5d7fd4e1d347fd451f8544) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-31glib-2.0-nativesdk: Fix build on ubuntu 11.10Khem Raj
When you have a distro which has older version of glib-2.0 installed then it does not have compile_resources installed which essentially glib-2.0 nativesdk is looking for on build host. So like in a cross build we disable the configure check which will force it to build an internal copy and use it. This problem may not be seen on newer distros like ubuntu 12.04 since they have newer version of glib-2.0 installed (From OE-Core rev: 69bd94173294c1ae2cf5e300ada7116e99a5b0c7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-28package.bbclass/eglibc-locale: Ensure the correct PN is used for locale packagesRichard Purdie
(From OE-Core rev: fc4b138948656d482603b80f8c8e86fdbb185df4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-28eglibc: Add patch to add sys/resource.h to wait.hSaul Wold
This is needed for the older kernel perf tools to build correctly, as noted in the patch new perf tools have sys/resource.h included directly. (From OE-Core rev: 21a57b98ff5091a5563c00093081297a6c586208) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26readline: add missing macros in acinclude.m4Fahad Usman
some bash macros are missing from acinclude.m4 which are added up-stream. This wasn't actually breaking anything but but it was causing the configure script to not run all the tests it's intended to run. move the acinclude.m4 from "files" folder to version specific folders so that readline-5.2 continue to use the older acinclude.m4 only readline-6.2 use the updated one (From OE-Core rev: a706a74bb28e8f4d97e32f45ea894627d7e8f3fa) Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26busybox:udhcpc: fix the root_is_nfs() functionRoy.Li
[YOCTO #2788] The system will be hung when udhcpc starts, if nfs is mounted at "/" directory and default route is different after starting udhcpc. The cause is that root_is_nfs() does not work after kernel-2.6.37, since the device name has been changed from /dev/root to ${IPADDR}:${NFSDIR} on /proc/mounts. which leads to remove the default routes to nfs server, Now we use a loose match to check if rootfs is nfs. (From OE-Core rev: 9921cb0104ea36daf909c110bb6767e5fd307da0) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26busybox: fix the problem that mkfs.minix.tests fails on big endian platformYao Zhao
patch mkfs.minix.tests to have correct md5sum on big endian platform. (From OE-Core rev: b37e1ea5f29d03efbe136ee7f4fa261a1936ac8f) Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26eglibc: Fix build when OPTION_POSIX_WIDE_CHAR_DEVICE_IO is not setKhem Raj
poky-tiny disables certain eglibc options which gives good excercise for eglibc's componentized builds. This patch essentially updates the GLRO patch to account for additions of GLRO(dl_debug_mask) and converts them to GLRO_dl_debug_mask Secondly adds a new patch where it was creating a undefined alias because we were using INTUSE macro which got exposed when we disable OPTION_POSIX_WIDE_CHAR_DEVICE_IO (From OE-Core rev: f7a3121c0e4524f33f312f37d6a0bc952b219780) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26eglibc-initial: Fix build failure due to missing limits.hKhem Raj
We have had these things in place to overcome a limitation from our gcc-initial-cross not staging a self sufficient limits.h. Now thats fixed we do reset TOOLCHAIN_OPTIONS to point to sysroot where linux kernel headers are staged and not the bootstrap sysroot which will infact be popuated by eglibc-initial itself. Secondly we dont need to set CPPFLAGS specially as we are doing that in eglibc.inc so we override that (From OE-Core rev: 3045ab9b3efc887700a922d06a6f5f4069a41356) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26libcgroup_0.37.1.bb: Add recipeKhem Raj
This recipe is imported from meta-oe its a requirement for systemd to work. Now that systemd is living in a layer of its own. Lets have this recipe into core metadata (From OE-Core rev: 6ef8e6f2f9b0583fa0881e0dfc52462405b21ede) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26initscripts: don't bg mk_dirs in populate-volatileChristopher Larson
If a directory needs to be created to create something else in volatiles, there's no guarantees on ordering due to the backgrounding. We can't guarantee with certainty that the create directory commands are complete before the later ones run. This ensures that we wait for directory creations to complete before we proceed. Chris Hallinan hit an actual failure due to this back in March of last year. (From OE-Core rev: 138c3c26830e48a56ca7cb3e5feca324d13ec89c) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22libxml2: Update for python-native changesMorgan Little
Add pythonnative to the inherits list (From OE-Core rev: fae8b8e3f172a7523c0d5cc416031f3d571b9f81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22glib-2.0: cleanup thanks to new gtk-doc.bbclassRoss Burton
(From OE-Core rev: 8ef2d4f78982a664c5363d0fe17eb69487a5fa12) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-20util-linux: register reset u-a to bindir like busybox doesMartin Jansa
* fixes http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/024586.html (From OE-Core rev: 05085b2aac7ac2789e3382cfad339474a5d6f0c6) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19EFI: Make installer EFI awareDarren Hart
[YOCTO #1919] Create a basic EFI installer script modeled after the existing installer and add it to a new initramfs-live-install-efi recipe. Update the init-live.sh script to distinguish between LABEL=install and LABEL=install-efi and select the appropriate script. Add the efi installer to core-image-minimal-initramfs. Update grub-efi.bbclass to use "LABEL=install-efi" when it detects a label of "install". This is clearly not ideal, but a proper fix would involve decoupling the LABELS assignment from the image-live.bbclass usage of SYSLINUX_LABELS. We should be able to address that in a follow-on clean-up series. V2: Include missing initramfs-live-install-efi_1.0.bb V3: Rebase after Radu's console_params fix (From OE-Core rev: 4bce3417917a3e88ba6529db394525fba82e0699) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19busybox: busybox wget -P option ignoredAmy Fong
busybox wget testing fails In cases where busybox wget is invoked with -P <...> and the url ends in "/", the download directory is ignored (ie the file index.html is implied), this change enables the -P option for those urls. (From OE-Core rev: 95fd02de0aee0a1907b51f9ccda260d483e6e292) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19dbus-glib: add support for install regression testsYao Zhao
dbus-glib.inc: default turn off unit test as libdbus-glib-1.so.2.2.2 will have unit test code if DBUS_BUILD_TESTS enabled. User can turn it on with PACKAGECONFIG_pn-dbus-glib = "tests" in local.conf or PACKAGECONFIG ??= "tests" in recipe itself. test-install-makefile.patch: install unit tests for test purpose Add tests and tests-dbg package. (From OE-Core rev: 9acc464905f8106c2828e1b7bb6ce9f9be810302) Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19dbus-glib: fix compile error when enable-testsYao Zhao
test-service-glib-include-glib-only.patch: fixes the compiling failure that test-service-glib.c includes glib/gquark.h not glib.h directly. [YOCTO #2762] (From OE-Core rev: aefa55f3553f00753d1eb95905086bc12bc5bfaa) Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Add console kernel optionsRadu Moisan
Live image installer did not preserve BSP specified console= kernel parameter. This patch updates the init scripts that are responsible for grub.cfg creation so that options like console= are passed allong from installer to installed img [YOCTO #2426] (From OE-Core rev: e18c59eb5a61f265b9cad6de68359fa1430b0e58) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19eggdbus: remove, nothing uses itRoss Burton
(From OE-Core rev: 7eae2aecaddf5e285fbe9ad95d972f83b42ed176) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19eglibc-package.inc: Remove duplicate locale installRichard Purdie
Both eglibc-locale and eglibc were installing locale files into the sysroot. Whilst this is in general harmless, its a waste of diskspace/time so this moves the responsibility to the eglibc-locale package. No PR bump this this is really a cleanup and doesn't affect build output, the sstate size reduction will happen next time it is rebuilt. (From OE-Core rev: e9bf694b635baab9238088fbeb5d2d67e9190ccd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Remove a number of unneeded import os/bb callsRichard Purdie
The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. (From OE-Core rev: 7d674820958be3a7051ea619effe1a6061d9cbe2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18bitbake.conf: Define USRBINPATH globally instead of individuallyRichard Purdie
Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. (From OE-Core rev: cf63d9068c3a8c635dfc240d30dfff278be9b0e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18eglibc: Fix build for e500 coresKhem Raj
e500 support needed to be updared to match eglibc 2.16 (From OE-Core rev: ae9748c614dc8e56cde3de2401c922607ed97620) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18recipes: svn SRC_URI s/proto=/protocol=/gMartin Jansa
(From OE-Core rev: 11711d5d040e6456ac43f8800b535fe5946144cf) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18meta-ide-support: Add native qemu support for meta-ide-supportJessica Zhang
[YOCTO #2761] This patch fixed the issue that after "bitbake meta-ide-support" and try to start qemu and it will fail. This is due to the meta-ide-support lacking dependency for qemu native and ended up using qemu under /usr/bin. Fix the issue by adding dependency for qemu native in meta-ide-support and also add the path info in the environment-setup script. (From OE-Core rev: 3ea597249c18d73417abe7d7a9d32bba00499914) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18psplash: use default OE vga logo (from kernel bootlogo)Andrea Adami
* this resolution allows to use one single logo (From OE-Core rev: a6471990e9d9cd71ca797dddf0db1e52eaa9a935) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18task-core-tools-testapps.bb: kexec-tools does not work on e5500-64b partsMatthew McClintock
This prevents kexec from building for this part since it does not work (From OE-Core rev: c7beda1b779ce189c614fcce13e9ccf2c1b4ca6c) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17udev: don't mount with -o syncJesse Zhang
mount.sh mounts all partitions with -o sync, which is bad for system performance. (From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17jpeg: fix configure with automake 1.12.1Nitin A Kamble
Bring back earlier jpeg fix. upstream has removed the fix from earlier release. The support for automatic de-ANSI-fication has been deprecated in automake 1.11.2, and will be removed altogether in automake 1.12 This avoids this error: | configure.ac:24: automatic de-ANSI-fication support is deprecated | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed. NOTE: package jpeg-native-8c-r2: task do_configure: Failed (From OE-Core rev: 893ce9db79a5c4cca8a6b6ed6a9cec81777aba2f) (From OE-Core rev: 626676ba039bc5d9427665a52cbe40a202a542c8) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17eglibc: Add recipes for 2.16 releaseKhem Raj
Drop the patches that were either applied or fixed differenly in 2.16 Add patches to fix ppc spe patches to match eglibc 2.16 Fix CPPFLAGS to contain correct includepaths so autoconf cache is generated correctly (From OE-Core rev: 705fe4dab44e623350fc32efece87a977d53bfc4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16Khem Raj
These recipes use gnulib which needs this change to use gets when its defined and not otherwise. Until that change goes into gnulib and then all these package upgrade gnulib in their sourcebase we patch them (From OE-Core rev: 3148460575b65cb681065e5850b8afb96056d712) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17udev: Fix build with eglibc 2.16Khem Raj
Include sys/resource.h to get definition of PRIO_PROCESS (From OE-Core rev: 6b74c8edac0a4a468741ab7cc4ecef74314d2043) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17coreutils: Fix build with eglibc 2.16Khem Raj
eglibc 2.16 has removed gets so we account for that (From OE-Core rev: 84183aee7e6f81919ec44f3043c7d9feea01f202) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17glib: package bash-completion files in separate package and move ↵Martin Jansa
${PN}-codegen to .inc * 2.32.4 has completion files in ${datadir}/bash-completion and dbus also packages bash-competion files in separate package (From OE-Core rev: b070eb22372ad1ef5b21162d832772e560184cf8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17glib: upgrade to 2.32.4Martin Jansa
* it's bugfix release, see http://ftp.gnome.org/pub/gnome/sources/glib/2.32/glib-2.32.4.news for list of fixed bugs (From OE-Core rev: 85a930188300152bc9a1bbf640a2441f3177e26f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17busybox: Include sys/resource.h for rusage definitionKhem Raj
Seen with eglibc 2.16 (From OE-Core rev: 077bd603040ebd16f01b4fa20999fb71a9a43695) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be definedMatthew McClintock
Set SERIAL_CONSOLES if you want to define multiple serial consoles, also if you need to check for the presence of the serial consoles you can also define SERIAL_CONSOLES_CHECK to determine if these are present when you boot. This will prevent error message that pop up when the serial port is not present. SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" The above lines in machine.conf or elsewhere will have the effect of having two serial consoles and removing any that are not present at boot (From OE-Core rev: eecd65f188ba2c924626b7e1bf5c8e2eb51e9b59) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17Update proto -> protocol for recipesSaul Wold
(From OE-Core rev: 247fbed5a93800c44dc36e403f13bdc8dd704553) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17task-core-sdk.bb: add libgomp and libgomp-dev by RECOMMENDSZhenhua Luo
(From OE-Core rev: b2b682331cc1ec54448b5002ff94672d09fe9e7c) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10libxml2: Fix libzypp ansidecl related build failuresRichard Purdie
cmake looks at all include statements, even if they're not used. To make builds deterministic and avoid needing to add binutils as a dependency for libzypp, completely remove the include from the header file, even if it is never used. This avoids issues where you'd build binutils, then libzypp, then remove binutils (and hence ansidecl.h) and then recompile libzypp which would still have the dependency and hence fail. (From OE-Core rev: bfaaeb44c5023e2d2a9414c07694c75fa527283b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10core-image-*: remove copyright noticesPaul Eggleton
These image recipes are meant to be examples that people can copy and modify completely for their own purposes, and most of them are so trivial they don't really need copyright notices anyway, so trim them off. (From OE-Core rev: 22db8917f6301595a48f6dcbcccc27627c8a3941) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10core-image-minimal-dev: base on core-image-minimalPaul Eggleton
When core-image-minimal has been updated in the past, we have on several occasions missed applying those updates to this recipe, so let's just base it directly on core-image-minimal and completely avoid that problem in future. (From OE-Core rev: 7681e50da86606f4d7b63504f0c9233a1c87b642) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10libgsmd - removePaul Eggleton
This project has been unmaintained for some time, and even the OpenMoko project is not using it any more (in favour of FSO). Since we have ofono in OE-Core which replaces and surpasses its functionality, we can remove libgsmd. (From OE-Core rev: 4cd880c61e9d74dbf1a747f3654239cadadf45ce) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09psplash - Update to latest psplash version. LIC_CHKSUM TweakFranklin S Cooper Jr
* Update psplash to the latest version. * Change the license checksum to use the lines in the psplash.h that contains license information instead of doing a checksum on the entire file. (From OE-Core rev: e15dd9dede74c8906e118647ab93941c1fcb35b1) Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09ncurses: fix packaging issue in multilib buildSaul Wold
ERROR: QA Issue: lib32-ncurses: Files/directories were installed but not shipped /usr/bin/clear.ncurses /usr/bin/reset.ncurses (From OE-Core rev: e3a29405a59df45ff72f088c602181e1435d8abe) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09init-install: Clean up partition alignmentDarren Hart
The current partitioning scheme leaves a 1MB gap between all the generated partitions by adding a 1 to the end of the last partition to use as the start of the next. parted is smart enough to not overlap start and end positions of the same value. This avoids the 1 MB gaps. Rather than pad the disk with 1MB in the beginning and cut it off at the MB boundary on the end, we can use 0% and 100% to allow parted to do the required math and use as much of the disk as possible. (From OE-Core rev: 8aac6ecc5194c734dfd3d677017ab3ea045b2339) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09init-install: Correct ext2->ext3 typo in loggingDarren Hart
We create both the boot and root partitions as ext3 now, update the logging accordingly. (From OE-Core rev: 4436639eed57d818992596d6f0f7b53d3bbd4800) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09init-install: Use swap_ratio in the calulation of swap_sizeDarren Hart
swap_size currently uses a hard coded percentage and ignores the swap_ratio variable. Fortunately they are the same value currently. Make the calculation use the variable to avoid problems in the future. (From OE-Core rev: 2678ce668499af0e90994b9da8c518e85de56651) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>