[oe] Compiling the kernel source from Angstrom distribution & building an OS console-image.

2013-12-13 Thread vishal gupta
Thank you Koen for the reply.

I made the local changes so that i can include some features in my kernel.
The features are:
1.The camera driver mt9t112 for LI-LBCM3M1 from leopard imaging.
2.The camera driver mt9v113 for LI-LBCMVGA from leopard imaging.

As per a small test carried out by me i found that both the above camera
modules work fine with the pre-build image with Kernel  Version 2.6.32 from
Narccissus Image Builder.

So i downloaded the source of this Narccissus image from Angstrom
Distribution (https://github.com/Angstrom-distribution/meta-angstrom) and i
went for making the below listed local changes to change the default kernel
version which is 3.2.28 to the kernel version 2.6.32.

In the beagleboard.conf file present in the meta-ti layer i made the
following changes.
""
#PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"

""

& adding an smc.patch to resolve  another error which i got when i compiled
above changed ,below is the error what i got.
""
/tmp/ccWRvvsG.s:309: Error: selected processor does not support ARM mode
`smc #0'
""

This error was resolved as i added the smc.patch.

But encountered with the error when command "MACHINE=beagleboard bitbake
console-image" is run  i got the error as presented in previous mail and
below again :
"
cp: cannot stat `include/generated/bounds.h': No such file or directory
ERROR: Function failed: do_compileconfigs (see
/home/vishal/oe-nad/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/beagleboard-angstrom-linux-gnueabi/linux-omap-psp-2.6.32-r122c+gitr5fc29e7b2a76a64a739f857858ef0b98294aa155/temp/log.do_compileconfigs.22554
for further information)
"

Now I hope you have more information...!!
Sorry that i was not clear in explanation in my previous mail.

Please guide me to debug this "Function failed: do_compileconfigs" issue..

Vishal
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] postgresql: apply upstream parallel make fix

2013-12-13 Thread Christopher Larson
Reported-by: Drew Moseley 
Signed-off-by: Christopher Larson 
---
 .../postgresql-9.2.4/ecpg-parallel-make-fix.patch  | 31 ++
 .../recipes-support/postgresql/postgresql_9.2.4.bb |  5 +++-
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-support/postgresql/postgresql-9.2.4/ecpg-parallel-make-fix.patch

diff --git 
a/meta-oe/recipes-support/postgresql/postgresql-9.2.4/ecpg-parallel-make-fix.patch
 
b/meta-oe/recipes-support/postgresql/postgresql-9.2.4/ecpg-parallel-make-fix.patch
new file mode 100644
index 000..63615cd
--- /dev/null
+++ 
b/meta-oe/recipes-support/postgresql/postgresql-9.2.4/ecpg-parallel-make-fix.patch
@@ -0,0 +1,31 @@
+Upstream-status: backport
+
+From 602070f9cce790debd8d1469254e7726ab499ae7 Mon Sep 17 00:00:00 2001
+From: Peter Eisentraut 
+Date: Fri, 29 Mar 2013 21:39:55 -0400
+Subject: [PATCH] ecpg: Parallel make fix
+
+In some parallel make situations, the install-headers target could be
+called before the installation directories are created by installdirs,
+causing the installation to fail.  Fix that by making install-headers
+depend on installdirs.
+---
+ src/interfaces/ecpg/include/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/interfaces/ecpg/include/Makefile 
b/src/interfaces/ecpg/include/Makefile
+index eab833b..e92e56f 100644
+--- a/src/interfaces/ecpg/include/Makefile
 b/src/interfaces/ecpg/include/Makefile
+@@ -18,7 +18,7 @@ ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h 
sql3types.h ecpg_informi
+   sqlda.h sqlda-compat.h sqlda-native.h
+ informix_headers = datetime.h decimal.h sqltypes.h
+ 
+-install-headers: $(ecpg_headers) $(informix_headers)
++install-headers: $(ecpg_headers) $(informix_headers) installdirs
+   $(INSTALL_DATA) $(addprefix $(srcdir)/,$(ecpg_headers)) 
'$(DESTDIR)$(includedir)/'
+   $(INSTALL_DATA) $(addprefix $(srcdir)/,$(informix_headers)) 
'$(DESTDIR)$(informix_esql_dir)/'
+   $(INSTALL_DATA) $(ecpg_config_h) '$(DESTDIR)$(includedir)'
+-- 
+1.8.3.4
+
diff --git a/meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb 
b/meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb
index 59665da..49ca53f 100644
--- a/meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb
+++ b/meta-oe/recipes-support/postgresql/postgresql_9.2.4.bb
@@ -4,7 +4,10 @@ LIC_FILES_CHKSUM = 
"file://COPYRIGHT;md5=ab55a5887d3f8ba77d0fd7db787e4bab"
 
 PR = "${INC_PR}.0"
 
