Re: [OE-core] [PATCH 1/1] INITRD var: make it a list of filesystem images

2014-08-04 Thread Nitin A Kamble
On 8/4/2014 9:38 AM, Hart, Darren wrote: On 7/29/14, 11:34, "Kamble, Nitin A" wrote: From: Nitin A Kamble Hi Nitin, Generally speaking this looks like a good improvement. I don't have any major technical concerns, but we do need to address some grammatical issues in the commit and the docs

Re: [OE-core] [PATCH][RFC/RFT] busybox: Make busybox connman aware

2014-08-04 Thread Saul Wold
On 08/04/2014 07:03 PM, Saul Wold wrote: This change makes busybox aware of both connman and the standard dhcp client, while there is a caveat about using busybox's ifup/ifdown, this change will make the 3 possibly dhcp clients behave better when busybox is used. Enable the CONFIG_FEATURE_IFUPDO

[OE-core] [PATCH][RFC/RFT] busybox: Make busybox connman aware

2014-08-04 Thread Saul Wold
This change makes busybox aware of both connman and the standard dhcp client, while there is a caveat about using busybox's ifup/ifdown, this change will make the 3 possibly dhcp clients behave better when busybox is used. Enable the CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP feature to busybox will se

[OE-core] [PATCH] kexec-tools: Create separate package for vmcore-dmesg

2014-08-04 Thread Ricardo Neri
The kexec-tools recipe already specifies separate packages for kexec and kdump. Thus, it follows that a separate package can also be used to install vmcore-dmesg granularly. Signed-off-by: Ricardo Neri --- meta/recipes-kernel/kexec/kexec-tools_2.0.7.bb | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Khem Raj
On Aug 4, 2014 4:45 PM, "Ben Shelton" wrote: > > On 08/04, Khem Raj wrote: > > On 14-08-04 13:40:53, Ben Shelton wrote: > > > From: Richard Tollerton > > > > > > $DEVCACHE is observed to be 100k uncompressed; compressing it reduces > > > its size to ~5k. > > > > > > Natinst-Rally-ID: TA44427 > >

