Re: [OE-core] [PATCH 11/19] wget: use new update-alternatives

2012-08-01 Thread Mark Hatle
On 8/1/12 9:12 AM, Morgan Little wrote: Signed-off-by: Morgan Little --- meta/recipes-extended/wget/wget.inc |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc index 4e1e931..0047329 10064

Re: [OE-core] [PATCH 12/19] which: use new update-alternatives

2012-08-01 Thread Mark Hatle
On 8/1/12 9:12 AM, Morgan Little wrote: Signed-off-by: Morgan Little --- meta/recipes-extended/which/which_2.18.bb |6 +++--- meta/recipes-extended/which/which_2.20.bb |6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/meta/recipes-extended/which/which_2.18.bb

Re: [OE-core] static busybox?

2012-08-01 Thread Mark Hatle
On 8/1/12 11:21 AM, Stuart Yoder wrote: On Tue, Jul 31, 2012 at 3:07 PM, Bruce Ashfield wrote: On Tue, Jul 31, 2012 at 3:59 PM, Mark Hatle wrote: On 7/31/12 1:14 PM, Stuart Yoder wrote: We are doing some work with LXC (containers) and one of the templates is for busybox. For LXC, the

Re: [OE-core] static busybox?

2012-08-01 Thread Mark Hatle
On 8/1/12 1:59 PM, McClintock Matthew-B29882 wrote: On Wed, Aug 1, 2012 at 11:36 AM, Mark Hatle wrote: On 8/1/12 11:21 AM, Stuart Yoder wrote: On Tue, Jul 31, 2012 at 3:07 PM, Bruce Ashfield wrote: On Tue, Jul 31, 2012 at 3:59 PM, Mark Hatle wrote: On 7/31/12 1:14 PM, Stuart Yoder

Re: [OE-core] number of tasks increased since last update

2012-08-01 Thread Mark Hatle
On 8/1/12 2:08 PM, Chris Larson wrote: On Wed, Aug 1, 2012 at 8:29 AM, Andreas Müller wrote: today I updated and found the the number of tasks has increased about 400. Another strange behaviour: in my build dir there are two new folders: x86_64-nativesdk-angstromsdk-linux x86_64-angstromsdk-li

Re: [OE-core] static busybox?

2012-08-03 Thread Mark Hatle
On 8/3/12 6:19 AM, Otavio Salvador wrote: On Thu, Aug 2, 2012 at 7:50 PM, Stuart Yoder wrote: On Wed, Aug 1, 2012 at 3:05 PM, Otavio Salvador wrote: On Wed, Aug 1, 2012 at 4:05 PM, Mark Hatle wrote: On 8/1/12 1:59 PM, McClintock Matthew-B29882 wrote: This is one approach, to change

Re: [OE-core] how to fix WARNING: QA Issue: libpam: installed in the base_prefix, requires a shared library under exec_prefix

2012-08-03 Thread Mark Hatle
On 8/3/12 11:44 AM, Yao Zhao wrote: Hi all, Any suggestion to fix these kinds of QA warnings? libpam is referencing /usr/lib/libcrack from /lib/security. I tried to fix cracklib to install to /lib but cracklib is using other libraries from /usr/lib, I am afraid that I am touching a chain, so a

Re: [OE-core] how to fix WARNING: QA Issue: libpam: installed in the base_prefix, requires a shared library under exec_prefix

2012-08-03 Thread Mark Hatle
On 8/3/12 1:07 PM, Yao Zhao wrote: On 12-08-03 01:45 PM, Mark Hatle wrote: On 8/3/12 11:44 AM, Yao Zhao wrote: Hi all, Any suggestion to fix these kinds of QA warnings? libpam is referencing /usr/lib/libcrack from /lib/security. I tried to fix cracklib to install to /lib but cracklib is

Re: [OE-core] [PATCH 3/5] package_rpm: export the native directory to the postinst scriptlets

2012-08-03 Thread Mark Hatle
On 8/3/12 3:19 PM, Laurentiu Palcu wrote: Some postinst scriptlets test for the existence of certain files but have the paths hardcoded to the target's rootfs. This patch will allow us to run postinst scriptlets at do_rootfs time by calling native binaries. Signed-off-by: Laurentiu Palcu ---

Re: [OE-core] [PATCH 3/5] package_rpm: export the native directory to the postinst scriptlets

2012-08-04 Thread Mark Hatle
On 8/4/12 3:59 AM, Laurentiu Palcu wrote: On 08/04/2012 10:46 AM, Laurentiu Palcu wrote: On 08/03/2012 11:25 PM, Mark Hatle wrote: On 8/3/12 3:19 PM, Laurentiu Palcu wrote: Some postinst scriptlets test for the existence of certain files but have the paths hardcoded to the target's r

Re: [OE-core] [PATCH 03/30] lsbsetup: use ${bindir} instead of /usr/bin for packaging

2012-08-06 Thread Mark Hatle
On 8/5/12 10:53 AM, Javier Martinez Canillas wrote: It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas --- meta/recipes-extended/lsb/lsbsetup_1.0.bb |4 ++-- 1 files changed, 2 ins

Re: [OE-core] [PATCH 11/30] lsb: use ${base_bindir} instead of /bin for packaging