-SRC_URI += "file://remove.autoconf.version.check.patch"
+SRC_URI += "\
+file://remove.autoconf.version.check.patch \
+file://ecpg-parallel-make-fix.patch \
+"
 
 SRC_URI[md5sum] = "6ee5bb53b97da7c6ad9cb0825d3300dd"
 SRC_URI[sha256sum] = 
"d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93"
-- 
1.8.3.4

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] State of bitbake world, Failed tasks Fri Dec 13

2013-12-13 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status

== Failed tasks Fri Dec 13 15:36:19 UTC 2013 ==

=== common (26) ===
* meta-openembedded/meta-efl/recipes-efl/efl/evas_1.7.9.bb, do_compile
* 
meta-openembedded/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb,
 do_packagedata
* 
meta-openembedded/meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb, 
do_fetch
* meta-openembedded/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.7.bb, 
do_compile
* meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb, 
do_install
* meta-openembedded/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb, 
do_fetch
* meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb, 
do_compile
* 
meta-openembedded/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb,
 do_compile
* meta-openembedded/meta-oe/recipes-core/libxml/libxml++_2.35.3.bb, 
do_compile
* meta-openembedded/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb, do_fetch
* 
meta-openembedded/meta-oe/recipes-devtools/packagekit/packagekit_0.8.13.bb, 
do_compile
* meta-openembedded/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb, do_compile
* meta-openembedded/meta-oe/recipes-graphics/gimp/gimp_2.8.2.bb, do_compile
* meta-openembedded/meta-oe/recipes-kernel/ktap/ktap-module_0.3.bb, do_fetch
* meta-openembedded/meta-oe/recipes-kernel/ktap/ktap_0.3.bb, do_fetch
* meta-openembedded/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb, 
do_configure
* meta-openembedded/meta-oe/recipes-navigation/monav/monav_0.3.bb, 
do_compile
* meta-openembedded/meta-oe/recipes-navigation/navit/navit_svn.bb, 
do_compile
* meta-openembedded/meta-oe/recipes-qt/qconnman/qconnman-e_git.bb, do_fetch
* meta-openembedded/meta-oe/recipes-qt/qconnman/qconnman_git.bb, do_fetch
* 
meta-openembedded/meta-oe/recipes-qt/qtserialport/qtserialport-e_5.1.0.bb, 
do_fetch
* meta-openembedded/meta-oe/recipes-support/freerdp/freerdp_git.bb, do_fetch
* meta-openembedded/meta-webserver/recipes-webadmin/ajenti/ajenti_git.bb, 
do_fetch
* meta-qt5/recipes-qt/qt5/qtwayland_git.bb, do_compile
* openembedded-core/meta/recipes-devtools/python/python-imaging_1.1.7.bb, 
do_compile
* 
openembedded-core/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb,
 do_packagedata

=== common-x86 (6) ===
* meta-browser/recipes-devtools/ninja/ninja-native_1.4.0.bb, do_fetch
* meta-browser/recipes-mozilla/firefox/firefox_10.0.11esr.bb, do_compile
* 
meta-openembedded/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb,
 do_rootfs
* meta-openembedded/meta-oe/recipes-support/emacs/emacs_23.4.bb, do_compile
* meta-openembedded/meta-oe/recipes-support/ode/ode_0.9.bb, do_configure
* openembedded-core/meta/recipes-bsp/grub/grub_2.00.bb, do_package

=== qemuarm (6) ===
* meta-openembedded/meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb, 
do_compile
* meta-openembedded/meta-oe/recipes-connectivity/daq/daq_2.0.1.bb, 
do_install
* meta-qt5/recipes-qt/qt5/qtconnectivity_git.bb, do_fetch
* meta-qt5/recipes-qt/qt5/qtlocation_git.bb, do_fetch
* meta-qt5/recipes-qt/qt5/qtsystems_git.bb, do_fetch
* openembedded-core/meta/recipes-kernel/linux/linux-yocto_3.10.bb, do_fetch