Re: [OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Ben Shelton
On 08/04, Khem Raj wrote: > On 14-08-04 13:40:53, Ben Shelton wrote: > > From: Richard Tollerton > > > > $DEVCACHE is observed to be 100k uncompressed; compressing it reduces > > its size to ~5k. > > > > Natinst-Rally-ID: TA44427 > > Acked-by: Gratian Crisan > > Natinst-ReviewBoard-ID: 58620 >

Re: [OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Khem Raj
On 14-08-04 13:40:53, Ben Shelton wrote: > From: Richard Tollerton > > $DEVCACHE is observed to be 100k uncompressed; compressing it reduces > its size to ~5k. > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-ID: 58620 > Signed-off-by: Richard Tollerton > --- > m

Re: [OE-core] blocking pie in recipes that build shared object files

2014-08-04 Thread Khem Raj
On 14-08-04 09:56:37, Peter A. Bigot wrote: > I've now hit two recipes in meta-openembedded that fail on armv7-a because > SECURITY_CFLAGS has -pie as an option that leaks into a link command > building a shared object file. This produces: > > | > /prj/oe/omap/build-beaglebone-master/tmp/sysroots

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Khem Raj
On 14-08-04 15:18:05, Paul Eggleton wrote: > Hi Sujith, > > On Monday 04 August 2014 19:27:08 Sujith H wrote: > > From: Sujith H > > > > If hostname is not added to /etc/hosts file then rpcinfo > > command fails when hostname is passed as argument. This was > > observed when rpcinfo command was

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Richard Tollerton
Otavio Salvador writes: > On Mon, Aug 4, 2014 at 6:37 PM, Richard Tollerton > wrote: >> Otavio Salvador writes: >> >>> On Mon, Aug 4, 2014 at 6:18 PM, Richard Tollerton >>> wrote: Otavio Salvador writes: > I am not sure about this one. I see the value you are adding here but >

Re: [OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Ben Shelton
On 08/04, Otavio Salvador wrote: > On Mon, Aug 4, 2014 at 6:38 PM, Ben Shelton wrote: > > On 08/04, Otavio Salvador wrote: > >> On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton wrote: > >> > From: Richard Tollerton > >> > > >> > The udev-cache facility uses files that represent system states, to > >>

Re: [OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 6:38 PM, Ben Shelton wrote: > On 08/04, Otavio Salvador wrote: >> On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton wrote: >> > From: Richard Tollerton >> > >> > The udev-cache facility uses files that represent system states, to >> > ensure that the cache tarball is valid to ap

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 6:37 PM, Richard Tollerton wrote: > Otavio Salvador writes: > >> On Mon, Aug 4, 2014 at 6:18 PM, Richard Tollerton >> wrote: >>> Otavio Salvador writes: >>> I am not sure about this one. I see the value you are adding here but I worry how often something can be

Re: [OE-core] [PATCH 11/20] udev-cache: parametrize tar options

2014-08-04 Thread Ben Shelton
On 08/04, Otavio Salvador wrote: > On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton wrote: > > From: Richard Tollerton > > > > The options to pass to `tar` for cache create/extract are likely to > > change due to system configuration circumstances (e.g. using busybox tar > > instead of GNU tar). So mo

Re: [OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Ben Shelton
On 08/04, Otavio Salvador wrote: > On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton wrote: > > From: Richard Tollerton > > > > The udev-cache facility uses files that represent system states, to > > ensure that the cache tarball is valid to apply. These paths were > > hardcoded in several places; coll

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Richard Tollerton
Otavio Salvador writes: > On Mon, Aug 4, 2014 at 6:18 PM, Richard Tollerton > wrote: >> Otavio Salvador writes: >> >>> I am not sure about this one. I see the value you are adding here but >>> I worry how often something can be connected during this process and >>> change the contents along th

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 6:18 PM, Richard Tollerton wrote: > Otavio Salvador writes: > >> I am not sure about this one. I see the value you are adding here but >> I worry how often something can be connected during this process and >> change the contents along the way. Did you see something as that

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Richard Tollerton
Otavio Salvador writes: > I am not sure about this one. I see the value you are adding here but > I worry how often something can be connected during this process and > change the contents along the way. Did you see something as that > during your tests? No, but point taken. I didn't really test

[OE-core] [PATCH] gstreamer1.0-omx: Remove unnecessary dependency on plugins-bad.

2014-08-04 Thread Drew Moseley
This also corrects an erroneous overwriting of the dependencies from the inc file. Signed-off-by: Drew Moseley --- meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb b/meta/reci

Re: [OE-core] patchwork client problems

2014-08-04 Thread Otavio Salvador
On Fri, Aug 1, 2014 at 10:07 PM, Peter A. Bigot wrote: > On 07/14/2014 04:21 AM, Peter A. Bigot wrote: >> >> I'm finding attempts to use pwclient on >> http://patches.openembedded.org/xmlrpc/ produce an ExpatError because the >> returned document is always empty (per a wireshark trace of the >> tr

Re: [OE-core] [PATCH 2/3] alsa-lib: fix hw_ptr exceed the boundary

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 12:21 AM, Wang Zidan wrote: > For long time test case, the hw_ptr will exceed the boundary, then cause > the avail size wrong. > > Signed-off-by: Wang Zidan Acked-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.

Re: [OE-core] [PATCH 3/3] alsa-lib: pcm_local.h: include to enable CLOCK_MONOTONIC

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 12:21 AM, Wang Zidan wrote: > CLOCK_MONITONIC is defined in , add before . > > Signed-off-by: Wang Zidan Acked-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55

Re: [OE-core] [PATCH 1/3] alsa-lib: use get32_labels for multi-source

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 12:21 AM, Wang Zidan wrote: > The PCM route plugin can assign the destination value from average of > multiple sources with attenuation. This requires the read of each > channel value, sums and writes the resultant value in the requested > format. > > get_labels gives the va

Re: [OE-core] [PATCH 11/20] udev-cache: parametrize tar options

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton wrote: > From: Richard Tollerton > > The options to pass to `tar` for cache create/extract are likely to > change due to system configuration circumstances (e.g. using busybox tar > instead of GNU tar). So move the more detailed options into > the defau

Re: [OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton wrote: > From: Richard Tollerton > > The udev-cache facility uses files that represent system states, to > ensure that the cache tarball is valid to apply. These paths were > hardcoded in several places; collect them into DEVCACHE_SYSCONF and > DEVCACHE

Re: [OE-core] [PATCH 18/20] udev: Make build MACHINE-specific

2014-08-04 Thread Martin Jansa
On Mon, Aug 04, 2014 at 01:41:10PM -0500, Ben Shelton wrote: > From: Richard Tollerton > > For space reasons, udev needs to be configured differently depending on > MACHINE_FEATURES. So set PACKAGE_ARCH accordingly. > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-

Re: [OE-core] [PATCH 09/20] udev-cache.default: documentation update

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton wrote: > From: Richard Tollerton > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-ID: 58620 > Signed-off-by: Richard Tollerton > --- Acked-by: Otavio Salvador -- Otavio Salvador O.S. Syste

Re: [OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:41 PM, Ben Shelton wrote: > From: Richard Tollerton > > Don't hold up the boot while the cache tarball is created. > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-ID: 58620 > Signed-off-by: Richard Tollerton I am not sure about this one.

Re: [OE-core] [PATCH 19/20] udev: Disable keymap support on machines lacking keyboard support

2014-08-04 Thread Martin Jansa
On Mon, Aug 04, 2014 at 01:41:11PM -0500, Ben Shelton wrote: > From: Richard Tollerton > > /lib/udev/keymaps/ is 244k. On headless machines, this is wasted space. > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-ID: 58621 > Signed-off-by: Richard Tollerton > --- >

Re: [OE-core] [PATCH 20/20] udev: don't halt if devtmpfs can't be mounted

2014-08-04 Thread Martin Jansa
On Mon, Aug 04, 2014 at 01:41:12PM -0500, Ben Shelton wrote: > From: Richard Tollerton > > Halting if udev cannot start is problematic for a couple reasons. > - Compared to a reboot loop, halting is much more difficult to recover > from in remote deployments. > - If the rootfs has a prepopulate

Re: [OE-core] [oe-core][PATCH] tcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny

2014-08-04 Thread Khem Raj
On Mon, Aug 4, 2014 at 2:15 AM, Yao Xinpan wrote: > + > + install -d ${D}${sysconfdir} > + touch ${D}${sysconfdir}/hosts.allow > + touch ${D}${sysconfdir}/hosts.deny > } > > +FILES_${PN} += "${sysconfdir}/hosts.allow ${sysconfdir}/hosts.deny" these are dynamic files I dont thin

Re: [OE-core] [PATCH 07/20] udev-cache: Update cache tarball atomically

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton wrote: > From: Richard Tollerton > > Overwriting the tarball in-place could cause a partial write, if the > system stops at an inopportune time. This is mitigated by first writing to a > temporary file, then moving that file on top of the final location

Re: [OE-core] [PATCH 06/20] udev-cache: Remove superfluous subshell on extract

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton wrote: > From: Richard Tollerton > > tar -C exists in both GNU and busybox tar, so use that instead of > (cd /; tar ...). This allows the subshell to be removed. > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-ID: 58620 >

Re: [OE-core] [PATCH 05/20] busybox: tar: enable CONFIG_FEATURE_TAR_LONG_OPTIONS

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton wrote: > This config flag is needed to support the --exclude option, which is > needed for the commit 'udev-cache: Don't ignore errors from cache > extract'. > > Enabling this option adds 352 bytes to the size of busybox on i386. > > Signed-off-by: Ben S

Re: [OE-core] [PATCH 04/20] udev-cache: Don't ignore errors from cache extract

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton wrote: > From: Richard Tollerton > > Currently, error messages generated during tarball extract are > suppressed. This seems ham-handed, particularly since under normal > operation, the only expected error ought to be the attempted extraction > of pipes

Re: [OE-core] [PATCH 03/20] udev-cache: Honor VERBOSE for bootup message

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton wrote: > From: Richard Tollerton > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-ID: 58620 > Signed-off-by: Richard Tollerton > --- Acked-by: Otavio Salvador -- Otavio Salvador O.S. Syste

Re: [OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton wrote: > From: Richard Tollerton > > $DEVCACHE is observed to be 100k uncompressed; compressing it reduces > its size to ~5k. > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-ID: 58620 > Signed-off-by: Richard Tollerton

Re: [OE-core] [PATCH 02/20] udev-cache: choose a more descriptive cache filename

2014-08-04 Thread Otavio Salvador
On Mon, Aug 4, 2014 at 3:40 PM, Ben Shelton wrote: > From: Richard Tollerton > > "/etc/dev.tar.gz" doesn't adequately imply that udev-cache > maintains it. Instead, call it "/etc/udev-cache.tar.gz". > > Natinst-Rally-ID: TA44427 > Acked-by: Gratian Crisan > Natinst-ReviewBoard-ID: 58620 > Signed

[OE-core] [PATCH] create-pull-request: Fix error on 2.0 versions of git

2014-08-04 Thread Ben Shelton
On 2.0 versions of git, the create-pull-request script exits with the warning "No match for commit... Are you sure you pushed 'HEAD' there?". This is due to a change in behavior where git used to guess the branch you meant, but no longer does. See the thread at http://www.spinics.net/lists/git/ms

[OE-core] [PATCH 20/20] udev: don't halt if devtmpfs can't be mounted

2014-08-04 Thread Ben Shelton
From: Richard Tollerton Halting if udev cannot start is problematic for a couple reasons. - Compared to a reboot loop, halting is much more difficult to recover from in remote deployments. - If the rootfs has a prepopulated /dev (which happens somewhat often), the system may be able to boot u

[OE-core] [PATCH 18/20] udev: Make build MACHINE-specific

2014-08-04 Thread Ben Shelton
From: Richard Tollerton For space reasons, udev needs to be configured differently depending on MACHINE_FEATURES. So set PACKAGE_ARCH accordingly. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natinst-ReviewBoard-ID: 58621 Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev.

[OE-core] [PATCH 13/20] udev-cache: Avoid caching udev.cache or non-devfs filesystems

2014-08-04 Thread Ben Shelton
From: Richard Tollerton If $DEVCACHE_CURRENT_SYSCONF gets stored in the cache tarball, and extracted, then udev-cache will needlessly rebuild the cache on every future boot. The direct fix to this is to explicitly exclude it. Investigating this also uncovered that we're also archiving everything

[OE-core] [PATCH 00/20] udev-cache related changes

2014-08-04 Thread Ben Shelton
This patchset contains changes to the udev-cache scripts to reduce size on disk, to improve error reporting, and to fix bugs, and a few fixes and tweaks to udev overall. The following changes since commit 5a09acef73b5cfc59bbcd3e93603c99a8c078bd8: local.conf.sample.extended: fix example for EXTR

[OE-core] [PATCH 06/20] udev-cache: Remove superfluous subshell on extract

2014-08-04 Thread Ben Shelton
From: Richard Tollerton tar -C exists in both GNU and busybox tar, so use that instead of (cd /; tar ...). This allows the subshell to be removed. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev/

[OE-core] [PATCH 09/20] udev-cache.default: documentation update

2014-08-04 Thread Ben Shelton
From: Richard Tollerton Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev/udev-cache.default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/udev/udev/udev-cach

[OE-core] [PATCH 16/20] udev-cache: invalidate on rules.d changes

2014-08-04 Thread Ben Shelton
From: Richard Tollerton Presently, $DEVCACHE_CURRENT_SYSCONF doesn't change if rules are modified, which may cause the cache to preserve an old configuration. To fix, include `ls -l` output for all rules, which ought to be reasonably fast to run on boot. Natinst-Rally-ID: TA44427 Acked-by: Grati

[OE-core] [PATCH 02/20] udev-cache: choose a more descriptive cache filename

2014-08-04 Thread Ben Shelton
From: Richard Tollerton "/etc/dev.tar.gz" doesn't adequately imply that udev-cache maintains it. Instead, call it "/etc/udev-cache.tar.gz". Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev/udev-ca

[OE-core] [PATCH 11/20] udev-cache: parametrize tar options

2014-08-04 Thread Ben Shelton
From: Richard Tollerton The options to pass to `tar` for cache create/extract are likely to change due to system configuration circumstances (e.g. using busybox tar instead of GNU tar). So move the more detailed options into the defaults file to allow for easier overrides. Natinst-Rally-ID: TA44

[OE-core] [PATCH 08/20] udev-cache: Create cache asynchronously

2014-08-04 Thread Ben Shelton
From: Richard Tollerton Don't hold up the boot while the cache tarball is created. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev/udev-cache | 8 +--- 1 file changed, 5 insertions(+), 3 dele

[OE-core] [PATCH 05/20] busybox: tar: enable CONFIG_FEATURE_TAR_LONG_OPTIONS

2014-08-04 Thread Ben Shelton
This config flag is needed to support the --exclude option, which is needed for the commit 'udev-cache: Don't ignore errors from cache extract'. Enabling this option adds 352 bytes to the size of busybox on i386. Signed-off-by: Ben Shelton --- meta/recipes-core/busybox/busybox/defconfig | 2 +-

[OE-core] [PATCH 14/20] udev-cache: refactor; improve verbosity and error handling

2014-08-04 Thread Ben Shelton
From: Richard Tollerton Most of /etc/init.d/udev-cache is in a conditional block which can be replaced by a `[ ... ] || exit 0` to reduce nesting. This eliminates a `rm -f` which was dead code anyway. This also provides the opportunity to emit a few more messages if VERBOSE is set, which may hel

[OE-core] [PATCH 07/20] udev-cache: Update cache tarball atomically

2014-08-04 Thread Ben Shelton
From: Richard Tollerton Overwriting the tarball in-place could cause a partial write, if the system stops at an inopportune time. This is mitigated by first writing to a temporary file, then moving that file on top of the final location. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natins

[OE-core] [PATCH 04/20] udev-cache: Don't ignore errors from cache extract

2014-08-04 Thread Ben Shelton
From: Richard Tollerton Currently, error messages generated during tarball extract are suppressed. This seems ham-handed, particularly since under normal operation, the only expected error ought to be the attempted extraction of pipes, which typically only means /dev/log. So stop the redirection

[OE-core] [PATCH 19/20] udev: Disable keymap support on machines lacking keyboard support

2014-08-04 Thread Ben Shelton
From: Richard Tollerton /lib/udev/keymaps/ is 244k. On headless machines, this is wasted space. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natinst-ReviewBoard-ID: 58621 Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev.inc | 1 + 1 file changed, 1 insertion(+) diff --g

[OE-core] [PATCH 01/20] udev-cache: Compress the cache

2014-08-04 Thread Ben Shelton
From: Richard Tollerton $DEVCACHE is observed to be 100k uncompressed; compressing it reduces its size to ~5k. Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev/init | 2 +- meta/reci

[OE-core] [PATCH 03/20] udev-cache: Honor VERBOSE for bootup message

2014-08-04 Thread Ben Shelton
From: Richard Tollerton Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton --- meta/recipes-core/udev/udev/udev-cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/udev/udev/udev-cache b/met

[OE-core] [PATCH 10/20] udev-cache: parametrize sysconf file paths

2014-08-04 Thread Ben Shelton
From: Richard Tollerton The udev-cache facility uses files that represent system states, to ensure that the cache tarball is valid to apply. These paths were hardcoded in several places; collect them into DEVCACHE_SYSCONF and DEVCACHE_CURRENT_SYSCONF in the defaults file. Natinst-Rally-ID: TA444

[OE-core] [PATCH 17/20] udev-cache: fix udev-cache changes to work with busybox tar

2014-08-04 Thread Ben Shelton
busybox tar does not support the --one-file-system option that we use to keep tar from archiving unnecessary files that live under /dev but are not mounted under the devtmpfs. Instead, when GNU tar is not present, use find to pass tar a list of the files that need to be cached. Additionally, busy

[OE-core] [PATCH 15/20] udev-cache: don't attempt to extract cache if it doesn't exist

2014-08-04 Thread Ben Shelton
From: Richard Tollerton If you try to invalidate the udev cache solely by deleting the tarball, while forgetting to also remove the config file ($DEVCACHE_SYSCONF), then tar will fail. Fortunately the cache will get regenerated on this boot because $DEVCACHE_CURRENT_SYSCONF still exists, but to

[OE-core] [PATCH 12/20] udev-cache: fix timestamp errors on systems lacking an RTC

2014-08-04 Thread Ben Shelton
From: Richard Tollerton If the system lacks an RTC, the time will typically start from the epoch, and may get set to the "correct" time later (if at all). In this circumstance, the timestamps in the cache tarball will always be in the future. gnutar complains bitterly about this. To work around

Re: [OE-core] [PATCH 1/1] INITRD var: make it a list of filesystem images

2014-08-04 Thread Hart, Darren
On 7/29/14, 11:34, "Kamble, Nitin A" wrote: >From: Nitin A Kamble Hi Nitin, Generally speaking this looks like a good improvement. I don't have any major technical concerns, but we do need to address some grammatical issues in the commit and the docs below to make sure people can follow the in

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
On Mon, Aug 4, 2014 at 9:05 PM, Enrico Scholz < enrico.sch...@sigma-chemnitz.de> wrote: > Sujith H writes: > > > If hostname is not added to /etc/hosts file then rpcinfo command fails > > when hostname is passed as argument. > > ... > > root@mx6q:~# rpcinfo -s mx6q > > rpcinfo: can't contact rpcb

[OE-core] [PATCH] sysvinit: allow stack size configuration from rcS

2014-08-04 Thread Ben Shelton
From: Scot Salmon For certain swap/overcommit settings (e.g. when overcommit is disabled on a real-time system), we need to limit the stack size used by initscripts. When the STACK_SIZE environment variable is set (usually in /etc/default/rcS), ulimit the stack size to the value specified. Make

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
On Mon, Aug 4, 2014 at 8:19 PM, Paul Eggleton wrote: > On Monday 04 August 2014 20:03:09 sujith h wrote: > > Hi Paul, > > > > > > On Mon, Aug 4, 2014 at 7:48 PM, Paul Eggleton < > paul.eggle...@linux.intel.com > > > wrote: > > > > > > Hi Sujith, > > > > > > On Monday 04 August 2014 19:27:08 Sujit

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Enrico Scholz
Sujith H writes: > If hostname is not added to /etc/hosts file then rpcinfo command fails > when hostname is passed as argument. > ... > root@mx6q:~# rpcinfo -s mx6q > rpcinfo: can't contact rpcbind: RPC: (unknown error code) Is this really a common/valid use case? 'rpcinfo' is a debug tool and

[OE-core] blocking pie in recipes that build shared object files

2014-08-04 Thread Peter A. Bigot
I've now hit two recipes in meta-openembedded that fail on armv7-a because SECURITY_CFLAGS has -pie as an option that leaks into a link command building a shared object file. This produces: | /prj/oe/omap/build-beaglebone-master/tmp/sysroots/beaglebone/usr/lib/Scrt1.o: In function `_start':

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Paul Eggleton
On Monday 04 August 2014 20:03:09 sujith h wrote: > Hi Paul, > > > On Mon, Aug 4, 2014 at 7:48 PM, Paul Eggleton > wrote: > > > > Hi Sujith, > > > > On Monday 04 August 2014 19:27:08 Sujith H wrote: > > > From: Sujith H > > > > > > If hostname is not added to /etc/hosts file then rpcinfo > >

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
Hi Paul, On Mon, Aug 4, 2014 at 7:48 PM, Paul Eggleton wrote: > Hi Sujith, > > On Monday 04 August 2014 19:27:08 Sujith H wrote: > > From: Sujith H > > > > If hostname is not added to /etc/hosts file then rpcinfo > > command fails when hostname is passed as argument. This was > > observed when

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Paul Eggleton
Hi Sujith, On Monday 04 August 2014 19:27:08 Sujith H wrote: > From: Sujith H > > If hostname is not added to /etc/hosts file then rpcinfo > command fails when hostname is passed as argument. This was > observed when rpcinfo command was tested on freescale target. > Below was the output observed

Re: [OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
Hi, Let me know if any more changes have to be made to make this patch look better. On Mon, Aug 4, 2014 at 7:27 PM, Sujith H wrote: > From: Sujith H > > If hostname is not added to /etc/hosts file then rpcinfo > command fails when hostname is passed as argument. This was > observed when rpci

[OE-core] [PATCH] image.bbclass: Adding loop back for machine name in hosts file

2014-08-04 Thread Sujith H
From: Sujith H If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. This was observed when rpcinfo command was tested on freescale target. Below was the output observed without this change. root@mx6q:~# rpcinfo -s mx6q rpcinfo: can't contact

Re: [OE-core] [PATCH 1/2] netbase: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
Kindly ignore the above patch. It was sent by mistake :( Sorry for trouble. On Mon, Aug 4, 2014 at 7:24 PM, Sujith H wrote: > From: Sujith H > > If hostname is not added to /etc/hosts file then rpcinfo > command fails when hostname is passed as argument. This was > observed when rpcinfo comman

[OE-core] [PATCH 1/2] netbase: Adding loop back for machine name in hosts file

2014-08-04 Thread Sujith H
From: Sujith H If hostname is not added to /etc/hosts file then rpcinfo command fails when hostname is passed as argument. This was observed when rpcinfo command was tested on freescale target. Below was the output observed without this change. root@mx6q:~# rpcinfo -s mx6q rpcinfo: can't contact

Re: [OE-core] [PATCH] netbase: Adding loop back for machine name in hosts file

2014-08-04 Thread sujith h
Hi, I will post the new patch with ROOTFS_POSTPROCESS_COMMAND. Thanks for the feedback. On Fri, Aug 1, 2014 at 2:52 PM, Enrico Scholz < enrico.sch...@sigma-chemnitz.de> wrote: > Otavio Salvador writes: > > >>> + echo 127.0.1.1 " "${MACHINE} >> > ${D}${sysconfdir}/hosts > >> >

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Robert P. J. Day
On Mon, 4 Aug 2014, Richard Purdie wrote: > On Mon, 2014-08-04 at 09:42 -0400, Robert P. J. Day wrote: > > oh ... that's still kind of weaselly terminology. :-) i'm not > > *trying* to be annoyingly pedantic, but this is just the kind of thing > > that students tend to ask about, which is wh

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Richard Purdie
On Mon, 2014-08-04 at 09:42 -0400, Robert P. J. Day wrote: > oh ... that's still kind of weaselly terminology. :-) i'm not > *trying* to be annoyingly pedantic, but this is just the kind of thing > that students tend to ask about, which is why i want to nail the > details. > > the current

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Paul Eggleton
On Monday 04 August 2014 09:42:35 Robert P. J. Day wrote: > On Mon, 4 Aug 2014, Paul Eggleton wrote: > > On Sunday 03 August 2014 02:56:04 Robert P. J. Day wrote: > > > On Sat, 2 Aug 2014, Khem Raj wrote: > > > > On 14-08-02 15:57:00, Robert P. J. Day wrote: > > > > > On Sat, 2 Aug 2014, Khem Raj w

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Robert P. J. Day
On Mon, 4 Aug 2014, Paul Eggleton wrote: > On Sunday 03 August 2014 02:56:04 Robert P. J. Day wrote: > > On Sat, 2 Aug 2014, Khem Raj wrote: > > > On 14-08-02 15:57:00, Robert P. J. Day wrote: > > > > On Sat, 2 Aug 2014, Khem Raj wrote: > > > > > On Sat, Aug 2, 2014 at 9:34 AM, Robert P. J. Day >

Re: [OE-core] cups: fix host contamination issue

2014-08-04 Thread Peter A. Bigot
On 08/01/2014 06:04 AM, Koen Kooi wrote: -I/usr/include would end up in CFLAGS if /usr/bin/gcrypt-config is present on the host systemd. Signed-off-by: Koen Kooi Yes, http://patches.openembedded.org/patch/77153/ should (IMO) supersede this. It's my follow-up after Ross disliked http://pat

Re: [OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

2014-08-04 Thread Paul Eggleton
On Sunday 03 August 2014 02:56:04 Robert P. J. Day wrote: > On Sat, 2 Aug 2014, Khem Raj wrote: > > On 14-08-02 15:57:00, Robert P. J. Day wrote: > > > On Sat, 2 Aug 2014, Khem Raj wrote: > > > > On Sat, Aug 2, 2014 at 9:34 AM, Robert P. J. Day wrote: > > > > > say, pkg_prerm() functions would ne

[OE-core] [PATCH 1/1] scripts/send-error-report: fetch /Errors/ instead of /.

2014-08-04 Thread Roxana Ciobanu
If HTTP_PROXY or http_proxy is set when the send-error-report script is run, it will check to see if fetching / on the specified server returns 200 without the proxy set. If it does it will assume that the proxy is not needed. However this check can never work because fetching / always redirects to

[OE-core] [PATCH 0/1] Fix for YB6576

2014-08-04 Thread Roxana Ciobanu
The following changes since commit 0a7530fcd2e8ae91b297a3ebd9877957f0550d4c: upstream-tracking: Add various CHECK_DATE and UPDATE_REASONs for my recipes (2014-08-03 12:40:41 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib roxana/YB6576 http://git.yoc

Re: [OE-core] a few questions on the proper use of TEMPLATECONF

2014-08-04 Thread Robert P. J. Day
short followup to my earlier post ... it seems like oe-setup-builddir doesn't do a whole lot of input validation. for fun, i tried to define a new project using /tmp for TEMPLATECONF, knowing there was nothing valid there to be used as sample files, and here's what i got (in part): cp: cannot s

[OE-core] [PATCH 0/1] Fix for YB6538

2014-08-04 Thread Roxana Ciobanu
The following changes since commit c1ee6cdfde5d1fe5f38a1e8eef5b7b0dd086df95: README: add required version for django-nvd3 (2014-03-06 13:43:30 +0200) are available in the git repository at: git://git.yoctoproject.org/poky-contrib roxana/YB6538 http://git.yoctoproject.org/cgit.cgi/poky-cont

[OE-core] [PATCH 1/1] error page/search result page: Display submission date/time information

2014-08-04 Thread Roxana Ciobanu
Show the submission date and time for an error in the search results page as a table column and in the the error page as a definition list item in the "Error details" section. Signed-off-by: Roxana Ciobanu --- Post/createStatistics.py | 4 Post/getInfo.py | 3 +++ Post/

Re: [OE-core] [PATCH] cups: fix host contamination issue

2014-08-04 Thread Koen Kooi
Op 4 aug. 2014, om 11:46 heeft Richard Purdie het volgende geschreven: > On Fri, 2014-08-01 at 13:04 +0200, Koen Kooi wrote: >> -I/usr/include would end up in CFLAGS if /usr/bin/gcrypt-config is >> present on the host systemd. >> >> Signed-off-by: Koen Kooi >> --- >> ...crypt-config-from-the-

[OE-core] a few questions on the proper use of TEMPLATECONF

2014-08-04 Thread Robert P. J. Day
first time perusing all that templateconf stuff, so some admittedly simple questions. i'm looking at oe-setup-builddir, which is where the initialization of the new build dir is done, so let's start at the top: if [ -z "$BUILDDIR" ]; then echo >&2 "Error: The build directory (BUILDDIR)

[OE-core] perform_packagecopy can't handle bindir==base_bindir and errors out

2014-08-04 Thread Koen Kooi
Hi, I'm currently trying to combine {base_}{lib,bin}dir and have set base_prefix to /usr and redefined some other vars: +# Try to move distro stuff under /usr +# Keep /etc and friend in / +base_prefix = "/usr" +nonarch_base_libdir = "/lib" +sysconfdir = "/etc" +servicedir = "/srv" +sharedstatedi

Re: [OE-core] [PATCH] cups: fix host contamination issue

2014-08-04 Thread Richard Purdie
On Fri, 2014-08-01 at 13:04 +0200, Koen Kooi wrote: > -I/usr/include would end up in CFLAGS if /usr/bin/gcrypt-config is > present on the host systemd. > > Signed-off-by: Koen Kooi > --- > ...crypt-config-from-the-host-it-leads-to-SS.patch | 28 > ++ > meta/recipes-extended/

[OE-core] [oe-core][PATCH] tcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny

2014-08-04 Thread Yao Xinpan
Signed-off-by: Yao Xinpan --- meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index c7954e7..034b33b 100644 --- a/meta/r

[OE-core] [PATCH] tcp-wrappers: fix do_install when $prefix == $base_prefix

2014-08-04 Thread Koen Kooi
Signed-off-by: Koen Kooi --- meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index c7954e7..11cc24

Re: [OE-core] [PATCH] dnsmasq: fix parallel make failure

2014-08-04 Thread Shrikant Bobade
Thanks Richard, Pushing it to oe-devel list.. Thanks Shrikant On Mon, Aug 4, 2014 at 2:24 PM, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2014-08-01 at 19:16 +0530, Shrikant Bobade wrote: > > From: Shrikant Bobade > > > > The dnsmasq target depends on .configured and

Re: [OE-core] [PATCH] dnsmasq: fix parallel make failure

2014-08-04 Thread Richard Purdie
On Fri, 2014-08-01 at 19:16 +0530, Shrikant Bobade wrote: > From: Shrikant Bobade > > The dnsmasq target depends on .configured and $(objs). .configured does an rm > -f *.o. Yet the only thing telling make to build the .configured target before > the $(objs) target was the order of the dependenci

[OE-core] [PATCH] psmisc: Typo in fuser makes -M on all the time

2014-08-04 Thread Patrice B
psmisc: Typo in fuser makes -M on all the time It adds a patch to fix a major issue on fuser that behaves as if -M option is always used. More info on psmisc website here : http://sourceforge.net/p/psmisc/code/ci/3638cc55b4d08851faba46635d737b24d016665b/ Signed-off-by: Patrice Bouchand