2012-08-06 Thread Mark Hatle
On 8/5/12 10:53 AM, Javier Martinez Canillas wrote: It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas --- meta/recipes-extended/lsb/lsb_1.4.bb |2 +- 1 files changed, 1 insertions

Re: [OE-core] [PATCH] classes/sanity: check for suid root command evility

2013-07-29 Thread Mark Hatle
On 7/26/13 5:48 AM, Paul Eggleton wrote: Some users have been found to have an unnamed third-party piece of software installed which sets chmod, chown and mknod as suid root as part of its installation process. This interferes with the operation of pseudo and can result in files really being owne

Re: [OE-core] [PATCH] base.bbclass: Add support to EXTRA_DISTRO_FEATURES

2013-07-30 Thread Mark Hatle
On 7/30/13 7:24 AM, Otavio Salvador wrote: On Tue, Jul 30, 2013 at 9:14 AM, Phil Blundell wrote: On Tue, 2013-07-30 at 09:00 -0300, Otavio Salvador wrote: To make this, we cannot reuse Poky distro for example as it /unconditionally/ appends to DISTRO_FEATURES. Besides it is easier for test to

Re: [OE-core] [PATCH] base.bbclass: Add support to EXTRA_DISTRO_FEATURES

2013-07-30 Thread Mark Hatle
On 7/30/13 10:09 AM, Paul Eggleton wrote: On Tuesday 30 July 2013 09:46:19 Mark Hatle wrote: I agree with the previous folks that the design of the distribution setting the one and true value is the right technical answer for this. HOWEVER, in my experience, this is NOT what end users want

Re: [OE-core] [PATCH] base.bbclass: Add support to EXTRA_DISTRO_FEATURES

2013-07-30 Thread Mark Hatle
On 7/30/13 10:19 AM, Phil Blundell wrote: On Tue, 2013-07-30 at 09:46 -0500, Mark Hatle wrote: They want a method similar to the one posted by Otavio in order to tailor the system. End users never want to create a new distribution, they simply want to start with one and tweak it. They can

Re: [OE-core] [PATCH] base-files: remove symbolic link from /etc/mtab to /proc/mounts

2013-07-31 Thread Mark Hatle
On 7/31/13 4:16 AM, Guo Chunrong-B40290 wrote: Hello, I add libhugetlbfs package into my rootfs and run the below command in my board . root@p1021rdb:~# hugeadm --create-mounts hugeadm:WARNING: Unable to add entry /var/lib/hugetlbfs/pagesize-4MB to /etc/mtab, error: Invalid argument

Re: [OE-core] [PATCH] makedevs: Change numeric user/group ids to user/group names in device table

2013-07-31 Thread Mark Hatle
On 7/31/13 7:14 AM, Prica, Mihai wrote: -Original Message- From: Saul Wold [mailto:s...@linux.intel.com] Sent: Tuesday, July 30, 2013 5:57 PM To: Prica, Mihai Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH] makedevs: Change numeric user/group ids to user/group

Re: [OE-core] [master, dylan][PATCH v2] shadow: Fix build when DISTRO_FEATURES contains pam, libc-crypt

2013-08-01 Thread Mark Hatle
On 7/31/13 1:33 PM, Richard Tollerton wrote: shadow falsely assumes that if --enable-libpam is set, it doesn't need to link against libcrypt; this breaks chsh. (This same fix exists in Arch.) Signed-off-by: Richard Tollerton This change is working for me. Acked-by: Mark Hatle ---

Re: [OE-core] Issue of Yocto multilib sdk

2013-08-02 Thread Mark Hatle
On 8/2/13 5:10 AM, Sardan Alexandru Cezar-B41700 wrote: There could be several issues here: 1. default library path for 64bit is wrong... You can inspect it by looking at SEARCH_DIR in the linker script. Just run: $CC -o mytest -Wl,-verbose mytest.c Then you can try to set the library path exp

[OE-core] [PATCH 1/2] rpm: Change references from RPM_VENDOR_POKY to RPM_VENDOR_OE

2013-08-09 Thread Mark Hatle
Change the #define references to match RPM_VENDOR_OE. Signed-off-by: Mark Hatle --- .../rpm/rpm/python-rpm-rpmsense.patch | 4 ++-- meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch | 2 +- .../rpm/rpm/rpm-platform-file-fix.patch| 2 +- meta/recipes-devtools/rpm/rpm

[OE-core] [PATCH 0/2] RPM changes

2013-08-09 Thread Mark Hatle
We first to a long overdue cleanup and change the RPM_VENDOR_POKY to RPM_VENDOR_OE. Then we fix a bug with older RPM packages that has been found when attempting to install some of the LSB test packages. The change was verified by who reported the issue to me. Mark Hatle (2): rpm: Change

[OE-core] [PATCH 2/2] rpm: Enable compatibility with older RPM packages that have invalid platforms

2013-08-09 Thread Mark Hatle
ck and try to construct a new platform name that may be valid based on the arch and os contents of the package. (This should only ever be needed by invalid or older RPM packages.) Signed-off-by: Mark Hatle --- .../rpm/rpm/rpm-lsb-compatibility.patch| 24 ++ me

[OE-core] [PATCH] Fix an issue with runtime remapping and multilibs

2013-08-09 Thread Mark Hatle
Fix an issue with runtime remapping and multilibs when the remapped filename is the same as the original (non-multilib) name. This can happen with all arch, and module packages. Mark Hatle (1): image.bbclass: Move runtime_mapping_rename to avoid conflict w/ multilib meta/classes