=== qemux86 (1) ===
* 
meta-openembedded/meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.14.bb,
 do_compile

=== qemux86_64 (4) ===
* 
meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb, 
do_fetch
* 
meta-openembedded/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.1.4.bb,
 do_configure
* 
meta-openembedded/meta-oe/recipes-devtools/python/python-m2crypto_0.21.1.bb, 
do_compile
* meta-qt5/recipes-qt/qt5/qtlocation_git.bb, do_compile

=== Number of failed tasks ===
{| class=wikitable
|-
||qemuarm   ||32
||http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches//log.world.20131212_013114.log/
|-
||qemux86   ||36
||http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches//log.world.20131212_104746.log/
|-
||qemux86_64||38
||http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches//log.world.20131212_160129.log/
|}

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Compiling the kernel source from Angstrom distribution & building an OS console-image.

2013-12-13 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

vishal gupta schreef op 13-12-13 15:05:
> Hi, I'm having this issue, I'm not able to build an  OS console-image.
> 
> When the command "MACHINE=beagleboard bitbake console-image" is run, i
> got the error as follows:
> 
> " Log data follows: | DEBUG: Executing shell function do_compileconfigs |
> Multiple configs found, building those first | NOTE: make -j2 oldconfig |
> scripts/kconfig/conf -o arch/arm/Kconfig | .config:341:warning: override:
> reassigning to symbol OABI_COMPAT | .config:3041:warning: override:
> reassigning to symbol IKCONFIG | .config:3042:warning: override:
> reassigning to symbol IKCONFIG_PROC | .config:3057:warning: override:
> reassigning to symbol DEVTMPFS | .config:3058:warning: override:
> reassigning to symbol DEVTMPFS_MOUNT | * | * Restart config... | * | * |
> * Character devices | * | Virtual terminal (VT) [Y/n/?] y |   Enable
> character translations in console (CONSOLE_TRANSLATIONS) [Y/n/?] y |
> Support for console on virtual terminal (VT_CONSOLE) [Y/n/?] y |
> Support for binding and unbinding console drivers (VT_HW_CONSOLE_BINDING)
> [Y/n/?] y | /dev/kmem virtual device support (DEVKMEM) [Y/n/?] y |
> Non-standard serial port support (SERIAL_NONSTANDARD) [N/y/?] n | Unix98
> PTY support (UNIX98_PTYS) [Y/n/?] (NEW)   Support multiple instances of
> devpts (DEVPTS_MULTIPLE_INSTANCES) [N/y/?] n | Legacy (BSD) PTY support
> (LEGACY_PTYS) [N/y/?] n | Hardware Random Number Generator Core support
> (HW_RANDOM) [Y/n/m/?] y |   Timer IOMEM HW Random Number Generator
> support (HW_RANDOM_TIMERIOMEM) [N/m/y/?] n | Siemens R3964 line
> discipline (R3964) [N/m/y/?] n | RAW driver (/dev/raw/rawN) (RAW_DRIVER)
> [N/m/y/?] n | * | * Partition Types | * | Advanced partition selection
> (PARTITION_ADVANCED) [Y/n/?] y |   Acorn partition support
> (ACORN_PARTITION) [N/y/?] n |   Alpha OSF partition support
> (OSF_PARTITION) [N/y/?] n |   Amiga partition table support
> (AMIGA_PARTITION) [N/y/?] n |   Atari partition table support
> (ATARI_PARTITION) [N/y/?] n |   Macintosh partition map support
> (MAC_PARTITION) [Y/n/?] y |   PC BIOS (MSDOS partition tables) support
> (MSDOS_PARTITION) [Y/n/?] y | BSD disklabel (FreeBSD partition
> tables) support (BSD_DISKLABEL) [Y/n/?] y | Minix subpartition
> support (MINIX_SUBPARTITION) [Y/n/?] y | Solaris (x86) partition
> table support (SOLARIS_X86_PARTITION) [Y/n/?] y | Unixware slices
> support (UNIXWARE_DISKLABEL) [N/y/?] (NEW)   Windows Logical Disk Manager
> (Dynamic Disk) support (LDM_PARTITION) [Y/n/?] y | Windows LDM extra
> logging (LDM_DEBUG) [Y/n/?] y |   SGI partition support (SGI_PARTITION)
> [N/y/?] n |   Ultrix partition table support (ULTRIX_PARTITION) [N/y/?]
> n |   Sun partition tables support (SUN_PARTITION) [N/y/?] n |   Karma
> Partition support (KARMA_PARTITION) [N/y/?] n |   EFI GUID Partition
> support (EFI_PARTITION) [Y/n/?] y |   SYSV68 partition table support
> (SYSV68_PARTITION) [N/y/?] n | * | * OCF Configuration | * | OCF (Open
> Cryptograhic Framework) (OCF_OCF) [N/m/y/?] (NEW) # | # configuration
> written to .config | # | NOTE: make -j2 oldconfig | scripts/kconfig/conf
> -o arch/arm/Kconfig | # | # configuration written to .config | # | NOTE:
> make -j2 uImage CC=arm-angstrom-linux-gnueabi-gcc -mno-thumb-interwork
> -marm 
> --sysroot=/home/vishal/oe-nad/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/beagleboard
>
> 
LD=arm-angstrom-linux-gnueabi-ld
> --sysroot=/home/vishal/oe-nad/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/beagleboard
>
> 
| scripts/kconfig/conf -s arch/arm/Kconfig
> |   CHK include/linux/version.h |   SYMLINK include/asm ->
> include/asm-arm | make[1]: `include/asm-arm/mach-types.h' is up to date. 
> |   CHK include/linux/utsrelease.h |   CALL
> scripts/checksyscalls.sh | :1523:2: warning: #warning syscall
> recvmmsg not implemented [-Wcpp] |   CHK include/linux/compile.h |
> GZIPkernel/config_data.gz |   IKCFG   kernel/config_data.h |   CC
> kernel/configs.o |   LD  kernel/built-in.o |   LOGO
> drivers/video/logo/logo_linux_clut224.c |   CC
> drivers/video/logo/logo_linux_clut224.o |   LD
> drivers/video/logo/built-in.o |   LD  drivers/video/built-in.o |   LD
> drivers/built-in.o |   LD  vmlinux.o |   MODPOST vmlinux.o |   GEN
> .version |   CHK include/linux/compile.h |   UPD
> include/linux/compile.h |   CC  init/version.o |   LD
> init/built-in.o |   LD  .tmp_vmlinux1 |   KSYM.tmp_kallsyms1.S |
> AS  .tmp_kallsyms1.o |   LD  .tmp_vmlinux2 |   KSYM
> .tmp_kallsyms2.S |   AS  .tmp_kallsyms2.o |   LD  vmlinux |
> SYSMAP  System.map |   SYSMAP  .tmp_System.map |   OBJCOPY
> arch/arm/boot/Image |   Kernel: arch/arm/boot/Image is ready |   GZIP
> arch/arm/boot/compressed/piggy.gz |   AS
> arch/arm/boot/compressed/piggy.o |   LD
> arch/arm/boot/compressed/vmlinux |   OBJCOPY arch/arm/boot/zImage |
> Kernel: arch/arm/boot/zImage is ready |   UIMAGE  ar

Re: [oe] [meta-networking][PATCH] vsftpd: install volatiles file based on init system

2013-12-13 Thread Paul Eggleton
On Friday 13 December 2013 09:34:36 Joe MacDonald wrote:
> [Re: [oe] [meta-networking][PATCH] vsftpd: install volatiles file based on 
> init system] On 13.12.13 (Fri 10:33) Paul Eggleton wrote:
> > I think there might be a problem with this: the DISTRO_FEATURES options
> > aren't mutually exclusive - both can be enabled at the same time (usually
> > where you want sysvinit for some rescue/initramfs image and systemd for
> > the main image).
> 
> That's a good point and I probably should've at least made mention of it
> in my email.  I'd thought about it (thought I try to only have either
> sysvinit or systemd enabled in a configuration at a time, multiple init
> systems running concurrently make my teeth itch) but I had thought that
> in this case vsftpd would only be relying on one of them (preferring
> systemd if available) to create the volatiles.  Since I try very hard
> not to be in the scenario where I include both, though, I could be
> overlooking a case here.  Do you think I should be doing something more
> like this:
> 
> 62if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; 
> then
> 63install -d ${D}/${sysconfdir}/tmpfiles.d
> 64install -m 644 ${WORKDIR}/volatiles.99_vsftpd 
> ${D}/${sysconfdir}/tmpfiles.d/99_vsftpd
> 65fi
> 66if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', 
> d)}; then
> 67install -d ${D}/${sysconfdir}/default/volatiles
> 68install -m 644 ${WORKDIR}/volatiles.99_vsftpd 
> ${D}/${sysconfdir}/default/volatiles/99_vsftpd
> 69fi

Assuming it's OK to have both of these when both options are on (I haven't
tried it myself), that would seem to be the right thing to do.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH] vsftpd: install volatiles file based on init system

2013-12-13 Thread Joe MacDonald
[Re: [oe] [meta-networking][PATCH] vsftpd: install volatiles file based on init 
system] On 13.12.13 (Fri 10:33) Paul Eggleton wrote:

> Hi Joe,
> 
> On Thursday 12 December 2013 14:00:57 Joe MacDonald wrote:
> > The sysvinit populate-volatile.sh scans for volatiles in
> > /etc/default/volatiles.  systemd expects the same format files to live in
> > /etc/tmpfiles.d.  Depedning on the DISTRO_FEATURE list, install vsftpd's
> > volatiles file to the expected location.  While we're here, drop the
> > creation of the empty ${localstatedir}/run/ hierarchy since they should be
> > created by the volatiles processing.
> > 
> > Signed-off-by: Joe MacDonald 
> > ---
> >  meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb |   10 +++---
> >  1 file changed, 7 insertions(+), 3 deletions(-)
> > 
> > diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> > b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb index
> > 0698a63..9d82fd7 100644
> > --- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> > +++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> > @@ -59,8 +59,13 @@ do_install() {
> >  install -m 600 ${WORKDIR}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf
> >  install -d ${D}${sysconfdir}/init.d/
> >  install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/vsftpd
> > -install -d ${D}/${sysconfdir}/default/volatiles
> > -install -m 644 ${WORKDIR}/volatiles.99_vsftpd
> > ${D}/${sysconfdir}/default/volatiles/99_vsftpd +if
> > ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then +
> >install -d ${D}/${sysconfdir}/tmpfiles.d
> > +install -m 644 ${WORKDIR}/volatiles.99_vsftpd
> > ${D}/${sysconfdir}/tmpfiles.d/99_vsftpd +else
> > +install -d ${D}/${sysconfdir}/default/volatiles
> > +install -m 644 ${WORKDIR}/volatiles.99_vsftpd
> > ${D}/${sysconfdir}/default/volatiles/99_vsftpd +fi
> > 
> >  install -m 600 ${WORKDIR}/vsftpd.ftpusers ${D}${sysconfdir}/
> >  install -m 600 ${WORKDIR}/vsftpd.user_list ${D}${sysconfdir}/
> > @@ -70,7 +75,6 @@ do_install() {
> >  sed -i "s:/lib/security:${base_libdir}/security:"
> > ${D}${sysconfdir}/pam.d/vsftpd sed -i "s:ftpusers:vsftpd.ftpusers:"
> > ${D}${sysconfdir}/pam.d/vsftpd fi
> > -install -d ${D}${localstatedir}/run/vsftpd/empty
> >  }
> > 
> >  INITSCRIPT_PACKAGES = "${PN}"
> 
> I think there might be a problem with this: the DISTRO_FEATURES options 
> aren't 
> mutually exclusive - both can be enabled at the same time (usually where you 
> want sysvinit for some rescue/initramfs image and systemd for the main image).

Hey Paul,

That's a good point and I probably should've at least made mention of it
in my email.  I'd thought about it (thought I try to only have either
sysvinit or systemd enabled in a configuration at a time, multiple init
systems running concurrently make my teeth itch) but I had thought that
in this case vsftpd would only be relying on one of them (preferring
systemd if available) to create the volatiles.  Since I try very hard
not to be in the scenario where I include both, though, I could be
overlooking a case here.  Do you think I should be doing something more
like this:

 62if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; 
then
 63install -d ${D}/${sysconfdir}/tmpfiles.d
 64install -m 644 ${WORKDIR}/volatiles.99_vsftpd 
${D}/${sysconfdir}/tmpfiles.d/99_vsftpd
 65fi
 66if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; 
then
 67install -d ${D}/${sysconfdir}/default/volatiles
 68install -m 644 ${WORKDIR}/volatiles.99_vsftpd 
${D}/${sysconfdir}/default/volatiles/99_vsftpd
 69fi

-- 
-Joe MacDonald.
:wq


signature.asc
Description: Digital signature
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Compiling the kernel source from Angstrom distribution & building an OS console-image.

2013-12-13 Thread vishal gupta
 Hi, I'm having this issue, I'm not able to build an  OS console-image.

When the command "MACHINE=beagleboard bitbake console-image" is run, i got
the error as follows:

"
Log data follows:
| DEBUG: Executing shell function do_compileconfigs
| Multiple configs found, building those first
| NOTE: make -j2 oldconfig
| scripts/kconfig/conf -o arch/arm/Kconfig
| .config:341:warning: override: reassigning to symbol OABI_COMPAT
| .config:3041:warning: override: reassigning to symbol IKCONFIG
| .config:3042:warning: override: reassigning to symbol IKCONFIG_PROC
| .config:3057:warning: override: reassigning to symbol DEVTMPFS
| .config:3058:warning: override: reassigning to symbol DEVTMPFS_MOUNT
| *
| * Restart config...
| *
| *
| * Character devices
| *
| Virtual terminal (VT) [Y/n/?] y
|   Enable character translations in console (CONSOLE_TRANSLATIONS) [Y/n/?]
y
|   Support for console on virtual terminal (VT_CONSOLE) [Y/n/?] y
|   Support for binding and unbinding console drivers
(VT_HW_CONSOLE_BINDING) [Y/n/?] y
| /dev/kmem virtual device support (DEVKMEM) [Y/n/?] y
| Non-standard serial port support (SERIAL_NONSTANDARD) [N/y/?] n
| Unix98 PTY support (UNIX98_PTYS) [Y/n/?] (NEW)   Support multiple
instances of devpts (DEVPTS_MULTIPLE_INSTANCES) [N/y/?] n
| Legacy (BSD) PTY support (LEGACY_PTYS) [N/y/?] n
| Hardware Random Number Generator Core support (HW_RANDOM) [Y/n/m/?] y
|   Timer IOMEM HW Random Number Generator support (HW_RANDOM_TIMERIOMEM)
[N/m/y/?] n
| Siemens R3964 line discipline (R3964) [N/m/y/?] n
| RAW driver (/dev/raw/rawN) (RAW_DRIVER) [N/m/y/?] n
| *
| * Partition Types
| *
| Advanced partition selection (PARTITION_ADVANCED) [Y/n/?] y
|   Acorn partition support (ACORN_PARTITION) [N/y/?] n
|   Alpha OSF partition support (OSF_PARTITION) [N/y/?] n
|   Amiga partition table support (AMIGA_PARTITION) [N/y/?] n
|   Atari partition table support (ATARI_PARTITION) [N/y/?] n
|   Macintosh partition map support (MAC_PARTITION) [Y/n/?] y
|   PC BIOS (MSDOS partition tables) support (MSDOS_PARTITION) [Y/n/?] y
| BSD disklabel (FreeBSD partition tables) support (BSD_DISKLABEL)
[Y/n/?] y
| Minix subpartition support (MINIX_SUBPARTITION) [Y/n/?] y
| Solaris (x86) partition table support (SOLARIS_X86_PARTITION) [Y/n/?]
y
| Unixware slices support (UNIXWARE_DISKLABEL) [N/y/?] (NEW)   Windows
Logical Disk Manager (Dynamic Disk) support (LDM_PARTITION) [Y/n/?] y
| Windows LDM extra logging (LDM_DEBUG) [Y/n/?] y
|   SGI partition support (SGI_PARTITION) [N/y/?] n
|   Ultrix partition table support (ULTRIX_PARTITION) [N/y/?] n
|   Sun partition tables support (SUN_PARTITION) [N/y/?] n
|   Karma Partition support (KARMA_PARTITION) [N/y/?] n
|   EFI GUID Partition support (EFI_PARTITION) [Y/n/?] y
|   SYSV68 partition table support (SYSV68_PARTITION) [N/y/?] n
| *
| * OCF Configuration
| *
| OCF (Open Cryptograhic Framework) (OCF_OCF) [N/m/y/?] (NEW) #
| # configuration written to .config
| #
| NOTE: make -j2 oldconfig
| scripts/kconfig/conf -o arch/arm/Kconfig
| #
| # configuration written to .config
| #
| NOTE: make -j2 uImage CC=arm-angstrom-linux-gnueabi-gcc
-mno-thumb-interwork -marm
--sysroot=/home/vishal/oe-nad/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/beagleboard
LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/vishal/oe-nad/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/beagleboard
| scripts/kconfig/conf -s arch/arm/Kconfig
|   CHK include/linux/version.h
|   SYMLINK include/asm -> include/asm-arm
| make[1]: `include/asm-arm/mach-types.h' is up to date.
|   CHK include/linux/utsrelease.h
|   CALLscripts/checksyscalls.sh
| :1523:2: warning: #warning syscall recvmmsg not implemented [-Wcpp]
|   CHK include/linux/compile.h
|   GZIPkernel/config_data.gz
|   IKCFG   kernel/config_data.h
|   CC  kernel/configs.o
|   LD  kernel/built-in.o
|   LOGOdrivers/video/logo/logo_linux_clut224.c
|   CC  drivers/video/logo/logo_linux_clut224.o
|   LD  drivers/video/logo/built-in.o
|   LD  drivers/video/built-in.o
|   LD  drivers/built-in.o
|   LD  vmlinux.o
|   MODPOST vmlinux.o
|   GEN .version
|   CHK include/linux/compile.h
|   UPD include/linux/compile.h
|   CC  init/version.o
|   LD  init/built-in.o
|   LD  .tmp_vmlinux1
|   KSYM.tmp_kallsyms1.S
|   AS  .tmp_kallsyms1.o
|   LD  .tmp_vmlinux2
|   KSYM.tmp_kallsyms2.S
|   AS  .tmp_kallsyms2.o
|   LD  vmlinux
|   SYSMAP  System.map
|   SYSMAP  .tmp_System.map
|   OBJCOPY arch/arm/boot/Image
|   Kernel: arch/arm/boot/Image is ready
|   GZIParch/arm/boot/compressed/piggy.gz
|   AS  arch/arm/boot/compressed/piggy.o
|   LD  arch/arm/boot/compressed/vmlinux
|   OBJCOPY arch/arm/boot/zImage
|   Kernel: arch/arm/boot/zImage is ready
|   UIMAGE  arch/arm/boot/uImage
| Image Name:   Linux-2.6.32
| Created:  Fri Dec 13 16:13:18 2013
| Image Type:   ARM Linux Kernel Image (uncompressed)
| Data Size:3134344 Bytes = 30

