Otavio Salvador [Mon, 23 Jul 2012 17:37:17 +0000 (14:37 -0300)]
shadow: use 'users' group by default
The rootfs has 'users' group at number 100 and without this fix it
would assign to a non-existent group and if a group with gid as 1000
is created later it would own all files for users created.
Otavio Salvador [Mon, 23 Jul 2012 17:37:16 +0000 (14:37 -0300)]
shadow-native: use 'users' group by default
The rootfs has 'users' group at number 100 and without this fix it
would assign to a non-existent group and if a group with gid as 1000
is created later it would own all files for users created.
Without that fix we have the following while compiling compat-wireless.
include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No such file or directory
Note that the compat-wireless recipe will be added in another commit.
make -C $kerneldir _mrproper_scripts deleted this file along with
other things so we resurrect it with this patch.
initscripts: don't bg mk_dirs in populate-volatile
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.
Scott Rifenbark [Mon, 23 Jul 2012 18:23:56 +0000 (11:23 -0700)]
documentation: Moved the Eclipse chapter to the YP Dev Manual.
The detailed chapter that describes how to install and configure
the Eclipse Yocto Plug-in has been moved to become a subsection of
the "Workflow" chapter in the YP Development Manual. This commit
accomplished the bulk move, edits to integrate the information,
and fixes to all cross-references. Moving the chapter creates a
sectioning issue in the YP Development manual that results in
subsections that are six levels deep. Not ideal. Will look at
fixing these with a subsequent commit.
Scott Rifenbark [Mon, 23 Jul 2012 17:15:04 +0000 (10:15 -0700)]
documentation: Changes to ADT Manual title
The name of the ADT manual has changed to the "Yocto Project
Application Developer's Guide." This change had some ripple effect
regarding cross-references into the manual. These are now fixed.
Scott Rifenbark [Mon, 23 Jul 2012 17:05:44 +0000 (10:05 -0700)]
documentation/dev-manual/dev-manual-model.xml: Edits for Eclipse insertion
In preparation for taking the Eclipse installation and configuration steps,
I have made an edit pass through the section "Workflow Using the
ADT and Eclipse". Minor edits performed to integrate the new
information.
Martin Ertsaas [Thu, 19 Jul 2012 11:26:25 +0000 (13:26 +0200)]
bitbake: Change bzr fetcher to use branch instead of co. Fixes: bzr: ERROR: No pull location known or specified.
This problem occurs when fetching a different revision of the same source. Which mean every time you update a bzr package.
Using branch sets the pull location, and are the preferred way of cloning/branching a repository in bzr.
Richard Purdie [Mon, 23 Jul 2012 16:26:06 +0000 (16:26 +0000)]
bitbake: cooker.py: Ensure we track parser errors and only show bbappend issues on complete parse
Currently if any parsing failure occurs, there can be a long list of
bbappends that are "dangling" based on the fact that recipes were not
parsed. This change firstly ensures the error counter is incremented
and secondly that the bbappends list is only shown on a completed
parse list.
Richard Purdie [Mon, 23 Jul 2012 14:28:46 +0000 (14:28 +0000)]
libgcc: Add missing dependency on libc:do_package
do_package writes out shlibs data and libgcc can depend on the values
there. We therefore need to express the depdency so that sstate can account
for it for example.
Without this a version change in eglibc can "psersist" in the sstate cache
and corrupt builds.
Richard Purdie [Mon, 23 Jul 2012 11:24:34 +0000 (11:24 +0000)]
grub: Allow reautoconf with the correct parameters
Without this change, an effective reautoconf happens at compile time with potentially
incorrect parameters. This change ensures it happens once, in do_configure with the
correct parameters.
Richard Purdie [Fri, 20 Jul 2012 16:19:10 +0000 (17:19 +0100)]
gnome-doc-utils: Update to use python-native
This includes a wrapper so that the full path to python-native is encoded whilst not
exceeding any environment length constraints as hinted at in the patch to this area
of code already included.
Robert P. J. Day [Fri, 20 Jul 2012 15:19:24 +0000 (11:19 -0400)]
kernel-yocto.bbclass: Delete superfluous creation of ${S}/.git directory
In do_kernel_checkout(), replace the creation of ${S}/.git with just
the creation of ${S} since the .git subdirectory is created only a few
lines later using a "mv". Here's the original code:
rm -rf ${S}
mkdir -p ${S}/.git
echo "WARNING. ${WORKDIR}/git is not a bare clone."
echo "Ensure that the SRC_URI includes the 'bareclone=1' option."
# we can fix up the kernel repository, but at the least the meta
# branch must be present. The machine branch may be created later.
mv ${WORKDIR}/git/.git ${S} <-- See? There it is.
There's no functional change here, it's just less confusing.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Morgan Little [Thu, 19 Jul 2012 17:46:06 +0000 (13:46 -0400)]
python-native: Put binaries in seperate directory
Update python-native to install the binaries in the python-native directory,
add pythonnative.bbclass to let recipes that need python-native use the
binaries and update disutils access the new binaries. Update distutils-base
to inherit pythonnative.
Scott Rifenbark [Fri, 20 Jul 2012 18:19:09 +0000 (11:19 -0700)]
documentation: Created cross-references to new KMACHINE glossary item
With the creation of a new KMACHINE glossary item, there were two
areas in the YP doc set that reference the variable. I added
cross-reference tags. Also noted that some other references
were missing to the variable COMPATIBLE_MACHINE.
Paul Gortmaker [Fri, 20 Jul 2012 00:01:55 +0000 (20:01 -0400)]
mpc8315: build u-boot v2012.04 by default.
Validated on real hardware:
U-Boot 2012.04.01 (Jun 29 2012 - 13:48:03)MPC83XX
Reset Status: Software Hard, External/Internal Soft, External/Internal Hard
CPU: e300c3, MPC8315E, Rev: 1.2 at 400 MHz, CSB: 133.333 MHz
Board: Freescale MPC8315ERDB Rev 1.0
I2C: ready
DRAM: 128 MiB (DDR2, 32-bit, ECC off, 266.667 MHz)
Flash: 8 MiB
NAND: 32 MiB
PCIE0: No link
PCIE1: No link
In: serial
Out: serial
Err: serial
Net: eTSEC0, eTSEC1
Hit any key to stop autoboot: 0
Robert Yang [Fri, 20 Jul 2012 09:49:17 +0000 (17:49 +0800)]
createrepo 0.4.11: fix the RDEPENDS
The libxml2-native and rpm-native should be ready before createrepo
runs since it needs "import libxml2 rpm".
The target createrepo needs libxml2-python when run, but the libxml2
doesn't generate the python module (disabled). We may need to fix it
or rename the recipe to createrepo-native_0.4.11.bb.
Robert Yang [Fri, 20 Jul 2012 09:49:16 +0000 (17:49 +0800)]
package_rpm: DEPLOY_DIR_RPM must exist before make index
There is a package-index.bb which will update the index, but the
DEPLOY_DIR_RPM may not exist, for example, when "bitbake package-index"
in a fresh build.
Only the package_rpm.bbclass needs this, the package_ipk.bbclass and
package_deb.bbclass doesn't need.
Darren Hart [Wed, 4 Jul 2012 04:05:46 +0000 (21:05 -0700)]
EFI: Make installer EFI aware
[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
The current fix_for_automake patch is not complete. It fixes the install
dir of grub-mkconfig_lib but neglects to update its references in
grub-mkconfig and the grub.d/* scripts. grub-mkconfig would complain:
# grub-mkconfig
/usr/sbin/grub-mkconfig: line 98: /usr/lib/grub/grub-mkconfig_lib: No such file or directory
Backport upstream patch to fix all the references.
Scott Rifenbark [Thu, 19 Jul 2012 15:03:31 +0000 (08:03 -0700)]
documentation/poky.ent: updated YOCTO_DOCS_RELEASE variable to 1.3
We should not use "latest" any longer for this variable. The
string is fine in URLs that might appear on a website but the actual
variable should be set to the release number. This way when we
go to release the version of the docs they do not have to be reset
with a post-release commit to change the variable from "lastest" to
"1.3".
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.
Yao Zhao [Tue, 17 Jul 2012 20:46:30 +0000 (16:46 -0400)]
dbus-glib: add support for install regression tests
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
README file is changed.
Some phrases were reformulated, but the semanthics are the same.
Copyright has been renewed.
Both licenses (GPL v2 and BSD) have been added explicitly.
wpa_supplicant.c is changed regarding licenses body.
Copyright has been renewed.
Andrei Gherzan [Tue, 17 Jul 2012 13:39:26 +0000 (13:39 +0000)]
connman: Add patches to fix connman on fs with no d_type support
When there is not d_type avalaible on filesystem, fstatat (stat)
can be used to check if the path is a directory.
storage.c and timezone.c were modified accordingly.
Radu Moisan [Thu, 19 Jul 2012 11:59:52 +0000 (14:59 +0300)]
Add console kernel options
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