[OE-core] [PATCH] image.bbclass: Move runtime_mapping_rename to avoid conflict w/ multilib

2013-08-09 Thread Mark Hatle
Signed-off-by: Mark Hatle --- meta/classes/image.bbclass | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index cf02f88..4aae3a7 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass

Re: [OE-core] [PATCH 2/2 v2] meta-skeleton: Add busybox config fragment example

2013-08-13 Thread Mark Hatle
On 8/13/13 12:11 PM, Saul Wold wrote: This shows an example of the config fragment support that both the linux-yocto and busybox recipes use. This example is specific to busybox. By adding busybox CONFIG options into a .cfg file and then adding that .cfg file to SRC_URI the merge_config.sh scrip

Re: [OE-core] [PATCH 2/2 v2] meta-skeleton: Add busybox config fragment example

2013-08-13 Thread Mark Hatle
On 8/13/13 12:23 PM, Laszlo Papp wrote: s/which files/which lines/ The kernel configuration mechanism has a tool that will combine the original configuration, and any listed configuration fragments (.cfg files). It will combine these, and then filter them in such a way that last-in wins. S

Re: [OE-core] Enabling x264 support in gstreamer

2013-08-13 Thread Mark Hatle
On 8/13/13 12:29 PM, Gary Thomas wrote: I see that some of the gstreamer recipes have changed so that x264 is now a PACKAGECONFIG option. However, I don't see anything that enables this option anywhere. How do I get x264 support back - it was working with Poky/Yocto just a few weeks back... No

Re: [OE-core] [PATCH 2/2 v2] meta-skeleton: Add busybox config fragment example

2013-08-13 Thread Mark Hatle
On 8/13/13 12:40 PM, Laszlo Papp wrote: On Tue, Aug 13, 2013 at 6:33 PM, Mark Hatle mailto:mark.ha...@windriver.com>> wrote: On 8/13/13 12:23 PM, Laszlo Papp wrote: s/which files/which lines/ The kernel configuration mechanism has a tool that will combine the or

Re: [OE-core] [PATCH] Revert "hello-mod: Ensure the produced package name begins with kernel-module-"