Re: [oe] [meta-systemd] connman: follow oe-core to 1.20

2013-12-13 Thread Jack Mitchell
On 13/12/13 13:45, Gary Thomas wrote:
> On 2013-12-13 04:14, Burton, Ross wrote:
>> On 13 December 2013 10:45, Andreas Müller
>>  wrote:
>>> Signed-off-by: Andreas Müller 
>>> ---
>>>   .../connman/{connman_1.19.bbappend =>
>>> connman_1.20.bbappend}  | 0
>>
>> For trivial appends like this you might want to start using bitbake's
>> support for wildcards in bbappends.
>>
>> http://cgit.openembedded.org/bitbake/commit/?id=31bc9af9cd56e7b318924869970e850993fafc5f
>>
> 
> Very nice - too bad this (and I'm sure many other innovations) was
> not announced (or even discussed as far as I can see), so those of
> us on the outside have no clue that they are there...
> 

This one went to the bitbake devel list, if you follow that list then
you can keep an eye on bitbake improvements.

http://patchwork.openembedded.org/patch/62171/


-- 
  Jack Mitchell (j...@embed.me.uk)
  Embedded Systems Engineer
  Cambridgeshire, UK
  http://www.embed.me.uk
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-systemd] connman: follow oe-core to 1.20

2013-12-13 Thread Gary Thomas

On 2013-12-13 04:14, Burton, Ross wrote:

On 13 December 2013 10:45, Andreas Müller  wrote:

Signed-off-by: Andreas Müller 
---
  .../connman/{connman_1.19.bbappend => connman_1.20.bbappend}  | 0


For trivial appends like this you might want to start using bitbake's
support for wildcards in bbappends.

http://cgit.openembedded.org/bitbake/commit/?id=31bc9af9cd56e7b318924869970e850993fafc5f


Very nice - too bad this (and I'm sure many other innovations) was
not announced (or even discussed as far as I can see), so those of
us on the outside have no clue that they are there...

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-systemd] connman: follow oe-core to 1.20

2013-12-13 Thread Burton, Ross
On 13 December 2013 10:45, Andreas Müller  wrote:
> Signed-off-by: Andreas Müller 
> ---
>  .../connman/{connman_1.19.bbappend => connman_1.20.bbappend}  | 0

For trivial appends like this you might want to start using bitbake's
support for wildcards in bbappends.

http://cgit.openembedded.org/bitbake/commit/?id=31bc9af9cd56e7b318924869970e850993fafc5f

Ross
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-systemd] connman: follow oe-core to 1.20

2013-12-13 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 .../connman/{connman_1.19.bbappend => connman_1.20.bbappend}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename 
meta-systemd/oe-core/recipes-connectivity/connman/{connman_1.19.bbappend => 
connman_1.20.bbappend} (100%)