2013-08-14 Thread Mark Hatle
On 8/14/13 1:10 PM, Darren Hart wrote: On Wed, 2013-08-14 at 09:41 -0700, Yang Shi wrote: [YOCTO #4286] The package runtime mapping rename issue is already fixed by commit 0bc564af07c1bae8112f834a60aea3b72af7de13, the "kernel-module-" workaround is not necessary anymore for out-of-tree module p

[OE-core] [PATCH] prelink: update to latest cross-prelink

2013-08-14 Thread Mark Hatle
Signed-off-by: Mark Hatle --- meta/recipes-devtools/prelink/prelink_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb index ae9931f..4d49026 100644 --- a/meta/recipes-devtools

[OE-core] [PATCH 05/11] package_rpm.bbclass: NO_RECOMMENDATIONS support

2013-08-14 Thread Mark Hatle
may not have been installed. A user will need to manually add to their image any kernel-modules required to be on the image for functionality. Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass | 3 +++ meta/conf/bitbake.conf | 1 + meta/conf/documentation.conf | 3

[OE-core] [PATCH 02/11] python-smartpm: Add support for excluding package from the install

2013-08-14 Thread Mark Hatle
Update smart to support a mechanism for excluding specific packages from the install process. An error will be generated if this package is required. Signed-off-by: Mark Hatle --- .../smart-flag-exclude-packages.patch | 70 ++ .../python/python-smartpm_1.4.1.bb

[OE-core] [PATCH 03/11] package_rpm.bbclass: Add support for PACKAGE_EXCLUDE to RPM installs

2013-08-14 Thread Mark Hatle
Using the new smart exclude mechanism an error will be generated in the excluded package is required for the image to be generated. Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes/package_rpm.bbclass b/meta

[OE-core] [PATCH 00/11] Update the way we control the construction of filesystems

2013-08-14 Thread Mark Hatle
the end user the image couldn't be generated and which package had the dependency on the excluded component. (Works in all three package types.) The patches are available at: git://git.yoctoproject.org/poky-contrib mhatle/oe-core-remove Mark Hatle (11): image.bbclass: Add basic support f

[OE-core] [PATCH 10/11] opkg: Add support for excluding packages from the install

2013-08-14 Thread Mark Hatle
: Mark Hatle --- meta/recipes-devtools/opkg/opkg/add-exclude.patch | 99 +++ meta/recipes-devtools/opkg/opkg_svn.bb| 1 + 2 files changed, 100 insertions(+) create mode 100644 meta/recipes-devtools/opkg/opkg/add-exclude.patch diff --git a/meta/recipes-devtools/opkg

[OE-core] [PATCH 06/11] package_deb.bbclass: Use the WORKDIR not SYSROOT for temp files

2013-08-14 Thread Mark Hatle
Previous debian APT configuration was using the sysroot directory. This not only polluted the sysroot, but violates the expectation that the sysroot is not modified by the rootfs installation. Signed-off-by: Mark Hatle --- meta/classes/package_deb.bbclass | 17 ++--- 1 file changed

[OE-core] [PATCH 08/11] opkg: Add --no-install-recommends option.

2013-08-14 Thread Mark Hatle
The new --no-install-recommends option is similar to the behavior of apt-get's --no-install-recommedns. Only required packages will be installed. Signed-off-by: Mark Hatle --- .../opkg/opkg/no-install-recommends.patch | 78 ++ meta/recipes-devtools/opkg/opkg_s

[OE-core] [PATCH 11/11] package_ipk: Add support for PACKAGE_EXCLUDE

2013-08-14 Thread Mark Hatle
This uses the new --add-exclude arguments in opkg-cl, to list the excluded packages. If an excluded package is needed for the install to resolve, an error will be generated. Recommended packages will not generate an error. Signed-off-by: Mark Hatle --- meta/classes/package_ipk.bbclass | 1

[OE-core] [PATCH 07/11] package_deb: Add support for NO_RECOMMENDATIONS and PACKAGE_EXCLUDE

2013-08-14 Thread Mark Hatle
Add support for NO_RECOMMENDATIONS and PACKAGE_EXCLUDE. Also add a warning that ensures users know that BAD_RECOMMENDATIONS support is not implemented in the debian package/rootfs classes. Signed-off-by: Mark Hatle --- meta/classes/package_deb.bbclass | 17 + meta/classes

[OE-core] [PATCH v2] prelink: update to latest cross-prelink

2013-08-14 Thread Mark Hatle
Sync to latest cross-prelink, as of Aug 1, 2013. Drop the PR number, no longer needed. Signed-off-by: Mark Hatle --- meta/recipes-devtools/prelink/prelink_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes

[OE-core] [PATCH 01/11] image.bbclass: Add basic support for PACKAGE_EXCLUDE

2013-08-14 Thread Mark Hatle
f the user is trying to exclude a package that was previously in the PACKAGE_INSTALL or PACKAGE_INSTALL_ATTEMPTONLY variables. (See additional commits for package manager specific support.) Add documentation on PACKAGE_EXCLUDE and related variables. Signed-off-by: Mark Hatle --- me

[OE-core] [PATCH 09/11] package_ipk: Add support for NO_RECOMMENDATIONS

2013-08-14 Thread Mark Hatle
Uses the opkg --no-install-recommends option. Signed-off-by: Mark Hatle --- meta/classes/package_ipk.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 3305879..69a6d95 100644 --- a/meta/classes

[OE-core] [PATCH 04/11] python-smartpm: Add support to disable installing recommends

2013-08-14 Thread Mark Hatle
In order to attempt to reduce image sizes by skipping recommended packages, a new mode was added to smart that only evaluates required packaged. Signed-off-by: Mark Hatle --- .../smart-config-ignore-all-recommends.patch | 24 ++ .../python/python-smartpm_1.4.1.bb

Re: [OE-core] [PATCH 00/11] Update the way we control the construction of filesystems

2013-08-14 Thread Mark Hatle
On 8/14/13 3:35 PM, Burton, Ross wrote: On 14 August 2013 21:29, Mark Hatle wrote: Debian(apt-get) does not appear to be capable of BAD_RECOMEMNDATIONS, The semantics of BAD_RECOMMENDATIONS is "these packages may be listed as recommendations, but don't install them", right?

Re: [OE-core] [PATCH 03/11] package_rpm.bbclass: Add support for PACKAGE_EXCLUDE to RPM installs

2013-08-15 Thread Mark Hatle
On 8/15/13 7:01 AM, Paul Eggleton wrote: On Wednesday 14 August 2013 15:30:01 Mark Hatle wrote: Using the new smart exclude mechanism an error will be generated in the excluded package is required for the image to be generated. Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass

Re: [OE-core] [PATCH 1/1] sstate.bbclass: fix parallel building issue

2013-08-15 Thread Mark Hatle
On 8/15/13 11:23 AM, Richard Purdie wrote: On Thu, 2013-08-15 at 10:55 +0100, Phil Blundell wrote: On Thu, 2013-08-15 at 17:51 +0800, Rongqing Li wrote: OK, But your issue is not related to me. I can reproduce my issue by two simple script. If tar is deciding that the file has "changed" just

Re: [OE-core] [PATCH 08/11] opkg: Add --no-install-recommends option.

2013-08-19 Thread Mark Hatle
On 8/19/13 1:08 PM, Saul Wold wrote: On 08/14/2013 01:30 PM, Mark Hatle wrote: The new --no-install-recommends option is similar to the behavior of apt-get's --no-install-recommedns. Only required packages will be installed. Signed-off-by: Mark Hatle --- .../opkg/opkg/no-in

Re: [OE-core] [PATCH v2] kernel.bbclass: Create symbolic link to add ${KERNEL_IMAGETYPE} to boot package

2013-08-20 Thread Mark Hatle
On 8/20/13 1:45 PM, Franklin S. Cooper Jr wrote: * By default for some platforms U-boot assumes the kernel image is located in the boot directory of the root filesystem. * The kernel.bbclass already includes the kernel image in the /boot directory but adds a version number to the file name.

Re: [OE-core] [PATCH] pseudo: fix memory leak and missed privilege drop

2013-08-26 Thread Mark Hatle
On 8/25/13 7:40 PM, Peter A. Bigot wrote: From: "Peter A. Bigot" qemu.bbclass adds PSEUDO_UNLOAD=1 in qemu_run_binary to avoid reference to pseudo functions that may not exist in the target environment. This patch detects the addition of that variable within the environment to which the call a

Re: [OE-core] [PATCH 0/1] multilib.bbclass: Expand the WHITELISTs with multilib prefix

2013-08-28 Thread Mark Hatle
On 8/27/13 2:32 AM, jhuang0 wrote: Could anyone look at this? It's been a long time here, but no comments and is not merged yet. This is definitely still needed in oe-core. Without this the license whitelist/blacklist doesn't work as expected when multilibs are enabled. The only alternative

Re: [OE-core] GCC search paths in MinGW SDK

2013-09-03 Thread Mark Hatle
On 9/3/13 4:13 PM, Francois Retief wrote: Hi all, Thanks to Richard's recent improvements in the oe-core tree, I finally got my first MinGW build to compile through and generate a SDK tarball. Next issue is that on windows GCC is unable to find the crt1.o, crti.o and crtbegin.o files. when comp

[OE-core] [PATCH] package_rpm.bbclass: Fix no_recommendations and package_exclude

2013-09-05 Thread Mark Hatle
When the code was refactored to address review comments, the wrong version was sent to the community. Replace the $1 with ${target_rootfs} Fix identified by: Yue Tao Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[OE-core] [PATCH] python-smartpm: Add an attempt install mode

2013-09-10 Thread Mark Hatle
[ YOCTO #3723 ] Add a mode to smart that will allow an installation to continue, instead of failure in the case that one or more items is uninstallable. Uninstallable packages are simply ignored, and no error is generated. Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass

Re: [OE-core] [PATCH] python-smartpm: Add an attempt install mode

2013-09-10 Thread Mark Hatle
complementary' installs and attemptonly installs. The performance is by doing the complementary installs as a batch instead of one at a time, ignoring failures. --Mark On 9/10/13 8:59 PM, Mark Hatle wrote: [ YOCTO #3723 ] Add a mode to smart that will allow an installation to contin

Re: [OE-core] [PATCH] python-smartpm: Add an attempt install mode

2013-09-11 Thread Mark Hatle
On 9/11/13 5:04 AM, Paul Eggleton wrote: Hi Mark, On Tuesday 10 September 2013 21:04:29 Mark Hatle wrote: Time measurements with: MACHINE = "qemux86" PACKAGE_CLASSES = "package_rpm" EXTRA_IMAGE_FEATURES = "dev-pkgs staticdev-pkgs doc-pkgs dbg-pkgs ptest-pkgs

Re: [OE-core] [PATCH] linux-libc-headers: Add big warning about antisocial behaviour

2013-09-16 Thread Mark Hatle
ot;virtual/kernel" but again, that is fine and +# makes total sense. +# +# -- RP + I am completely in favor of this. People don't get that custom kernel headers have severe ramifications in projects. I've had to explain this to hundreds over the last few years

Re: [OE-core] [RFC] Common code/framework for automatic runtime dependencies

2013-09-17 Thread Mark Hatle
On 9/17/13 6:23 PM, Chris Larson wrote: Greetings, I recently found myself wanting to implement a prototype of automatic python dependencies. In so doing, I realized that there's a certain pattern followed by each of these (shlibs, pkgconfig, kernel modules, ..), so I'd like to propose, in the 1

Re: [OE-core] [PATCH] shadow: Create recipe nativesdk-shadow

2013-09-23 Thread Mark Hatle
This looks to be the same as the 'native' package, but I don't think you can just add a BBCLASSEXTEND = "nativesdk" Perhaps (in 1.6) someone should look at merging the three back together. If this is the same as the native version, I'd suggest adding a comment stating as much so we can hopeful

Re: [OE-core] [v2][PATCH 1/1] vala.bbclass: add dependency on vala

2013-09-27 Thread Mark Hatle
On 9/26/13 7:13 PM, Randy MacLeod wrote: On 13-09-26 02:52 PM, Joe Slater wrote: This class points the inheritor, if it is a target, to directories in the target sysroot, so we want to be sure the .vapi files are there. Signed-off-by: Joe Slater --- meta/classes/vala.bbclass |8 +---

Re: [OE-core] [PATCH 1/1] rpm: fix rpm2cpio segmentation fault

2013-09-30 Thread Mark Hatle
On 9/30/13 4:48 AM, Kai Kang wrote: From: Kang Kai When run rpm2cpio, it fails with segmentation fault. The root cause is no macros "_db_path" and "_dbi_config*" defined, when query these macros get nothing then cause segment fault. Add patch to parse macro files first to fix this problem. I

Re: [OE-core] [PATCH] image.bbclass: ensure makedevs does return true

2013-10-01 Thread Mark Hatle
On 10/1/13 10:40 AM, Saul Wold wrote: When doing an incremental image generation, ensure that makedevs returns true when it encounters a node that already exists, otherwise image generation will fail. [YOCTO #5288] Signed-off-by: Saul Wold --- meta/classes/image.bbclass | 2 +- 1 file chan

Re: [OE-core] [PATCH] makedevs: Do not return error if the fifo exisits

2013-10-01 Thread Mark Hatle
On 10/1/13 11:51 AM, Saul Wold wrote: This ensures that makedevs will not cause image creation failures when it encounters a pipe (fifo) that exists from a previous image. The other file/device creation code either ignore this error or check for file type. [YOCTO #5288] Signed-off-by: Saul Wold

Re: [OE-core] [PATCH 1/1] buildhistory.bbclass: always record PKG, PKGE, PKGV and PKGR

2013-10-01 Thread Mark Hatle
On 9/30/13 11:26 AM, Paul Eggleton wrote: On Thursday 26 September 2013 13:23:32 qi.c...@windriver.com wrote: From: Chen Qi The buildhistory.bbclass always records PV instead of PKGV. However, the buildhistory-diff script treats PKGV as a monitored variable instead of PV. If a recipe's PV cha

[OE-core] [PATCH] package_rpm.bbclass: Workaround failure in attemptonly installs

2013-10-03 Thread Mark Hatle
the failed transaction may not get installed. To fix this properly we need to find the issue in smart, and make it ignore or at least attempt to resolve these kinds of conflicts. Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-core] [PATCH] run-postinst: Ensure that the postinsts are ordered

2013-10-04 Thread Mark Hatle
regressions however and sets the stage for a proper fix. deb - this -may- fix the deb install. Early testing indicates at least some ordering to the status file. But it's unclear if it completely resolves the issue. Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass

Re: [OE-core] Nasty tar breakage

2013-10-11 Thread Mark Hatle
On 10/11/13 10:55 AM, Paul Eggleton wrote: Hi Jack, On Friday 11 October 2013 16:21:46 Jack Mitchell wrote: I upgraded my host distribution today which pulled in tar 1.27 [1] and caused a nasty breakage. Downgrading to tar 1.26 fixed the problem, I would expect this is something we want to fix

Re: [OE-core] [PATCHv2] openssh: allow login with empty password

2013-10-14 Thread Mark Hatle
On 10/14/13 6:09 AM, Koen Kooi wrote: Op 14 okt. 2013, om 12:37 heeft Paul Eggleton het volgende geschreven: On Monday 14 October 2013 12:09:37 Koen Kooi wrote: Currently both PAM and dropbear allow logins with empty passwords, but openssh doesn't. This commit changes the default in openssh

Re: [OE-core] [PATCH 0/2] Use alternatives for all of binutils instead of -symlinks

2013-10-16 Thread Mark Hatle
On 10/16/13 11:48 AM, Saul Wold wrote: During MUT builds, we saw a failure with the toolchain | Computing transaction...error: Can't install binutils-cross-canadian-arm-2.23.2-r4@i686_nativesdk: no package provides update-alternatives-cworth | Can be seen all architectures. Sounds like the

Re: [OE-core] [PATCH 11/11] rpm: Add nativesdk in BBCLASSEXTEND

2013-10-17 Thread Mark Hatle
On 10/17/13 8:59 AM, David Nyström wrote: Should have a commit message explaining the various changes. Signed-off-by: David Nyström --- meta/recipes-devtools/rpm/rpm_5.4.9.bb | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/meta/recipes-devtools/

Re: [OE-core] [PATCH 1/1] wic: add pseudo to the populate-extfs step

2013-10-18 Thread Mark Hatle
On 10/18/13 10:04 AM, Richard Purdie wrote: On Wed, 2013-10-16 at 15:25 -0500, Tom Zanussi wrote: Without this, files in the generated filesystem pick up the wrong ownership. Signed-off-by: Tom Zanussi --- scripts/lib/mic/kickstart/custom_commands/partition.py | 9 - 1 file changed,

Re: [OE-core] [PATCH V3 3/3] bash: add pkg_postrm to remove the entry in /etc/shells

2013-10-18 Thread Mark Hatle
On 10/18/13 9:59 AM, Phil Blundell wrote: On Fri, 2013-10-18 at 19:11 +0800, Ming Liu wrote: pkg_postinst_${PN} () { - touch $D${sysconfdir}/shells - grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells - grep -q "bin/sh" $D${sysconfdir}/shel

Re: [OE-core] [PATCH V3 3/3] bash: add pkg_postrm to remove the entry in /etc/shells

2013-10-18 Thread Mark Hatle
On 10/18/13 10:18 AM, Phil Blundell wrote: On Fri, 2013-10-18 at 10:12 -0500, Mark Hatle wrote: On 10/18/13 9:59 AM, Phil Blundell wrote: On Fri, 2013-10-18 at 19:11 +0800, Ming Liu wrote: pkg_postinst_${PN} () { - touch $D${sysconfdir}/shells - grep -q "bin/bas

Re: [OE-core] [PATCH] bluez: declaration of virtual/bluez

2013-10-30 Thread Mark Hatle
On 10/30/13, 7:59 PM, rongqing...@windriver.com wrote: From: Roy Li We have two version bluez, declare virtual/bluez to switch them easily, and set the preferred provider for bluez as bluez4 Unfortunately, I'm not sure this will work. (I am not a BlueZ expert!) I've been told that BlueZ 4

Re: [OE-core] [PATCH 1/1] Enhancements to allow core file debugging to work properly from devices

2013-10-31 Thread Mark Hatle
On 10/31/13, 1:54 AM, blloyd wrote: gdb includes a script to make generating core files trivial. Add a package to allow inclusion of this script in images. GDB also requires symbols that are usually stripped from the threads library to properly generate a core dump. Therefore, ensure when g

Re: [OE-core] [PATCH] bitbake.conf: Default DISTRO to nodistro

2013-11-08 Thread Mark Hatle
On 11/8/13, 3:47 AM, Richard Purdie wrote: On Fri, 2013-11-08 at 10:33 +0100, Andrea Adami wrote: On Fri, Nov 8, 2013 at 10:25 AM, Burton, Ross wrote: On 7 November 2013 23:18, Richard Purdie wrote: +DISTRO ??= "nodistro" Wouldn't "oe-core" be a better name, considering that's what DISTROV

Re: [OE-core] [PATCH 2/2] sysvinit: adjust boot sequence and remove hack from udev

2013-11-08 Thread Mark Hatle
On 11/2/13, 12:22 AM, qi.c...@windriver.com wrote: From: Chen Qi Adjust the boot sequence in sysvinit based systems. The mountall.sh (mounting the local file system) needs to be started before udev and bootlogd. This patch makes mountall.sh start before udev and removes the hack of mounting t

Re: [OE-core] [PATCH 0/1] udev: remove libudev-dbg and libgudev-dbg

2013-11-11 Thread Mark Hatle
On 11/11/13, 4:10 AM, wenzong@windriver.com wrote: From: Wenzong Fan We don't support multiple -dbg packages, so just remove the libudev-dbg, libgudev-dbg and put all debug stuffs to 'udev-dbg'. I'm a bit confused, we do support package that want to provide multiple -dbg files to generat

Re: [OE-core] [PATCH 2/8] initscripts: add setup-commands.sh

2013-11-11 Thread Mark Hatle
On 11/11/13, 5:53 AM, Phil Blundell wrote: On Mon, 2013-11-11 at 10:52 +0800, ChenQi wrote: On 11/10/2013 07:00 AM, Phil Blundell wrote: ... I thought that last time this topic came up on the mailing list, the eventual conclusion was that Wind River (being more-or-less the only people who se

Re: [OE-core] [PATCH 2/8] initscripts: add setup-commands.sh

2013-11-11 Thread Mark Hatle
On 11/11/13, 6:12 AM, Burton, Ross wrote: On 11 November 2013 02:52, ChenQi wrote: The problem here is that the init scripts under /etc/rcS.d/ need to execute commands like awk, dirname, and readlink which are from /usr. Yes. So why do you really need to support split /usr, and why isn't an

Re: [OE-core] [PATCH v2] bluez: declaration of virtual/bluez and VIRTUAL-RUNTIME_bluez

2013-11-12 Thread Mark Hatle
On 11/12/13, 2:49 AM, Martin Jansa wrote: On Mon, Nov 11, 2013 at 05:31:07PM -0800, Saul Wold wrote: On 11/11/2013 04:30 PM, Rongqing Li wrote: On 11/11/2013 05:59 PM, Iorga, Cristian wrote: Hi all, As far as I have experimented, there is no upgrade path available at the moment, due to exte

[OE-core] [PATCH 1/6] gcc: Use alternatives for the *-symlinks packages.

2013-11-12 Thread Mark Hatle
doesn't seem to be generated anymore. Signed-off-by: Mark Hatle --- meta/recipes-devtools/gcc/gcc-target.inc | 91 1 file changed, 58 insertions(+), 33 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-targe

[OE-core] [PATCH 3/6] binutils: Ensure old -symlinks packages get removed

2013-11-12 Thread Mark Hatle
When the -symlinks package was removed and an RPROVIDES was added, nothing was put in to cause the removal of the older package in an upgrade. Signed-off-by: Mark Hatle --- meta/recipes-devtools/binutils/binutils.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools

[OE-core] [PATCH 5/6] packagegroup-self-hosted: Use packagegroup-core-buildessentials

2013-11-12 Thread Mark Hatle
Instead of manually specifying build dependencies, use the packagegroup-core-buildessentials. This ensures there is only one place that needs to be modified when toolchain items and dependencies change. Signed-off-by: Mark Hatle --- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb

[OE-core] [PATCH 6/6] package_rpm: Allow translation of requirement to package name

2013-11-12 Thread Mark Hatle
FLICTS and RREPLACES. As a workaround replace the conflict REQUIRES with actual package names. Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass | 79 ++-- 1 file changed, 75 insertions(+), 4 deletions(-) diff --git a/meta/classes/package_rpm.bb

[OE-core] [PATCH 2/6] gcc: Drop *-symlinks

2013-11-12 Thread Mark Hatle
The -symlinks packages don't really add any value if we're using update-alternatives. Drop it, leaving an RPROVIDES in case anyone thought they needed it still. Signed-off-by: Mark Hatle --- meta/recipes-devtools/gcc/gcc-target.inc | 48 1 file c

[OE-core] [PATCH 4/6] packagegroups: Remove toolchain *-symlinks packages

2013-11-12 Thread Mark Hatle
We are no longer producing the *-symlinks packages, so remove the dependencies to those items. Signed-off-by: Mark Hatle --- meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb | 4 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 4 2 files

[OE-core] [PATCH 0/6] Misc changes relating to toolchain and image gen

2013-11-12 Thread Mark Hatle
616354f13732d13c17434d5b60b166f691c25761: binutils: Add gnu-config-native to DEPENDS (2013-11-12 16:00:20 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib mhatle/misc1 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mhatle/misc1 Mark Hatle (6): gcc: Use alternatives for the

[OE-core] [PATCH 6/6 v2] package_rpm: Allow translation of requirement to package name

2013-11-12 Thread Mark Hatle
FLICTS and RREPLACES. As a workaround replace the conflict REQUIRES with actual package names. Signed-off-by: Mark Hatle --- meta/classes/package_rpm.bbclass | 79 ++-- 1 file changed, 75 insertions(+), 4 deletions(-) diff --git a/meta/classes/package_rpm.bb

[OE-core] [PATCH 5/6 v2] packagegroup-self-hosted: Use packagegroup-core-buildessential

2013-11-12 Thread Mark Hatle
Instead of manually specifying build dependencies, use the packagegroup-core-buildessential. This ensures there is only one place that needs to be modified when toolchain items and dependencies change. Signed-off-by: Mark Hatle --- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb

Re: [OE-core] [PATCH 0/6] Misc changes relating to toolchain and image gen

2013-11-12 Thread Mark Hatle
On 11/12/13, 7:33 PM, Otavio Salvador wrote: On Tue, Nov 12, 2013 at 11:23 PM, Mark Hatle wrote: A few misc fixes relating to toolchain and image generation. The first two in the set simply updated gcc to remove the -symlinks package in favor of update-alternatives. The next fixes an issue w

Re: [OE-core] [PATCH 1/6] gcc: Use alternatives for the *-symlinks packages.

2013-11-12 Thread Mark Hatle
On 11/12/13, 8:24 PM, Otavio Salvador wrote: On Tue, Nov 12, 2013 at 11:23 PM, Mark Hatle wrote: The various gcc related symlinks should be provided as alternatives instead of hard coded symlinks. This will permit multiple toolchains on a system. Multiple toolchains could come from multilib

Re: [OE-core] [PATCH 0/6] Misc changes relating to toolchain and image gen

2013-11-12 Thread Mark Hatle
On 11/12/13, 8:01 PM, Mark Hatle wrote: On 11/12/13, 7:33 PM, Otavio Salvador wrote: On Tue, Nov 12, 2013 at 11:23 PM, Mark Hatle wrote: A few misc fixes relating to toolchain and image generation. The first two in the set simply updated gcc to remove the -symlinks package in favor of update

Re: [OE-core] [PATCH 6/6 v2] package_rpm: Allow translation of requirement to package name

2013-11-13 Thread Mark Hatle
On 11/13/13, 4:33 AM, Paul Eggleton wrote: Hi Mark, On Tuesday 12 November 2013 19:59:20 Mark Hatle wrote: In the translate oe to smart function, we only translated package names. However, it's allowed that people can put in a dependency name in the IMAGE_INSTALL. So on a failure to tran

Re: [OE-core] [PATCH 3/6] binutils: Ensure old -symlinks packages get removed

2013-11-13 Thread Mark Hatle
On 11/13/13, 5:14 AM, Phil Blundell wrote: On Wed, 2013-11-13 at 09:12 +0100, Martin Jansa wrote: On Tue, Nov 12, 2013 at 07:23:22PM -0600, Mark Hatle wrote: When the -symlinks package was removed and an RPROVIDES was added, nothing was put in to cause the removal of the older package in an

[OE-core] [PATCH 2/6 v3] gcc: Drop *-symlinks

2013-11-13 Thread Mark Hatle
The -symlinks packages don't really add any value if we're using update-alternatives. Drop it, leaving an RPROVIDES in case anyone thought they needed it still. Signed-off-by: Mark Hatle --- meta/recipes-devtools/gcc/gcc-target.inc | 54 ++-- 1 file c

[OE-core] [PATCH 3/6 v3] binutils: Ensure old -symlinks packages get removed

2013-11-13 Thread Mark Hatle
When the -symlinks package was removed and an RPROVIDES was added, nothing was put in to cause the removal of the older package in an upgrade. Signed-off-by: Mark Hatle --- meta/recipes-devtools/binutils/binutils.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools

Re: [OE-core] [PATCH 1/1] sanity.bbclass: check for validity of TMPDIR

2013-11-14 Thread Mark Hatle
On 11/14/13, 7:42 AM, Phil Blundell wrote: On Thu, 2013-11-14 at 06:27 -0700, Gary Thomas wrote: Also, is "-" actually valid? I seem to recall having problems when my build tree had the hyphen ("-") in the path. Paths with "-" in certainly work for me. If there are any recipes which break in

Re: [OE-core] [PATCH 1/1] sanity.bbclass: check for validity of TMPDIR

2013-11-14 Thread Mark Hatle
On 11/14/13, 10:04 AM, Phil Blundell wrote: On Thu, 2013-11-14 at 09:49 -0600, Mark Hatle wrote: On 11/14/13, 7:42 AM, Phil Blundell wrote: On Thu, 2013-11-14 at 06:27 -0700, Gary Thomas wrote: Also, is "-" actually valid? I seem to recall having problems when my build tree had

Re: [OE-core] [PATCH 6/6 v2] package_rpm: Allow translation of requirement to package name

2013-11-15 Thread Mark Hatle
On 11/15/13, 8:02 AM, Richard Purdie wrote: On Tue, 2013-11-12 at 19:59 -0600, Mark Hatle wrote: In the translate oe to smart function, we only translated package names. However, it's allowed that people can put in a dependency name in the IMAGE_INSTALL. For what its worth, I find

<    2   3   4   5   6   7   8   9   10   11   >