diff --git 
a/meta-systemd/oe-core/recipes-connectivity/connman/connman_1.19.bbappend 
b/meta-systemd/oe-core/recipes-connectivity/connman/connman_1.20.bbappend
similarity index 100%
rename from 
meta-systemd/oe-core/recipes-connectivity/connman/connman_1.19.bbappend
rename to 
meta-systemd/oe-core/recipes-connectivity/connman/connman_1.20.bbappend
-- 
1.8.3.1

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH] vsftpd: install volatiles file based on init system

2013-12-13 Thread Paul Eggleton
Hi Joe,

On Thursday 12 December 2013 14:00:57 Joe MacDonald wrote:
> The sysvinit populate-volatile.sh scans for volatiles in
> /etc/default/volatiles.  systemd expects the same format files to live in
> /etc/tmpfiles.d.  Depedning on the DISTRO_FEATURE list, install vsftpd's
> volatiles file to the expected location.  While we're here, drop the
> creation of the empty ${localstatedir}/run/ hierarchy since they should be
> created by the volatiles processing.
> 
> Signed-off-by: Joe MacDonald 
> ---
>  meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb |   10 +++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb index
> 0698a63..9d82fd7 100644
> --- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> +++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
> @@ -59,8 +59,13 @@ do_install() {
>  install -m 600 ${WORKDIR}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf
>  install -d ${D}${sysconfdir}/init.d/
>  install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/vsftpd
> -install -d ${D}/${sysconfdir}/default/volatiles
> -install -m 644 ${WORKDIR}/volatiles.99_vsftpd
> ${D}/${sysconfdir}/default/volatiles/99_vsftpd +if
> ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then +
>install -d ${D}/${sysconfdir}/tmpfiles.d
> +install -m 644 ${WORKDIR}/volatiles.99_vsftpd
> ${D}/${sysconfdir}/tmpfiles.d/99_vsftpd +else
> +install -d ${D}/${sysconfdir}/default/volatiles
> +install -m 644 ${WORKDIR}/volatiles.99_vsftpd
> ${D}/${sysconfdir}/default/volatiles/99_vsftpd +fi
> 
>  install -m 600 ${WORKDIR}/vsftpd.ftpusers ${D}${sysconfdir}/
>  install -m 600 ${WORKDIR}/vsftpd.user_list ${D}${sysconfdir}/
> @@ -70,7 +75,6 @@ do_install() {
>  sed -i "s:/lib/security:${base_libdir}/security:"
> ${D}${sysconfdir}/pam.d/vsftpd sed -i "s:ftpusers:vsftpd.ftpusers:"
> ${D}${sysconfdir}/pam.d/vsftpd fi
> -install -d ${D}${localstatedir}/run/vsftpd/empty
>  }
> 
>  INITSCRIPT_PACKAGES = "${PN}"

I think there might be a problem with this: the DISTRO_FEATURES options aren't 
mutually exclusive - both can be enabled at the same time (usually where you 
want sysvinit for some rescue/initramfs image and systemd for the main image).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel