Re: [oe] [meta-oe][PATCH 2/2] opencv: switch to out-of-tree builds

2013-03-22 Thread Martin Jansa
On Sun, Mar 17, 2013 at 11:33:33AM +0100, Koen Kooi wrote:
 This eliminates a few warnings from the configure step and makes sense in 
 general.

Both applied, thanks!

 
 Signed-off-by: Koen Kooi k...@dominion.thruhere.net
 ---
  meta-oe/recipes-support/opencv/opencv_2.4.3.bb | 4 
  1 file changed, 4 insertions(+)
 
 diff --git a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb 
 b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
 index 2114e77..916c8c5 100644
 --- a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
 +++ b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
 @@ -20,6 +20,10 @@ PR = r2
  
  S = ${WORKDIR}/OpenCV-${PV}
  
 +# Do an out-of-tree build
 +OECMAKE_SOURCEPATH = ${S}
 +OECMAKE_BUILDPATH = ${WORKDIR}/build-${TARGET_ARCH}
 +
  EXTRA_OECMAKE = 
 -DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include
  \
   -DBUILD_PYTHON_SUPPORT=ON \
   -DWITH_FFMPEG=ON \
 -- 
 1.8.1.4
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [meta-multimedia][PATCH] libmusicbrainz: fix subsequent invocations of do_configure

2013-03-22 Thread Martin Jansa
On Tue, Mar 19, 2013 at 01:44:20PM +0100, Andreas Oberritter wrote:
 Every second invocation of do_configure failed with this error:

Applied, thanks!

 
 | CMake Error at src/CMakeLists.txt:19 (INCLUDE):
 |   include could not find load file:
 |
 | [...]/git/build-native/ImportExecutables.cmake
 
 Signed-off-by: Andreas Oberritter o...@opendreambox.org
 ---
  .../recipes-multimedia/musicbrainz/libmusicbrainz_git.bb|7 
 ---
  1 file changed, 4 insertions(+), 3 deletions(-)
 
 diff --git 
 a/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb 
 b/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb
 index 051db7b..f6a8f53 100644
 --- a/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb
 +++ b/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb
 @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
 file://COPYING.txt;md5=fbc093901857fcd118f065f900982c24
  DEPENDS = expat neon
  
  PV = 5.0.1+git${SRCPV}
 -PR = r0
 +PR = r1
  
  SRCREV = 0749dd0a35b4a54316da064475863a4ac6e28e7e
  SRC_URI = git://github.com/metabrainz/libmusicbrainz.git \
 @@ -21,8 +21,9 @@ inherit cmake pkgconfig
  
  do_configure_prepend() {
  # The native build really doesn't like being rebuilt, so delete
 -# it if it's already present.
 -rm -rf build-native
 +# it if it's already present. Also delete all other files not
 +# known to Git to fix subsequent invocations of do_configure.
 +git clean -dfx -e /.pc/ -e /patches/ .
  mkdir build-native
  cd build-native
  cmake -DCMAKE_C_FLAGS=${BUILD_CFLAGS} \
 -- 
 1.7.10.4
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [PATCH] polkit: add (taken from oe-core)

2013-03-22 Thread Martin Jansa
On Tue, Mar 19, 2013 at 05:11:51PM +, Ross Burton wrote:
 PolKit will be removed from oe-core as it isn't massively applicable in
 embedded, isn't used by anything by default anymore, and future upgrades 
 require
 the SpiderMonkey JavaScript runtime.

Applied, thanks!

 
 Signed-off-by: Ross Burton ross.bur...@intel.com
 ---
  ...ession-Set-error-if-we-cannot-find-a-sess.patch |   70 
 
  ...ession-Actually-return-TRUE-if-a-session-.patch |   46 +
  .../polkit-0.104/obsolete_automake_macros.patch|   23 +++
  .../polkit/polkit-0.104/polkit-1_pam.patch |   23 +++
  .../recipes-extended/polkit/polkit-gnome_0.102.bb  |   26 
  meta-oe/recipes-extended/polkit/polkit_0.104.bb|   44 
  .../recipes-extended/polkit/polkit_0.104.bbappend  |1 -
  7 files changed, 232 insertions(+), 1 deletion(-)
  create mode 100644 
 meta-oe/recipes-extended/polkit/polkit-0.104/0001-PolkitUnixSession-Set-error-if-we-cannot-find-a-sess.patch
  create mode 100644 
 meta-oe/recipes-extended/polkit/polkit-0.104/0002-PolkitUnixSession-Actually-return-TRUE-if-a-session-.patch
  create mode 100644 
 meta-oe/recipes-extended/polkit/polkit-0.104/obsolete_automake_macros.patch
  create mode 100644 
 meta-oe/recipes-extended/polkit/polkit-0.104/polkit-1_pam.patch
  create mode 100644 meta-oe/recipes-extended/polkit/polkit-gnome_0.102.bb
  create mode 100644 meta-oe/recipes-extended/polkit/polkit_0.104.bb
  delete mode 100644 meta-oe/recipes-extended/polkit/polkit_0.104.bbappend
 
 diff --git 
 a/meta-oe/recipes-extended/polkit/polkit-0.104/0001-PolkitUnixSession-Set-error-if-we-cannot-find-a-sess.patch
  
 b/meta-oe/recipes-extended/polkit/polkit-0.104/0001-PolkitUnixSession-Set-error-if-we-cannot-find-a-sess.patch
 new file mode 100644
 index 000..c021bfb
 --- /dev/null
 +++ 
 b/meta-oe/recipes-extended/polkit/polkit-0.104/0001-PolkitUnixSession-Set-error-if-we-cannot-find-a-sess.patch
 @@ -0,0 +1,70 @@
 +From c46d2d13eac240d2a609b2dd8fc617ea18a78bfa Mon Sep 17 00:00:00 2001
 +From: David Zeuthen dav...@redhat.com
 +Date: Mon, 6 Feb 2012 11:24:53 -0500
 +Subject: [PATCH 1/2] PolkitUnixSession: Set error if we cannot find a 
 session for the given pid
 +
 +Also, don't treat the integer returned by sd_pid_get_session() as a
 +boolean because that's just confusing. Also, don't confuse memory
 +supposed to be freed by g_free() and free(3) with each other. See
 +
 + https://bugzilla.redhat.com/show_bug.cgi?id=787222
 +
 +for more details.
 +
 +Signed-off-by: David Zeuthen dav...@redhat.com
 +---
 +
 +Upstream-Status: Accepted
 +
 + src/polkit/polkitunixsession-systemd.c |   21 -
 + 1 files changed, 16 insertions(+), 5 deletions(-)
 +
 +diff --git a/src/polkit/polkitunixsession-systemd.c 
 b/src/polkit/polkitunixsession-systemd.c
 +index e7e913f..94a7ee4 100644
 +--- a/src/polkit/polkitunixsession-systemd.c
  b/src/polkit/polkitunixsession-systemd.c
 +@@ -23,6 +23,7 @@
 + #  include config.h
 + #endif
 + 
 ++#include stdlib.h
 + #include string.h
 + #include polkitunixsession.h
 + #include polkitsubject.h
 +@@ -450,9 +451,8 @@ polkit_unix_session_initable_init (GInitable 
 *initable,
 +GError   **error)
 + {
 +   PolkitUnixSession *session = POLKIT_UNIX_SESSION (initable);
 +-  gboolean ret;
 +-
 +-  ret = FALSE;
 ++  gboolean ret = FALSE;
 ++  char *s;
 + 
 +   if (session-session_id != NULL)
 + {
 +@@ -461,8 +461,19 @@ polkit_unix_session_initable_init (GInitable 
 *initable,
 +   goto out;
 + }
 + 
 +-  if (!sd_pid_get_session (session-pid, session-session_id))
 +-ret = TRUE;
 ++  if (sd_pid_get_session (session-pid, s) == 0)
 ++{
 ++  session-session_id = g_strdup (s);
 ++  free (s);
 ++  ret = TRUE;
 ++  goto out;
 ++}
 ++
 ++  g_set_error (error,
 ++   POLKIT_ERROR,
 ++   POLKIT_ERROR_FAILED,
 ++   No session for pid %d,
 ++   (gint) session-pid);
 + 
 + out:
 +   return ret;
 +-- 
 +1.7.2.5
 +
 diff --git 
 a/meta-oe/recipes-extended/polkit/polkit-0.104/0002-PolkitUnixSession-Actually-return-TRUE-if-a-session-.patch
  
 b/meta-oe/recipes-extended/polkit/polkit-0.104/0002-PolkitUnixSession-Actually-return-TRUE-if-a-session-.patch
 new file mode 100644
 index 000..49f8ce2
 --- /dev/null
 +++ 
 b/meta-oe/recipes-extended/polkit/polkit-0.104/0002-PolkitUnixSession-Actually-return-TRUE-if-a-session-.patch
 @@ -0,0 +1,46 @@
 +From 8fb8b406bab50c5ef8c5d4f743e3f13924bd5f73 Mon Sep 17 00:00:00 2001
 +From: David Zeuthen dav...@redhat.com
 +Date: Mon, 6 Feb 2012 11:26:06 -0500
 +Subject: [PATCH 2/2] PolkitUnixSession: Actually return TRUE if a session 
 exists
 +
 +Also, don't treat the integer returned by sd_session_get_uid() as a
 +boolean because that's just confusing.
 +
 +Signed-off-by: David Zeuthen dav...@redhat.com
 +---
 +
 +Upstream-Status: Accepted
 +
 + 

Re: [oe] [meta-oe][PATCH 2/2] layer.conf: add ca-certificates to SIGGEN_EXCLUDERECIPES_ABISAFE

2013-03-22 Thread Martin Jansa
On Tue, Mar 19, 2013 at 08:32:30PM +0100, Andreas Oberritter wrote:
 Signed-off-by: Andreas Oberritter o...@opendreambox.org

Both applied, thanks!

 ---
  meta-oe/conf/layer.conf |1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
 index b8a53d2..68f7823 100644
 --- a/meta-oe/conf/layer.conf
 +++ b/meta-oe/conf/layer.conf
 @@ -29,4 +29,5 @@ SIGGEN_EXCLUDERECIPES_ABISAFE +=  \
fbset-modes \
gpsd-machine-conf \
distro-feed-configs \
 +  ca-certificates \
  
 -- 
 1.7.10.4
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [meta-oe][PATCH v4] fingerterm: Added 1.0.2 recipe

2013-03-22 Thread Martin Jansa
On Wed, Mar 20, 2013 at 11:16:18AM -0700, Felipe Ferreri Tonello wrote:
 Hi Martin,
 
 On 03/20/2013 03:05 AM, Martin Jansa wrote:
  On Tue, Mar 19, 2013 at 03:00:33PM -0700, e...@felipetonello.com wrote:
  From: Felipe F. Tonello ftone...@cercacor.com
 
  Fingerterm is a terminal emulator for Nokia Harmattan, but it works in any 
  Qt4
  environment.
 
  This recipe can be extended by a .bbappend to add .desktop, icon and 
  others to
  the target device.
 
  This part of commit message can be dropped now right?
 
 Yes, that's fine.

Applied, thanks!

 
 Thanks
 
 Felipe
 
 
  I'll drop it before pushing it (if it builds OK on jenkins) no need for
  v5 if nobody sends more comments.
 
  Signed-off-by: Felipe F. Tonello ftone...@cercacor.com
  ---
meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb |   44 
  +
1 file changed, 44 insertions(+)
create mode 100644 meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb
 
  diff --git a/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb 
  b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb
  new file mode 100644
  index 000..59533a4
  --- /dev/null
  +++ b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb
  @@ -0,0 +1,44 @@
  +DESCRIPTION = A terminal emulator for Harmattan (Nokia N9/N950) with a 
  custom \
  +virtual keyboard and usability-enhancing features such as URL grabber, 
  pan \
  +gestures and customizable shortcut menu. Designed especially to be used 
  with \
  +screen and irssi.
  +HOMEPAGE = http://hqh.unlink.org/harmattan;
  +LICENSE = GPLv3
  +LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
  +SECTION = qt/app
  +
  +PR = r0
  +
  +inherit qt4x11 pkgconfig
  +
  +SRC_URI =  \
  +  http://hqh.unlink.org/harmattan/fingerterm-${PV}.tar.gz \
  +
  +
  +SRC_URI[md5sum] = d53b0f463c025583cd52accf95715448
  +SRC_URI[sha256sum] = 
  c21a07cc411d09739bd7fa248eba2bf96427b3f032382a044b6674dd82d95150
  +
  +S = ${WORKDIR}/${PN}
  +
  +FILES_${PN} =  \
  +  ${bindir}/${PN} \
  +  ${datadir}/applications/${PN}.desktop \
  +  ${datadir}/pixmaps/${PN}.png \
  +
  +
  +do_install() {
  +  install -d ${D}${bindir}
  +  install -m 0744 ${S}/${PN} ${D}${bindir}
  +
  +  sed -i -e '/Exec.*/d' fingerterm.desktop
  +  sed -i -e '/Icon.*/d' fingerterm.desktop
  +
  +  echo 'Exec=${bindir}/${PN}'  fingerterm.desktop
  +  echo 'Icon=${PN}'  fingerterm.desktop
  +
  +  install -d ${D}${datadir}/applications
  +  install -m 0644 ${S}/${PN}.desktop ${D}${datadir}/applications
  +
  +  install -d ${D}${datadir}/pixmaps
  +  install -m 0644 ${S}/${PN}.png ${D}${datadir}/pixmaps
  +}
  \ No newline at end of file
  --
  1.7.9.5
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [meta-browser][PATCH] libxi: Rename bbappend to match oe-core

2013-03-22 Thread Martin Jansa
On Wed, Mar 20, 2013 at 02:12:08AM -0700, Khem Raj wrote:
 Signed-off-by: Khem Raj raj.k...@gmail.com
 ---
  .../{libxi_1.6.1.bbappend = libxi_1.7.bbappend}   |0
  1 file changed, 0 insertions(+), 0 deletions(-)
  rename recipes-graphics/libxi/{libxi_1.6.1.bbappend = libxi_1.7.bbappend} 
 (100%)
 
 diff --git a/recipes-graphics/libxi/libxi_1.6.1.bbappend 
 b/recipes-graphics/libxi/libxi_1.7.bbappend
 similarity index 100%
 rename from recipes-graphics/libxi/libxi_1.6.1.bbappend
 rename to recipes-graphics/libxi/libxi_1.7.bbappend

Same patch was already applied, but thanks.

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


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


Re: [oe] [meta-oe][PATCH] busybox: move /etc/default/busybox-syslog to ${PN}-syslog

2013-03-22 Thread Martin Jansa
On Wed, Mar 20, 2013 at 11:08:36PM +0100, Andreas Oberritter wrote:
 Signed-off-by: Andreas Oberritter o...@opendreambox.org
 ---
  meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend |2 ++
  1 file changed, 2 insertions(+)
 
 diff --git a/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend 
 b/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend
 index 0741b76..5d06265 100644
 --- a/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend
 +++ b/meta-oe/recipes-core/busybox/busybox_1.20.2.bbappend
 @@ -9,3 +9,5 @@ do_install_append() {
   install -d ${D}${sysconfdir}/default
   install -m 0644 ${WORKDIR}/busybox-syslog.default 
 ${D}${sysconfdir}/default/busybox-syslog
  }
 +
 +FILES_${PN}-syslog += ${sysconfdir}/default/busybox-syslog

Applied, thanks!

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

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


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


Re: [oe] [meta-oe][PATCH] openldap: do not strip during install

2013-03-22 Thread Martin Jansa
On Thu, Mar 21, 2013 at 02:38:28PM +0100, Marcin Juszkiewicz wrote:
 Before:
 WARNING: File '/usr/lib/openldap/slapd' from openldap was already stripped, 
 this will prevent future debugging!
 WARNING: File '/usr/bin/ldapsearch' from openldap was already stripped, this 
 will prevent future debugging!
 WARNING: File '/usr/bin/ldapmodify' from openldap was already stripped, this 
 will prevent future debugging!
 WARNING: File '/usr/bin/ldapdelete' from openldap was already stripped, this 
 will prevent future debugging!
 WARNING: File '/usr/bin/ldapmodrdn' from openldap was already stripped, this 
 will prevent future debugging!
 WARNING: File '/usr/bin/ldappasswd' from openldap was already stripped, this 
 will prevent future debugging!
 WARNING: File '/usr/bin/ldapwhoami' from openldap was already stripped, this 
 will prevent future debugging!
 WARNING: File '/usr/bin/ldapcompare' from openldap was already stripped, this 
 will prevent future debugging!
 WARNING: File '/usr/bin/ldapexop' from openldap was already stripped, this 
 will prevent future debugging!
 WARNING: File '/usr/bin/ldapurl' from openldap was already stripped, this 
 will prevent future debugging!

Applied, thanks!

 
 Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
 ---
  meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch | 2 +-
  meta-oe/recipes-support/openldap/openldap_2.4.23.bb  | 1 +
  2 files changed, 2 insertions(+), 1 deletion(-)
 
 diff --git 
 a/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch 
 b/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
 index 9d7640c..2992b70 100644
 --- a/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
 +++ b/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
 @@ -8,7 +8,7 @@
   $(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_MOD)
   
  -LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL) 
 -+LTINSTALL = STRIPPROG=@STRIP@ $(LIBTOOL) --mode=install 
 $(top_srcdir)/contrib/ldapc++/install-sh -c
 ++LTINSTALL = STRIPPROG= $(LIBTOOL) --mode=install 
 $(top_srcdir)/contrib/ldapc++/install-sh -c
   LTFINISH = $(LIBTOOL) --mode=finish
   
   # Misc UNIX commands used in build environment
 diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb 
 b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
 index 319c50d..1c6c32f 100644
 --- a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
 +++ b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
 @@ -19,6 +19,7 @@ SRC_URI += file://initscript
  SRC_URI[md5sum] = 90150b8c0d0192e10b30157e68844ddf
  SRC_URI[sha256sum] = 
 5a5ede91d5e8ab3c7f637620aa29a3b96eb34318a8b26c8eef2d2c789fc055e3
  
 +PR = r1
  # The original top.mk used INSTALL, not INSTALL_STRIP_PROGRAM when
  # installing .so and executables, this fails in cross compilation
  # environments
 -- 
 1.8.1.2
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [meta-oe][PATCH] libtinyxml: Add native support and use relative paths

2013-03-22 Thread Martin Jansa
On Thu, Mar 14, 2013 at 05:45:57PM +0100, Stefan Herbrechtsmeier wrote:
 Replace CXXFLAGS += -fPIC with EXTRA_CXXFLAGS to allow native
 build and use relative paths to simplify recipe.

Applied, thanks!

 
 Signed-off-by: Stefan Herbrechtsmeier ste...@herbrechtsmeier.net
 ---
  .../recipes-support/libtinyxml/libtinyxml_2.6.2.bb |   18 ++
  1 files changed, 10 insertions(+), 8 deletions(-)
 
 diff --git a/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb 
 b/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb
 index fdadebd..8670fac 100644
 --- a/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb
 +++ b/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb
 @@ -16,20 +16,21 @@ SRC_URI[sha256sum] = 
 15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062
  
  S = ${WORKDIR}/tinyxml
  
 -CXXFLAGS += -fPIC
 +EXTRA_CXXFLAGS = -I. -fPIC
  
  do_compile() {
 -${CXX} ${CXXFLAGS} -I${S} -c -o ${S}/tinyxml.o ${S}/tinyxml.cpp
 -${CXX} ${CXXFLAGS} -I${S} -c -o ${S}/tinyxmlerror.o ${S}/tinyxmlerror.cpp
 -${CXX} ${CXXFLAGS} -I${S} -c -o ${S}/tinyxmlparser.o 
 ${S}/tinyxmlparser.cpp
 +${CXX} ${CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o tinyxml.o tinyxml.cpp
 +${CXX} ${CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o tinyxmlerror.o 
 tinyxmlerror.cpp
 +${CXX} ${CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o tinyxmlparser.o 
 tinyxmlparser.cpp
  ${CXX} ${CXXFLAGS} \
  -shared \
  -Wl,-soname,libtinyxml.so.${PV} \
 --o ${S}/libtinyxml.so.${PV} \
 +-o libtinyxml.so.${PV} \
  ${LDFLAGS} \
 -${S}/tinyxml.o \
 -${S}/tinyxmlparser.o \
 -${S}/tinyxmlerror.o
 +tinyxml.o \
 +tinyxmlparser.o \
 +tinyxmlerror.o
 +
  }
  
  do_install() {
 @@ -41,3 +42,4 @@ do_install() {
  install -m 0644 ${S}/tinyxml.h ${D}${includedir}
  }
  
 +BBCLASSEXTEND += native
 -- 
 1.7.0.4
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [meta-oe][PATCH] luajit: Fix build with SSTATE enabled

2013-03-22 Thread Martin Jansa
On Thu, Mar 14, 2013 at 02:05:58PM -0700, Khem Raj wrote:
 luajit does not honor standard CC variables
 so when its built from shared state it does
 not compile because --sysroot is wrong.

Applied, thanks!

 
 This patch fixes the problem by passing
 the TOOLCHAIN_OPTONS to appropriate flags
 so that it gets the correct sysroot value
 
 Signed-off-by: Khem Raj raj.k...@gmail.com
 ---
  meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb |4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb 
 b/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb
 index 70cefa8..a7f96f8 100644
 --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb
 +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb
 @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
 file://COPYRIGHT;md5=9511885992e4900014e3b13ca6372b7d
  HOMEPAGE = http://luajit.org;
  
  DEPENDS += lua5.1
 -PR = r1
 +PR = r2
  SRC_URI = http://luajit.org/download/LuaJIT-${PV}.tar.gz \
 file://disable_lj_vm_foldarith_for_spe.patch \

 @@ -20,7 +20,7 @@ do_configure_prepend() {
   sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile
  }
  
 -EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX}'
 +EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX} TARGET_CFLAGS=${TOOLCHAIN_OPTIONS} 
 TARGET_LDFLAGS=${TOOLCHAIN_OPTIONS} TARGET_SHLDFLAGS=${TOOLCHAIN_OPTIONS}'
  EXTRA_OEMAKE_append_powerpc = ' HOST_CC=${BUILD_CC} -m32'
  EXTRA_OEMAKE_append_x86-64 = ' HOST_CC=${BUILD_CC}'
  EXTRA_OEMAKE_append_i586 = ' HOST_CC=${BUILD_CC} -m32'
 -- 
 1.7.9.5
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [PATCH] wpa_supplicant: Location of systemd services files changed

2013-03-22 Thread Martin Jansa
On Fri, Mar 15, 2013 at 09:26:54AM +0200, Jukka Rissanen wrote:
 
 Signed-off-by: Jukka Rissanen jukka.rissa...@linux.intel.com
 ---
  .../recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend | 2 
 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git 
 a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
  
 b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
 index 23dcc82..91ee4ad 100644
 --- 
 a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
 +++ 
 b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
 @@ -8,7 +8,7 @@ SYSTEMD_AUTO_ENABLE = disable
  
  do_install_append () {
  install -d ${D}${systemd_unitdir}/system
 -install -m 644 ${S}/systemd/*.service ${D}${systemd_unitdir}/system
 +install -m 644 ${S}/wpa_supplicant/systemd/*.service 
 ${D}${systemd_unitdir}/system
  }
  
  # systemd.bbclass does not catch all multiple-instance-service-files

Applied, thanks!

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

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


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


Re: [oe] [meta-oe][PATCH] python-numpy: add i586 *config.h files

2013-03-22 Thread Martin Jansa
On Sat, Mar 16, 2013 at 02:15:55PM +0100, Koen Kooi wrote:
 Generated using native compile on FRI2/angstrom

Applied, thanks!

 
 Signed-off-by: Koen Kooi k...@dominion.thruhere.net
 ---
  .../python/python-numpy/i586/config.h  | 108 
 +
  .../python/python-numpy/i586/numpyconfig.h |  24 +
  .../recipes-devtools/python/python-numpy_1.7.0.bb  |   4 +
  3 files changed, 136 insertions(+)
  create mode 100644 meta-oe/recipes-devtools/python/python-numpy/i586/config.h
  create mode 100644 
 meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h
 
 diff --git a/meta-oe/recipes-devtools/python/python-numpy/i586/config.h 
 b/meta-oe/recipes-devtools/python/python-numpy/i586/config.h
 new file mode 100644
 index 000..08e41e3
 --- /dev/null
 +++ b/meta-oe/recipes-devtools/python/python-numpy/i586/config.h
 @@ -0,0 +1,108 @@
 +#define SIZEOF_PY_INTPTR_T 4
 +#define SIZEOF_PY_LONG_LONG 8
 +#define MATHLIB m
 +#define HAVE_SIN
 +#define HAVE_COS
 +#define HAVE_TAN
 +#define HAVE_SINH
 +#define HAVE_COSH
 +#define HAVE_TANH
 +#define HAVE_FABS
 +#define HAVE_FLOOR
 +#define HAVE_CEIL
 +#define HAVE_SQRT
 +#define HAVE_LOG10
 +#define HAVE_LOG
 +#define HAVE_EXP
 +#define HAVE_ASIN
 +#define HAVE_ACOS
 +#define HAVE_ATAN
 +#define HAVE_FMOD
 +#define HAVE_MODF
 +#define HAVE_FREXP
 +#define HAVE_LDEXP
 +#define HAVE_RINT
 +#define HAVE_TRUNC
 +#define HAVE_EXP2
 +#define HAVE_LOG2
 +#define HAVE_ATAN2
 +#define HAVE_POW
 +#define HAVE_NEXTAFTER
 +#define HAVE_SINF
 +#define HAVE_COSF
 +#define HAVE_TANF
 +#define HAVE_SINHF
 +#define HAVE_COSHF
 +#define HAVE_TANHF
 +#define HAVE_FABSF
 +#define HAVE_FLOORF
 +#define HAVE_CEILF
 +#define HAVE_RINTF
 +#define HAVE_TRUNCF
 +#define HAVE_SQRTF
 +#define HAVE_LOG10F
 +#define HAVE_LOGF
 +#define HAVE_LOG1PF
 +#define HAVE_EXPF
 +#define HAVE_EXPM1F
 +#define HAVE_ASINF
 +#define HAVE_ACOSF
 +#define HAVE_ATANF
 +#define HAVE_ASINHF
 +#define HAVE_ACOSHF
 +#define HAVE_ATANHF
 +#define HAVE_HYPOTF
 +#define HAVE_ATAN2F
 +#define HAVE_POWF
 +#define HAVE_FMODF
 +#define HAVE_MODFF
 +#define HAVE_FREXPF
 +#define HAVE_LDEXPF
 +#define HAVE_EXP2F
 +#define HAVE_LOG2F
 +#define HAVE_COPYSIGNF
 +#define HAVE_NEXTAFTERF
 +#define HAVE_SINL
 +#define HAVE_COSL
 +#define HAVE_TANL
 +#define HAVE_SINHL
 +#define HAVE_COSHL
 +#define HAVE_TANHL
 +#define HAVE_FABSL
 +#define HAVE_FLOORL
 +#define HAVE_CEILL
 +#define HAVE_RINTL
 +#define HAVE_TRUNCL
 +#define HAVE_SQRTL
 +#define HAVE_LOG10L
 +#define HAVE_LOGL
 +#define HAVE_LOG1PL
 +#define HAVE_EXPL
 +#define HAVE_EXPM1L
 +#define HAVE_ASINL
 +#define HAVE_ACOSL
 +#define HAVE_ATANL
 +#define HAVE_ASINHL
 +#define HAVE_ACOSHL
 +#define HAVE_ATANHL
 +#define HAVE_HYPOTL
 +#define HAVE_ATAN2L
 +#define HAVE_POWL
 +#define HAVE_FMODL
 +#define HAVE_MODFL
 +#define HAVE_FREXPL
 +#define HAVE_LDEXPL
 +#define HAVE_EXP2L
 +#define HAVE_LOG2L
 +#define HAVE_COPYSIGNL
 +#define HAVE_NEXTAFTERL
 +#define HAVE_DECL_SIGNBIT
 +#define HAVE_COMPLEX_H
 +#define HAVE_LDOUBLE_INTEL_EXTENDED_12_BYTES_LE 1
 +#ifndef __cplusplus
 +/* #undef inline */
 +#endif
 +
 +#ifndef _NPY_NPY_CONFIG_H_
 +#error config.h should never be included directly, include npy_config.h 
 instead
 +#endif
 diff --git a/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h 
 b/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h
 new file mode 100644
 index 000..ff7938c
 --- /dev/null
 +++ b/meta-oe/recipes-devtools/python/python-numpy/i586/numpyconfig.h
 @@ -0,0 +1,24 @@
 +#ifndef _NPY_NUMPYCONFIG_H_
 +#define _NPY_NUMPYCONFIG_H_
 +
 +#include _numpyconfig.h
 +
 +/* 
 + * On Mac OS X, because there is only one configuration stage for all the 
 archs
 + * in universal builds, any macro which depends on the arch needs to be
 + * harcoded
 + */
 +#ifdef __APPLE__
 + #undef NPY_SIZEOF_LONG
 + #undef NPY_SIZEOF_PY_INTPTR_T
 +
 + #ifdef __LP64__
 + #define NPY_SIZEOF_LONG 8
 + #define NPY_SIZEOF_PY_INTPTR_T  8
 + #else
 + #define NPY_SIZEOF_LONG 4
 + #define NPY_SIZEOF_PY_INTPTR_T  4
 + #endif
 +#endif
 +
 +#endif
 diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb 
 b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
 index bbe4e63..23bec15 100644
 --- a/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
 +++ b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
 @@ -18,6 +18,10 @@ CONFIGFILESURI_mipsel = file://config.h \
  file://numpyconfig.h \
 
  
 +CONFIGFILESURI_i586 = file://config.h \
 +   file://numpyconfig.h \
 +  
 +
  S = ${WORKDIR}/numpy-${PV}
  
  inherit distutils
 -- 
 1.8.1.4
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa 

Re: [oe] [meta-oe][PATCH] xfsprogs: fix compile with uclibc

2013-03-22 Thread Martin Jansa
On Wed, Mar 13, 2013 at 10:23:46PM +0100, Andreas Oberritter wrote:
 Uclibc doesn't have aio.h, which xfsprogs checks for.
 However, xfsprogs doesn't use aio.

Applied, thanks!

 
 Signed-off-by: Andreas Oberritter o...@opendreambox.org
 ---
  .../drop-configure-check-for-aio.patch |   99 
 
  meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb |   10 +-
  2 files changed, 108 insertions(+), 1 deletion(-)
  create mode 100644 
 meta-oe/recipes-support/xfsprogs/xfsprogs-3.1.8/drop-configure-check-for-aio.patch
 
 diff --git 
 a/meta-oe/recipes-support/xfsprogs/xfsprogs-3.1.8/drop-configure-check-for-aio.patch
  
 b/meta-oe/recipes-support/xfsprogs/xfsprogs-3.1.8/drop-configure-check-for-aio.patch
 new file mode 100644
 index 000..a1c6042
 --- /dev/null
 +++ 
 b/meta-oe/recipes-support/xfsprogs/xfsprogs-3.1.8/drop-configure-check-for-aio.patch
 @@ -0,0 +1,99 @@
 +Upstream-Status: Pending
 +
 +From a38bf800a655ea32cbddd6504e15c2f18597fd13 Mon Sep 17 00:00:00 2001
 +From: Andreas Oberritter o...@opendreambox.org
 +Date: Wed, 13 Mar 2013 14:40:13 +0100
 +Subject: [PATCH] xfsprogs: drop configure check for aio
 +
 +It's unused and breaks compilation with uclibc.
 +
 +Signed-off-by: Andreas Oberritter o...@opendreambox.org
 +---
 + configure.in |6 +++---
 + m4/Makefile  |1 -
 + m4/package_aiodev.m4 |   37 -
 + 3 files changed, 3 insertions(+), 41 deletions(-)
 + delete mode 100644 m4/package_aiodev.m4
 +
 +diff --git a/configure.in b/configure.in
 +index 664c0e9..f7d35f1 100644
 +--- a/configure.in
  b/configure.in
 +@@ -46,6 +46,9 @@ AC_ARG_ENABLE(lib64,
 + enable_lib64=yes)
 + AC_SUBST(enable_lib64)
 + 
 ++librt=-lrt
 ++AC_SUBST(librt)
 ++
 + #
 + # If the user specified a libdir ending in lib64 do not append another
 + # 64 to the library names.
 +@@ -91,9 +94,6 @@ AC_PACKAGE_GLOBALS(xfsprogs)
 + AC_PACKAGE_UTILITIES(xfsprogs)
 + AC_MULTILIB($enable_lib64)
 + 
 +-AC_PACKAGE_NEED_AIO_H
 +-AC_PACKAGE_NEED_LIO_LISTIO
 +-
 + AC_PACKAGE_NEED_UUID_H
 + AC_PACKAGE_NEED_UUIDCOMPARE
 + 
 +diff --git a/m4/Makefile b/m4/Makefile
 +index 654a4fb..d282f0a 100644
 +--- a/m4/Makefile
  b/m4/Makefile
 +@@ -14,7 +14,6 @@ CONFIGURE = \
 + 
 + LSRCFILES = \
 + manual_format.m4 \
 +-package_aiodev.m4 \
 + package_blkid.m4 \
 + package_globals.m4 \
 + package_libcdev.m4 \
 +diff --git a/m4/package_aiodev.m4 b/m4/package_aiodev.m4
 +deleted file mode 100644
 +index 490d9c8..000
 +--- a/m4/package_aiodev.m4
  /dev/null
 +@@ -1,37 +0,0 @@
 +-#
 +-# Check if we have a libaio.h installed
 +-#
 +-AC_DEFUN([AC_PACKAGE_WANT_AIO],
 +-  [ AC_CHECK_HEADERS(libaio.h, [ have_aio=true ], [ have_aio=false ])
 +-AC_SUBST(have_aio)
 +-  ])
 +-
 +-#
 +-# Check if we have an aio.h installed
 +-#
 +-AC_DEFUN([AC_PACKAGE_NEED_AIO_H],
 +-  [ AC_CHECK_HEADERS(aio.h)
 +-if test $ac_cv_header_aio_h = no; then
 +-echo
 +-echo 'FATAL ERROR: could not find a valid aio.h header.'
 +-exit 1
 +-fi
 +-  ])
 +-
 +-#
 +-# Check if we have the lio_listio routine in either libc/librt
 +-#
 +-AC_DEFUN([AC_PACKAGE_NEED_LIO_LISTIO],
 +-  [ AC_CHECK_FUNCS(lio_listio)
 +-if test $ac_cv_func_lio_listio = yes; then
 +-librt=
 +-else
 +-AC_CHECK_LIB(rt, lio_listio,, [
 +-echo
 +-echo 'FATAL ERROR: could not find a library with lio_listio.'
 +-exit 1],[-lpthread])
 +-librt=-lrt
 +-fi
 +-AC_SUBST(librt)
 +-  ])
 +-
 +-- 
 +1.7.10.4
 +
 diff --git a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb 
 b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb
 index f83561d..ef5224b 100644
 --- a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb
 +++ b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb
 @@ -5,10 +5,11 @@ LICENSE = GPLv2
  LICENSE_libhandle = LGPLv2.1
  LIC_FILES_CHKSUM = file://doc/COPYING;md5=dbdb5f4329b7e7145de650e9ecd4ac2a
  DEPENDS = util-linux
 -PR = r0
 +PR = r1
  
  SRC_URI = ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz \
   file://remove-install-as-user.patch \
 + file://drop-configure-check-for-aio.patch \
  
  
  SRC_URI[md5sum] = f70b2e7200d4c29f0af1cf70e7be1db6
 @@ -26,6 +27,13 @@ FILES_libhandle = ${base_libdir}/libhandle${SOLIBS}
  
  EXTRA_OECONF = --enable-gettext=no
  do_configure () {
 + # Prevent Makefile from calling configure without arguments,
 + # when do_configure gets called for a second time.
 + rm -f include/builddefs include/platform_defs.h
 + # Recreate configure script.
 + rm -f configure
 + oe_runmake configure
 + # Configure.
   export DEBUG=-DNDEBUG
   gnu-configize --force
   oe_runconf
 -- 
 1.7.10.4
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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



Re: [oe] [meta-oe][PATCH] lio-utils: initial add 4.1

2013-03-22 Thread Martin Jansa
On Wed, Mar 13, 2013 at 03:49:42PM +0800, b28...@freescale.com wrote:
 From: Ting Liu b28...@freescale.com
 
 lio-utils (lio-utils.git) provide a simple low-level configuration tool
 set for the Target+iSCSI (LIO).

Applied, thanks!

 
 lio-utils use the configFS kernel API that is available with LIO, which
 provides a clean interface for controlling the kernel level Target
 engine and its fabric module subsystems.
 
 Signed-off-by: Ting Liu b28...@freescale.com
 ---
  meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb |   59 
 
  1 files changed, 59 insertions(+), 0 deletions(-)
  create mode 100644 meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb
 
 diff --git a/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb 
 b/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb
 new file mode 100644
 index 000..bbedb78
 --- /dev/null
 +++ b/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb
 @@ -0,0 +1,59 @@
 +SUMMARY = lio-utils
 +DESCRIPTION = a simple low-level configuration tool set for the 
 Target+iSCSI (LIO)
 +HOMEPAGE = http://linux-iscsi.org/index.php/Lio-utils;
 +LICENSE = GPLv2
 +LIC_FILES_CHKSUM = 
 file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df
 +
 +PV = 4.1+git${SRCPV}
 +
 +SRC_URI = git://risingtidesystems.com/lio-utils.git
 +SRCREV = 28bd928655bdc7bd3cf380f0196630690c51e05f
 +S = ${WORKDIR}/git
 +
 +inherit distutils
 +
 +EXTRA_OEMAKE += DESTDIR=${D}
 +
 +do_compile() {
 +cd ${S}/tcm-py
 +distutils_do_compile
 +
 +cd ${S}/lio-py
 +distutils_do_compile
 +
 +if test -d ${S}/tools; then
 +oe_runmake -C ${S}/tools
 +fi
 +}
 +
 +do_install() {
 +cd ${S}/tcm-py
 +distutils_do_install
 +
 +cd ${S}/lio-py
 +distutils_do_install
 +
 +SITE_PACKAGES=${D}/${PYTHON_SITEPACKAGES_DIR}
 +install -d ${D}/${sbindir}
 +for var in tcm_node tcm_dump tcm_loop tcm_fabric lio_dump lio_node; do
 +if [ ! -h ${D}/${sbindir}/${var} ];then
 +chmod a+x ${SITE_PACKAGES}/${var}.py
 +ln -s ${PYTHON_SITEPACKAGES_DIR}/${var}.py ${D}/${sbindir}/${var}
 +fi
 +done
 +
 +if test -d ${S}/tools; then
 +oe_runmake -C ${S}/tools install
 +fi
 +
 +install -d ${D}/etc/target/
 +install -d ${D}/etc/init.d/
 +install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/
 +install -m 755 ${S}/conf/tcm_start.default ${D}/etc/target/tcm_start.sh
 +install -m 755 ${S}/conf/lio_start.default ${D}/etc/target/lio_start.sh
 +}
 +
 +RDEPENDS_${PN} += python-stringold python-subprocess python-shell \
 +python-datetime python-textutils python-crypt python-netclient 
 python-email
 +
 +FILES_${PN} += ${sbindir}/* /etc/init.d/* /etc/target/*
 -- 
 1.7.3.4
 
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


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


[oe] [meta-oe][for-danny][PATCH] libdvdread: Update to newer GIT server

2013-03-22 Thread Otavio Salvador
Daniel has moved to newer GIT server and also imported the Debian
packages on it so the previously used hash is not available. Update
accordingly.

Change-Id: I0b42d76031175b85bd1711ba5ef01f5a2a34dc46
Signed-off-by: Otavio Salvador ota...@ossystems.com.br
---
 .../libdvdread/libdvdread_4.1.3-10.bb  |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb 
b/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
index f17043b..9212a8d 100644
--- a/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
+++ b/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
@@ -2,9 +2,11 @@ DESCRIPTION = DVD access multimeda library
 SECTION = libs/multimedia
 LICENSE = GPLv2+
 LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f
-SRC_URI = 
git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian
+SRC_URI = 
git://daniel-baumann.ch/git/debian/libdvdread.git;protocol=http;branch=debian
 
-SRCREV = e465b500c12be5b4c0b6918a9b98038611f66c57
+PR = r1
+
+SRCREV = a733b19584000a9c80ef5b8dfb187f8f00e4d1e7
 S = ${WORKDIR}/git
 
 inherit autotools lib_package binconfig pkgconfig
-- 
1.7.2.5


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


Re: [oe] [meta-networking][PATCH] tftp-hpa: make init script work

2013-03-22 Thread Joe MacDonald
[Re: [meta-networking][PATCH] tftp-hpa: make init script work] On 13.03.18 (Mon 
11:39) Joe MacDonald wrote:

 Hey Roy,
 
 [[meta-networking][PATCH] tftp-hpa: make init script work] On 13.03.05 (Tue 
 09:00) rongqing...@windriver.com wrote:
 
  From: Roy.Li rongqing...@windriver.com
  
  1. fix the daemon name, it should be in.tftpd-hpa
  2. root directory should be /var/lib/tftpboot, since /var/lib/tftpboot has 
  been
  installed, but /srv/tftpboot not
 
 Hmm.  This is a bit problematic for me.  I wouldn't normally bat an eye
 at such a change, but because the original recipe specifically pointed
 the tftp server at /srv and when I looked at my own tftp server, that's
 where it was set.  It's been so long since I did anything with it I'd
 forgotten why I put the contents there, so I thought I'd have a quick
 look-see as to why.  Turns out that's actually the FHS-recommended
 location:
 

 http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM
 
 And this has been identified and fixed in at least Ubuntu:
 
https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/84615
 
 Unless there's a strong objection, I'd prefer to see a fix for this that
 updates the recipe to install into /svc/tftpboot, rather than changing
 the daemon options to look in /var/lib/tftpboot.

Roy?  Just a ping.

-J.

 
 Changing the name is fine with me (will this cause pain for the systemd
 folks?).
 
 -J.
 
  
  Signed-off-by: Roy.Li rongqing...@windriver.com
  ---
   meta-networking/recipes-daemons/tftp-hpa/files/default   |2 +-
   meta-networking/recipes-daemons/tftp-hpa/files/init  |2 +-
   meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb |2 +-
   3 files changed, 3 insertions(+), 3 deletions(-)
  
  diff --git a/meta-networking/recipes-daemons/tftp-hpa/files/default 
  b/meta-networking/recipes-daemons/tftp-hpa/files/default
  index de2ed18..1dce7fd 100644
  --- a/meta-networking/recipes-daemons/tftp-hpa/files/default
  +++ b/meta-networking/recipes-daemons/tftp-hpa/files/default
  @@ -1,3 +1,3 @@
   #Defaults for tftpd-hpa
   RUN_DAEMON=yes
  -OPTIONS=-l -s /srv/tftpboot
  +OPTIONS=-l -s /var/lib/tftpboot
  diff --git a/meta-networking/recipes-daemons/tftp-hpa/files/init 
  b/meta-networking/recipes-daemons/tftp-hpa/files/init
  index 5ad8c52..0561ff6 100644
  --- a/meta-networking/recipes-daemons/tftp-hpa/files/init
  +++ b/meta-networking/recipes-daemons/tftp-hpa/files/init
  @@ -18,7 +18,7 @@ set -e
   
   PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
   DESC=HPA's tftpd
  -NAME=in.tftpd
  +NAME=in.tftpd-hpa
   DAEMON=/usr/sbin/$NAME
   PIDFILE=/var/run/$NAME.pid
   SCRIPTNAME=/etc/init.d/tftpd-hpa
  diff --git a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb 
  b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
  index af48455..c116121 100644
  --- a/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
  +++ b/meta-networking/recipes-daemons/tftp-hpa/tftp-hpa_5.2.bb
  @@ -11,7 +11,7 @@ LICENSE = BSD-4-Clause
   LIC_FILES_CHKSUM = 
  file://MCONFIG.in;beginline=1;endline=9;md5=c28ba5adb43041fae4629db05c83cbdd
   \
   
  file://tftp/tftp.c;beginline=1;endline=32;md5=988c1cba99d70858a26cd877209857f4
   
  -PR = r0
  +PR = r1
   
   SRC_URI = 
  http://kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-${PV}.tar.bz2
   \
  file://tftp-0.40-remap.patch \
-- 
-Joe MacDonald.
:wq


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


Re: [oe] [meta-oe][PATCH][for-danny] kernel bbclass: return to original directory in do_deploy

2013-03-22 Thread Maupin, Chase
Ping on this patch.  I did not submit for master since the master branch has 
already removed the kernel.bbclass.


 -Original Message-
 From: Maupin, Chase
 Sent: Monday, March 18, 2013 12:50 PM
 To: openembedded-devel@lists.openembedded.org
 Cc: Maupin, Chase
 Subject: [oe][meta-oe][PATCH][for-danny] kernel bbclass: return
 to original directory in do_deploy
 
 * During the base kernel_do_deploy function the directory is
   changed to DEPLOYDIR in order to do some cleanup and
 symlinking.
   However, the directory is not changed back to the original
   starting directory ${S} at the end.  For append functions this
   means that the starting directory is not ${S} as expected but
   instead ${DEPLOYDIR}.
 
   For functions like the do_deploy_append in
   recipes-kernel/linux/linux-dtb.inc there is an assumption that
   you are still in the source directory and not the DEPLOYDIR.
   Without this change the .dtb files are not copied because the
   check for the existence of ${DTS_FILE} which is a relative
   path from the ${S} directory fails.  This means that the .dtb
   files are not copied into the deploy directory and subsequently
   the deploy/images directory.
 
   In the log.do_deploy file you will see lines like:
 
 Warning: arch/arm/boot/dts/x.dts is not available!
 
   This fix has also been picked up in the oe-core kernel.bbclass:
 
   http://cgit.openembedded.org/openembedded-
 core/commit/?id=fd5d80ab1a405cb4ef94f2cde25f8c251da490f0
 
 Signed-off-by: Chase Maupin chase.mau...@ti.com
 ---
  meta-oe/classes/kernel.bbclass |1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
 diff --git a/meta-oe/classes/kernel.bbclass b/meta-
 oe/classes/kernel.bbclass
 index 25c5f64..a0f67f9 100644
 --- a/meta-oe/classes/kernel.bbclass
 +++ b/meta-oe/classes/kernel.bbclass
 @@ -546,6 +546,7 @@ kernel_do_deploy() {
   ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGETYPE}
 
   cp ${COREBASE}/meta/files/deploydir_readme.txt
 ${DEPLOYDIR}/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
 + cd -
  }
  do_deploy[dirs] = ${DEPLOYDIR} ${B}
 
 --
 1.7.0.4


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


[oe] Adding a recipe to oe bitbake

2013-03-22 Thread David Hirst
Hi,
I have been struggling with a oe/bitbake issue. I wanted to add an
other .bb to the image file.
I have tried multiple ways but always end up at the same spot. I have
created a new task-XXX.bb file which includes my bb
I edited the -rootfs-image.bb to include the task-XXX.bb.
Once built I find that everything built fine and the new recipe was built
but was not loaded into the -rootfs-image.tar,gz.
If I look into the image directory for the bb file I see the compiled
application in usr/sbin.
I have tried this with my own .bb file and net-snmp bb file which comes
with the default oe-layersetup installation with the same result.
Did I not edit a file or miss some other required step?

-- 
David Hirst
hirst...@gmail.com
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread Gary Thomas

On 2013-03-22 08:24, David Hirst wrote:

Hi,
 I have been struggling with a oe/bitbake issue. I wanted to add an
other .bb to the image file.
I have tried multiple ways but always end up at the same spot. I have
created a new task-XXX.bb file which includes my bb
I edited the -rootfs-image.bb to include the task-XXX.bb.
Once built I find that everything built fine and the new recipe was built
but was not loaded into the -rootfs-image.tar,gz.
If I look into the image directory for the bb file I see the compiled
application in usr/sbin.
I have tried this with my own .bb file and net-snmp bb file which comes
with the default oe-layersetup installation with the same result.
Did I not edit a file or miss some other required step?



Wow, the same question on three mailing lists (that I read, there
may be more...) and no cross-posting!

This list is perhaps the most appropriate one for your question.

More details will help.  Exactly what did you change in the 
-rootfs-image.bb
recipe?

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world


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


Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread David Hirst
OK,
Sorry for the carpet bombing! I added this to tisdk-rootfs-image
task-arago-xyz \ to look for the new task file
I have included the task and pure-ftpd bb files also. I would love to
understand why this does not work.

==tisdk-rootfs-image.bb
# Arago TI SDK filesystem image
COMPATIBLE_MACHINE = omap3|omapl138|ti33x

require arago-base-tisdk-image.bb

IMAGE_INSTALL += \
task-arago-test \
task-arago-tisdk-graphics \
task-arago-tisdk-qte \
task-arago-tisdk-addons \
task-arago-tisdk-connectivity \
task-arago-tisdk-crypto \
task-arago-tisdk-matrix \
task-arago-tisdk-multimedia \
task-arago-tisdk-amsdk \
task-arago-xyz \


export IMAGE_BASENAME = tisdk-rootfs-image

=task-arago.xyz.bb

DESCRIPTION = Extended task to get extras
LICENSE = MIT
LIC_FILES_CHKSUM =
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
PR = r0

inherit task

ARAGO_XYZ =  \
pure-ftpd \


ARAGO_XYZ_INT = \
${ARAGO_XYZ} \

RDEPENDS_${PN} = \
${ARAGO_XYZ_INT} \

===pure-ftpd_1.0.29.bb

DESCRIPTION = Sample program
LICENSE = GPLv2
LIC_FILES_CHKSUM = file://COPYING;md5=d7b47170f564f6a314b82b3ea67a40bd
PR = r0
PV = 1.0.29
DEPENDS = 
RPROVIDES = pure-ftpd
PROVIDES = pure-ftpd
ARM_INSTRUCTION_SET = arm

PARALLEL_MAKE = 

inherit autotools pkgconfig

EXTRA_OECONF = --enable-cross-compile --host=arm-arago-linux-gnueabi

SRC_URI = 
http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-${PV}.tar.gz

SRC_URI[md5sum] = e0132a51357d419f8b66e8997d9dc5fa
SRC_URI[sha256sum] =
55bfb84fa63a37e5b56906afbfda7285d0f8b5ed24798f59c978ddea2749
S = ${WORKDIR}/pure-ftpd-${PV}

EXTRA_OECONF_append_armv6 =  --enable-armv6
EXTRA_OECONF_append_armv7a =  --enable-armv6 --enable-neon

FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer
-frename-registers -O4 -ffast-math
BUILD_OPTIMIZATION = ${FULL_OPTIMIZATION}

do_configure(){
  oe_runconf ${EXTRE_OECONF}
}

do_compile () {
  oe_runmake
}

do_install () {
  oe_runmake install DESTDIR=${D}
}


ARM_INSTRUCTION_SET = arm

BBCLASSEXTEND = native

 END===

On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas g...@mlbassoc.com wrote:

 On 2013-03-22 08:24, David Hirst wrote:

 Hi,
  I have been struggling with a oe/bitbake issue. I wanted to add an
 other .bb to the image file.
 I have tried multiple ways but always end up at the same spot. I have
 created a new task-XXX.bb file which includes my bb
 I edited the -rootfs-image.bb to include the task-XXX.bb.
 Once built I find that everything built fine and the new recipe was built
 but was not loaded into the -rootfs-image.tar,gz.
 If I look into the image directory for the bb file I see the compiled
 application in usr/sbin.
 I have tried this with my own .bb file and net-snmp bb file which comes
 with the default oe-layersetup installation with the same result.
 Did I not edit a file or miss some other required step?


 Wow, the same question on three mailing lists (that I read, there
 may be more...) and no cross-posting!

 This list is perhaps the most appropriate one for your question.

 More details will help.  Exactly what did you change in the
 -rootfs-image.bb
 recipe?

 --
 --**--
 Gary Thomas |  Consulting for the
 MLB Associates  |Embedded world
 --**--

 __**_
 Openembedded-devel mailing list
 Openembedded-devel@lists.**openembedded.orgOpenembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-develhttp://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




-- 
David Hirst
hirst...@gmail.com
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread Gary Thomas

On 2013-03-22 08:42, David Hirst wrote:

OK,
 Sorry for the carpet bombing! I added this to tisdk-rootfs-image
task-arago-xyz \ to look for the new task file
I have included the task and pure-ftpd bb files also. I would love to
understand why this does not work.


What steps did you run after making this change?
What version of bitbake are you using?

Most likely, bitbake did not [fully] realize that you made a change.
I'd try something like this:
  % bitbake tisdk-rootfs-image -c cleansstate
  % bitbake tisdk-rootfs-image
and see what happens.

BTW, top-posting is evil :-(



==tisdk-rootfs-image.bb
# Arago TI SDK filesystem image
COMPATIBLE_MACHINE = omap3|omapl138|ti33x

require arago-base-tisdk-image.bb

IMAGE_INSTALL += \
 task-arago-test \
 task-arago-tisdk-graphics \
 task-arago-tisdk-qte \
 task-arago-tisdk-addons \
 task-arago-tisdk-connectivity \
 task-arago-tisdk-crypto \
 task-arago-tisdk-matrix \
 task-arago-tisdk-multimedia \
 task-arago-tisdk-amsdk \
 task-arago-xyz \


export IMAGE_BASENAME = tisdk-rootfs-image

=task-arago.xyz.bb

DESCRIPTION = Extended task to get extras
LICENSE = MIT
LIC_FILES_CHKSUM =
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
PR = r0

inherit task

ARAGO_XYZ =  \
 pure-ftpd \
 

ARAGO_XYZ_INT = \
 ${ARAGO_XYZ} \
 
RDEPENDS_${PN} = \
 ${ARAGO_XYZ_INT} \
 
===pure-ftpd_1.0.29.bb

DESCRIPTION = Sample program
LICENSE = GPLv2
LIC_FILES_CHKSUM = file://COPYING;md5=d7b47170f564f6a314b82b3ea67a40bd
PR = r0
PV = 1.0.29
DEPENDS = 
RPROVIDES = pure-ftpd
PROVIDES = pure-ftpd
ARM_INSTRUCTION_SET = arm

PARALLEL_MAKE = 

inherit autotools pkgconfig

EXTRA_OECONF = --enable-cross-compile --host=arm-arago-linux-gnueabi

SRC_URI = 
http://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-${PV}.tar.gz

SRC_URI[md5sum] = e0132a51357d419f8b66e8997d9dc5fa
SRC_URI[sha256sum] =
55bfb84fa63a37e5b56906afbfda7285d0f8b5ed24798f59c978ddea2749
S = ${WORKDIR}/pure-ftpd-${PV}

EXTRA_OECONF_append_armv6 =  --enable-armv6
EXTRA_OECONF_append_armv7a =  --enable-armv6 --enable-neon

FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer
-frename-registers -O4 -ffast-math
BUILD_OPTIMIZATION = ${FULL_OPTIMIZATION}

do_configure(){
   oe_runconf ${EXTRE_OECONF}
}

do_compile () {
   oe_runmake
}

do_install () {
   oe_runmake install DESTDIR=${D}
}


ARM_INSTRUCTION_SET = arm

BBCLASSEXTEND = native

 END===

On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas g...@mlbassoc.com wrote:


On 2013-03-22 08:24, David Hirst wrote:


Hi,
  I have been struggling with a oe/bitbake issue. I wanted to add an
other .bb to the image file.
I have tried multiple ways but always end up at the same spot. I have
created a new task-XXX.bb file which includes my bb
I edited the -rootfs-image.bb to include the task-XXX.bb.
Once built I find that everything built fine and the new recipe was built
but was not loaded into the -rootfs-image.tar,gz.
If I look into the image directory for the bb file I see the compiled
application in usr/sbin.
I have tried this with my own .bb file and net-snmp bb file which comes
with the default oe-layersetup installation with the same result.
Did I not edit a file or miss some other required step?



Wow, the same question on three mailing lists (that I read, there
may be more...) and no cross-posting!

This list is perhaps the most appropriate one for your question.

More details will help.  Exactly what did you change in the
-rootfs-image.bb
recipe?

--
--**--
Gary Thomas |  Consulting for the
MLB Associates  |Embedded world
--**--

__**_
Openembedded-devel mailing list
Openembedded-devel@lists.**openembedded.orgOpenembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-develhttp://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel







--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world


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


Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread David Hirst
I did a bitbake tisdk-rootfs-image -c clean
I will try the cleanstate
It seems really difficult to get started from an absolutely clean slate,
some where status is held that gets in the way
I will let you know

Thanks so far



On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas g...@mlbassoc.com wrote:

 On 2013-03-22 08:42, David Hirst wrote:

 OK,
  Sorry for the carpet bombing! I added this to tisdk-rootfs-image
 task-arago-xyz \ to look for the new task file
 I have included the task and pure-ftpd bb files also. I would love to
 understand why this does not work.


 What steps did you run after making this change?
 What version of bitbake are you using?

 Most likely, bitbake did not [fully] realize that you made a change.
 I'd try something like this:
   % bitbake tisdk-rootfs-image -c cleansstate
   % bitbake tisdk-rootfs-image
 and see what happens.

 BTW, top-posting is evil :-(


 ==tisd**k-rootfs-image.bbhttp://tisdk-rootfs-image.bb
 =**===
 # Arago TI SDK filesystem image
 COMPATIBLE_MACHINE = omap3|omapl138|ti33x

 require arago-base-tisdk-image.bb

 IMAGE_INSTALL += \
  task-arago-test \
  task-arago-tisdk-graphics \
  task-arago-tisdk-qte \
  task-arago-tisdk-addons \
  task-arago-tisdk-connectivity \
  task-arago-tisdk-crypto \
  task-arago-tisdk-matrix \
  task-arago-tisdk-multimedia \
  task-arago-tisdk-amsdk \
  task-arago-xyz \
 

 export IMAGE_BASENAME = tisdk-rootfs-image

 =task-arago.**xyz.bb http://task-arago.xyz.bb
 

 DESCRIPTION = Extended task to get extras
 LICENSE = MIT
 LIC_FILES_CHKSUM =
 file://${COREBASE}/meta/**COPYING.MIT;md5=**
 3da9cfbcb788c80a0384361b4de204**20
 PR = r0

 inherit task

 ARAGO_XYZ =  \
  pure-ftpd \
  

 ARAGO_XYZ_INT = \
  ${ARAGO_XYZ} \
  
 RDEPENDS_${PN} = \
  ${ARAGO_XYZ_INT} \
  
 ===pure-ftpd_1.0.**29.bb http://pure-ftpd_1.0.29.bb
 

 DESCRIPTION = Sample program
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=**d7b47170f564f6a314b82b3ea67a40**
 bd
 PR = r0
 PV = 1.0.29
 DEPENDS = 
 RPROVIDES = pure-ftpd
 PROVIDES = pure-ftpd
 ARM_INSTRUCTION_SET = arm

 PARALLEL_MAKE = 

 inherit autotools pkgconfig

 EXTRA_OECONF = --enable-cross-compile --host=arm-arago-linux-**gnueabi

 SRC_URI = 
 http://iweb.dl.sourceforge.**net/project/pureftpd/Pure-**
 FTPd/1.0.29/pure-ftpd-${PV}.**tar.gzhttp://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz
 
 SRC_URI[md5sum] = **e0132a51357d419f8b66e8997d9dc5**fa
 SRC_URI[sha256sum] =
 **55bfb84fa63a37e5b56906afbf**da7285d0f8b5ed24798f59c978ddea**2749
 S = ${WORKDIR}/pure-ftpd-${PV}

 EXTRA_OECONF_append_armv6 =  --enable-armv6
 EXTRA_OECONF_append_armv7a =  --enable-armv6 --enable-neon

 FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer
 -frename-registers -O4 -ffast-math
 BUILD_OPTIMIZATION = ${FULL_OPTIMIZATION}

 do_configure(){
oe_runconf ${EXTRE_OECONF}
 }

 do_compile () {
oe_runmake
 }

 do_install () {
oe_runmake install DESTDIR=${D}
 }


 ARM_INSTRUCTION_SET = arm

 BBCLASSEXTEND = native

  END===

 On Fri, Mar 22, 2013 at 10:30 AM, Gary Thomas g...@mlbassoc.com wrote:

  On 2013-03-22 08:24, David Hirst wrote:

  Hi,
   I have been struggling with a oe/bitbake issue. I wanted to add an
 other .bb to the image file.
 I have tried multiple ways but always end up at the same spot. I have
 created a new task-XXX.bb file which includes my bb
 I edited the -rootfs-image.bb to include the task-XXX.bb.
 Once built I find that everything built fine and the new recipe was
 built
 but was not loaded into the -rootfs-image.tar,gz.
 If I look into the image directory for the bb file I see the compiled
 application in usr/sbin.
 I have tried this with my own .bb file and net-snmp bb file which comes
 with the default oe-layersetup installation with the same result.
 Did I not edit a file or miss some other required step?


  Wow, the same question on three mailing lists (that I read, there
 may be more...) and no cross-posting!

 This list is perhaps the most appropriate one for your question.

 More details will help.  Exactly what did you change in the
 -rootfs-image.bb
 recipe?

 --
 --**--

 Gary Thomas |  Consulting for the
 MLB Associates  |Embedded world
 --**--

 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.**ope**nembedded.org http://openembedded.org
 Openembedded-**de...@lists.openembedded.orgOpenembedded-devel@lists.openembedded.org
 
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/
 

Re: [oe] [meta-networking][danny][PATCH] layer.conf: Use .= for adding to BBPATH and += to BBFILES

2013-03-22 Thread Joe MacDonald
[Re: [oe] [meta-networking][danny][PATCH] layer.conf: Use .= for adding to 
BBPATH and += to BBFILES] On 13.03.21 (Thu 15:22) Chris Larson wrote:

 On Thu, Mar 21, 2013 at 3:11 PM, Mark Hatle mark.ha...@windriver.comwrote:
 
  On 3/21/13 4:46 PM, Christopher Larson wrote:
 
  From: Andrei Gherzan andrei.gher...@windriver.com
 
  Fixes parsing errors which is appearing after this commit to
  meta-openembedded
 
  http://cgit.openembedded.org/**meta-openembedded/commit/?id=**
  3c21a46020bd0816579648f684c41d**bd6333583ehttp://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e
 
  This triggers
  exception NameError: name 'base_contains' is not defined
  without this change
 
  Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
  Signed-off-by: Christopher Larson chris_lar...@mentor.com
  ---
meta-networking/conf/layer.**conf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
 
  diff --git a/meta-networking/conf/layer.**conf
  b/meta-networking/conf/layer.**conf
  index f26a172..1ea2bc2 100644
  --- a/meta-networking/conf/layer.**conf
  +++ b/meta-networking/conf/layer.**conf
  @@ -1,9 +1,9 @@
# We have a conf and classes directory, add to BBPATH
  -BBPATH := ${BBPATH}:${LAYERDIR}
  +BBPATH .= :${LAYERDIR}
 
# We have a packages directory, add to BBFILES
  -BBFILES := ${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
  - ${LAYERDIR}/recipes-*/*/*.**bbappend
  +BBFILES += ${LAYERDIR}/recipes-*/*/*.bb \
  +${LAYERDIR}/recipes-*/*/*.**bbappend
 
BBFILE_COLLECTIONS += networking
BBFILE_PATTERN_networking := ^${LAYERDIR}/
 
 
  Don't those two have to be := so that 'LAYERDIR' is immediately
  evaluated? LAYERDIR changes depending on which layer is currently being
  processed
 
 
 Nope, bitbake has handled LAYERDIR specially since Wed Apr 14 14:30:09
 2010. See commits 849dbd63244cbc4eaca0f1beedbb67baca024629 and
 40778a6e9e82c7ea4673a74fc19574430fa63e8d in bitbake.

Okay, I had a quick look through bitbake to confirm the presence of
these on the danny branch, them merged the patch.  Thanks.

-- 
-Joe MacDonald.
:wq


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


Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread David Hirst
Here are the results, the same as before, in the build directories all
seems fine but the final output only has the /usr/share/man/man8/files

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/sbin
are the following files:

pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
pure-uploadscript

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/bin
are the following files:

pure-pw  pure-pwconvert  pure-statsdecode

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/share/man/man8

pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8  pure-uploadscript.8


hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$
tar tvf tisdk-rootfs-image-am335x-evm.tar.gz | grep pure*

-rw-r--r-- root/root  4151 2013-03-22 12:36
./usr/share/man/man8/pure-uploadscript.8
-rw-r--r-- root/root  3187 2013-03-22 12:36
./usr/share/man/man8/pure-pw.8
-rw-r--r-- root/root  2169 2013-03-22 12:36
./usr/share/man/man8/pure-quotacheck.8
-rw-r--r-- root/root  1123 2013-03-22 12:36
./usr/share/man/man8/pure-statsdecode.8
-rw-r--r-- root/root   764 2013-03-22 12:36
./usr/share/man/man8/pure-pwconvert.8
-rw-r--r-- root/root  4160 2013-03-22 12:36
./usr/share/man/man8/pure-authd.8
-rw-r--r-- root/root  2119 2013-03-22 12:36
./usr/share/man/man8/pure-mrtginfo.8
-rw-r--r-- root/root 28755 2013-03-22 12:36
./usr/share/man/man8/pure-ftpd.8
-rw-r--r-- root/root  2449 2013-03-22 12:36
./usr/share/man/man8/pure-ftpwho.8



On Fri, Mar 22, 2013 at 11:02 AM, David Hirst hirst...@gmail.com wrote:

 I did a bitbake tisdk-rootfs-image -c clean
 I will try the cleanstate
 It seems really difficult to get started from an absolutely clean slate,
 some where status is held that gets in the way
 I will let you know

 Thanks so far




 On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas g...@mlbassoc.com wrote:

 On 2013-03-22 08:42, David Hirst wrote:

 OK,
  Sorry for the carpet bombing! I added this to tisdk-rootfs-image
 task-arago-xyz \ to look for the new task file
 I have included the task and pure-ftpd bb files also. I would love to
 understand why this does not work.


 What steps did you run after making this change?
 What version of bitbake are you using?

 Most likely, bitbake did not [fully] realize that you made a change.
 I'd try something like this:
   % bitbake tisdk-rootfs-image -c cleansstate
   % bitbake tisdk-rootfs-image
 and see what happens.

 BTW, top-posting is evil :-(


 ==tisd**k-rootfs-image.bbhttp://tisdk-rootfs-image.bb
 =**===
 # Arago TI SDK filesystem image
 COMPATIBLE_MACHINE = omap3|omapl138|ti33x

 require arago-base-tisdk-image.bb

 IMAGE_INSTALL += \
  task-arago-test \
  task-arago-tisdk-graphics \
  task-arago-tisdk-qte \
  task-arago-tisdk-addons \
  task-arago-tisdk-connectivity \
  task-arago-tisdk-crypto \
  task-arago-tisdk-matrix \
  task-arago-tisdk-multimedia \
  task-arago-tisdk-amsdk \
  task-arago-xyz \
 

 export IMAGE_BASENAME = tisdk-rootfs-image

 =task-arago.**xyz.bb http://task-arago.xyz.bb
 

 DESCRIPTION = Extended task to get extras
 LICENSE = MIT
 LIC_FILES_CHKSUM =
 file://${COREBASE}/meta/**COPYING.MIT;md5=**
 3da9cfbcb788c80a0384361b4de204**20
 PR = r0

 inherit task

 ARAGO_XYZ =  \
  pure-ftpd \
  

 ARAGO_XYZ_INT = \
  ${ARAGO_XYZ} \
  
 RDEPENDS_${PN} = \
  ${ARAGO_XYZ_INT} \
  
 ===pure-ftpd_1.0.**29.bb http://pure-ftpd_1.0.29.bb
 

 DESCRIPTION = Sample program
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=**d7b47170f564f6a314b82b3ea67a40*
 *bd
 PR = r0
 PV = 1.0.29
 DEPENDS = 
 RPROVIDES = pure-ftpd
 PROVIDES = pure-ftpd
 ARM_INSTRUCTION_SET = arm

 PARALLEL_MAKE = 

 inherit autotools pkgconfig

 EXTRA_OECONF = --enable-cross-compile --host=arm-arago-linux-**gnueabi

 SRC_URI = 
 http://iweb.dl.sourceforge.**net/project/pureftpd/Pure-**
 FTPd/1.0.29/pure-ftpd-${PV}.**tar.gzhttp://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz
 
 SRC_URI[md5sum] = **e0132a51357d419f8b66e8997d9dc5**fa
 SRC_URI[sha256sum] =
 **55bfb84fa63a37e5b56906afbf**da7285d0f8b5ed24798f59c978ddea**2749
 S = ${WORKDIR}/pure-ftpd-${PV}

 EXTRA_OECONF_append_armv6 =  --enable-armv6
 EXTRA_OECONF_append_armv7a =  --enable-armv6 --enable-neon

 FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer
 -frename-registers -O4 -ffast-math
 BUILD_OPTIMIZATION = ${FULL_OPTIMIZATION}

 do_configure(){
oe_runconf ${EXTRE_OECONF}
 }

 do_compile () {
oe_runmake
 }

 do_install () {

[oe] [PATCH 00/22] hybrid systemd/sysvinit, and systemd fixes

2013-03-22 Thread Ross Burton
Hi,

This series changes the package groups and distro feature setup to allow
simultaneous use of sysvinit and systemd, with a number of fixes that were
discovered on the way.

As before there are sysvinit and systemd DISTRO_FEATURES.  These are not
mutually exclusive, and sysvinit is backfilled for compatibility.

Common Scenarios
===

I want sysvinit, just like before

Do nothing, sysvinit is backfilled and the image is effectively identical as it
was before this series.

I just want systemd

Add systemd to DISTRO_FEATURES, and sysvinit to
DISTRO_FEATURES_BACKFILL_CONSIDERED.  You'll only get the sysvinit scripts where
required: when a package doesn't have systemd support.

I want my main image to boot using systemd, but a rescue image to use sysvinit

This is less elegant, but can probably be improved later.  Add systemd to
DISTRO_FEATURES and sysvinit will be backfilled for you (feel free to add it
explicitly for clarity).  Then set VIRTUAL-RUNTIME_init_manager to systemd and
any images using package-group-core-boot will boot using systemd.  For your
rescue/minimal images I expect you're not using package-group-core-boot anyway,
so pull sysvinit+initscripts into those images however you wish.


Future Plans
===

Mainly, finish integrating the bulk of meta-systemd into oe-core!

There's potential for reducing the footprint of the hwdb by building/patching
udevadm on the host to generate the hwdb.bin file at image construction time,
and then removing the source files leaving just the binary cache.  As it is,
udev-hwdb is a recommendation so if your system doesn't actually need it, you
can blacklist it.

Cheers,
Ross

The following changes since commit 6211a2bdd32f7b2c8de7a5d75353c0522c8d4230:

  scripts/qemu-testlib: Add more debugging information (2013-03-21 17:05:15 
+)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ross/systemd

for you to fetch changes up to 0e1da1e227c8e52087f7a52f8501a81cd28e76c7:

  systemd: recommend systemd-compat-units (2013-03-22 17:24:21 +)


Andreas Oberritter (1):
  Revert base-files: add fstab for systemd based systems

Radu Moisan (1):
  busybox: enable systemd integration for syslogd

Ross Burton (20):
  busybox: add strictatime support to mount
  systemd: make xz support (compressed journal) optional, defaulting to on.
  systemd: merge udev-systemd into udev
  core-image-minimal-initramfs: don't install busybox-syslog
  systemd: don't depend on the PCI/USB databases
  systemd: split out the hwdb data
  default-providers: change udev selection logic
  update-rcd.bbclass: handle both sysvinit and systemd features being 
present
  util-linux: split uuidd into it's own package, and enable for systemd
  update-rcd: drop depends to recommends, check for update-rcd in scripts
  systemd: check for systemctl first, and don't force systemd to be 
installed.
  systemd: add udev init script for hybrid sysvinit/systemd usage
  update-rc.d/systemd: change communication variable name
  default-distrovars: don't add INITMAN to DISTRO_FEATURES and 
DISTRO_FEATURES_BACKFILL
  bitbake.conf: explicitly backfill sysvinit, not DISTRO_FEATURES_INITMAN
  local.conf.sample.extended: remove obsolete DISTRO_FEATURES_INITMAN 
reference
  default-distrovars: remove obsolete DISTRO_FEATURES_INITMAN reference
  packagegroup-core-boot: revert to specifying sysvinit as default init 
manager
  systemd-compat-units: disable dbus-1
  systemd: recommend systemd-compat-units

 meta-yocto/conf/local.conf.sample.extended |4 -
 meta/classes/systemd.bbclass   |   38 
 meta/classes/update-rc.d.bbclass   |   22 +++--
 meta/conf/bitbake.conf |2 +-
 meta/conf/distro/include/default-distrovars.inc|3 +-
 meta/conf/distro/include/default-providers.inc |2 +-
 .../base-files/base-files/fstab.systemd|9 --
 meta/recipes-core/base-files/base-files_3.0.14.bb  |7 +-
 .../busybox/busybox-1.20.2/strict-atime.patch  |   49 ++
 meta/recipes-core/busybox/busybox.inc  |   18 +++-
 meta/recipes-core/busybox/busybox_1.20.2.bb|5 +-
 .../busybox/files/busybox-klogd.service.in |8 ++
 .../busybox/files/busybox-syslog.service.in|   13 +++
 .../images/core-image-minimal-initramfs.bb |2 +
 .../packagegroups/packagegroup-core-boot.bb|6 +-
 meta/recipes-core/systemd/systemd-compat-units.bb  |1 +
 meta/recipes-core/systemd/systemd/init |  101 
 meta/recipes-core/systemd/systemd_197.bb   |   49 +++---
 meta/recipes-core/util-linux/util-linux.inc|   11 ++-
 19 files changed, 280 insertions(+), 70 deletions(-)
 delete mode 100644 meta/recipes-core/base-files/base-files/fstab.systemd
 create mode 

[oe] [PATCH 01/22] busybox: enable systemd integration for syslogd

2013-03-22 Thread Ross Burton
From: Radu Moisan radu.moi...@intel.com

Signed-off-by: Radu Moisan radu.moi...@intel.com
Signed-off-by: Andreas Müller schnitzelt...@googlemail.com
Signed-off-by: Khem Raj raj.k...@gmail.com
Signed-off-by: Koen Kooi k...@dominion.thruhere.net
Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/busybox/busybox.inc|   18 --
 meta/recipes-core/busybox/busybox_1.20.2.bb  |2 ++
 .../busybox/files/busybox-klogd.service.in   |8 
 .../busybox/files/busybox-syslog.service.in  |   13 +
 4 files changed, 39 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-core/busybox/files/busybox-klogd.service.in
 create mode 100644 meta/recipes-core/busybox/files/busybox-syslog.service.in

diff --git a/meta/recipes-core/busybox/busybox.inc 
b/meta/recipes-core/busybox/busybox.inc
index fc6ca91..e936e59 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -18,7 +18,7 @@ export EXTRA_LDFLAGS = ${LDFLAGS}
 PACKAGES =+ ${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev 
${PN}-hwclock
 
 FILES_${PN}-httpd = ${sysconfdir}/init.d/busybox-httpd /srv/www
-FILES_${PN}-syslog = ${sysconfdir}/init.d/syslog* 
${sysconfdir}/syslog-startup.conf*
+FILES_${PN}-syslog = ${sysconfdir}/init.d/syslog* 
${sysconfdir}/syslog-startup.conf* ${systemd_unitdir}/system/syslog.service
 FILES_${PN}-mdev = ${sysconfdir}/init.d/mdev ${sysconfdir}/mdev.conf
 FILES_${PN}-udhcpd = ${sysconfdir}/init.d/busybox-udhcpd
 FILES_${PN}-udhcpc = ${sysconfdir}/udhcpc.d ${datadir}/udhcpc
@@ -32,12 +32,16 @@ INITSCRIPT_NAME_${PN}-mdev = mdev
 INITSCRIPT_NAME_${PN}-hwclock = hwclock.sh
 INITSCRIPT_PARAMS_${PN}-mdev = start 06 S .
 INITSCRIPT_NAME_${PN}-udhcpd = busybox-udhcpd 
+
+SYSTEMD_PACKAGES = ${PN}-syslog
+SYSTEMD_SERVICE_${PN}-syslog = ${PN}-syslog.service
+
 CONFFILES_${PN}-syslog = ${sysconfdir}/syslog-startup.conf.${BPN}
 CONFFILES_${PN}-mdev = ${sysconfdir}/mdev.conf
 
 RRECOMMENDS_${PN} = ${PN}-syslog ${PN}-udhcpc
 
-inherit cml1 update-rc.d
+inherit cml1 systemd update-rc.d
 
 # internal helper
 def busybox_cfg(feature, features, tokens, cnf, rem):
@@ -213,6 +217,16 @@ do_install () {
fi
fi
install -m 0644 ${S}/busybox.links ${D}${sysconfdir}
+
+if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+install -d ${D}${systemd_unitdir}/system
+sed 's,@base_sbindir@,${base_sbindir},g'  
${WORKDIR}/busybox-syslog.service.in \
+ ${D}${systemd_unitdir}/system/busybox-syslog.service
+sed 's,@base_sbindir@,${base_sbindir},g'  
${WORKDIR}/busybox-klogd.service.in \
+ ${D}${systemd_unitdir}/system/busybox-klogd.service
+
+ln -sf /dev/null ${D}${systemd_unitdir}/system/syslog.service
+fi
 }
 
 inherit update-alternatives
diff --git a/meta/recipes-core/busybox/busybox_1.20.2.bb 
b/meta/recipes-core/busybox/busybox_1.20.2.bb
index 783261e..a02cd38 100644
--- a/meta/recipes-core/busybox/busybox_1.20.2.bb
+++ b/meta/recipes-core/busybox/busybox_1.20.2.bb
@@ -28,6 +28,8 @@ SRC_URI = 
http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://fix-for-spurious-testsuite-failure.patch \
file://busybox-1.20.2-kernel_ver.patch \
file://stat-usr-bin.patch \
+   file://busybox-syslog.service.in \
+   file://busybox-klogd.service.in \
file://testsuite-du-du-k-works-fix-false-positive.patch
 
 SRC_URI[tarball.md5sum] = e025414bc6cd79579cc7a32a45d3ae1c
diff --git a/meta/recipes-core/busybox/files/busybox-klogd.service.in 
b/meta/recipes-core/busybox/files/busybox-klogd.service.in
new file mode 100644
index 000..d7c7755
--- /dev/null
+++ b/meta/recipes-core/busybox/files/busybox-klogd.service.in
@@ -0,0 +1,8 @@
+[Unit]
+Description=Kernel Logging Service
+
+[Service]
+ExecStart=@base_sbindir@/klogd -n
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta/recipes-core/busybox/files/busybox-syslog.service.in 
b/meta/recipes-core/busybox/files/busybox-syslog.service.in
new file mode 100644
index 000..2e04321
--- /dev/null
+++ b/meta/recipes-core/busybox/files/busybox-syslog.service.in
@@ -0,0 +1,13 @@
+[Unit]
+Description=System Logging Service
+Wants=busybox-klogd.service
+
+[Service]
+EnvironmentFile=-/etc/default/busybox-syslog
+ExecStart=@base_sbindir@/syslogd -n $OPTIONS
+Sockets=syslog.socket
+
+[Install]
+WantedBy=multi-user.target
+Also=busybox-klogd.service
+Alias=syslog.service
-- 
1.7.10.4


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


[oe] [PATCH 02/22] busybox: add strictatime support to mount

2013-03-22 Thread Ross Burton
systemd uses strictatime when mounting tmpfs.  Luckily this is already supported
upstream, so backport the patch from git.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 .../busybox/busybox-1.20.2/strict-atime.patch  |   49 
 meta/recipes-core/busybox/busybox_1.20.2.bb|3 +-
 2 files changed, 51 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch

diff --git a/meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch 
b/meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch
new file mode 100644
index 000..8696427
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-1.20.2/strict-atime.patch
@@ -0,0 +1,49 @@
+Add support for the strictatime mount option.
+
+Upstream-Status: Backport [9ad8979ff15e1b894ee1f4bb6a2535a1a2c20d65]
+Signed-off-by: Ross Burton ross.bur...@intel.com
+
+Index: busybox-1.20.2/util-linux/mount.c
+===
+--- busybox-1.20.2.orig/util-linux/mount.c 2012-07-02 15:08:25.0 
+0100
 busybox-1.20.2/util-linux/mount.c  2013-03-22 15:37:31.340277463 +
+@@ -113,6 +113,12 @@
+ #ifndef MS_RELATIME
+ # define MS_RELATIME(1  21)
+ #endif
++#ifndef MS_STRICTATIME
++# define MS_STRICTATIME (1  24)
++#endif
++
++/* Any ~MS_FOO value has this bit set: */
++#define BB_MS_INVERTED_VALUE (1u  31)
+ 
+ #include libbb.h
+ #if ENABLE_FEATURE_MOUNT_LABEL
+@@ -239,6 +245,7 @@
+   /* nomand  */ ~MS_MANDLOCK,
+   /* relatime*/ MS_RELATIME,
+   /* norelatime  */ ~MS_RELATIME,
++  /* strictatime */ MS_STRICTATIME,
+   /* loud*/ ~MS_SILENT,
+   /* rbind   */ MS_BIND|MS_RECURSIVE,
+ 
+@@ -295,6 +302,7 @@
+   nomand\0
+   relatime\0
+   norelatime\0
++  strictatime\0
+   loud\0
+   rbind\0
+ 
+@@ -466,8 +474,8 @@
+   // Find this option in mount_options
+   for (i = 0; i  ARRAY_SIZE(mount_options); i++) {
+   if (strcasecmp(option_str, options) == 0) {
+-  long fl = mount_options[i];
+-  if (fl  0)
++  unsigned long fl = mount_options[i];
++  if (fl  BB_MS_INVERTED_VALUE)
+   flags = fl;
+   else
+   flags |= fl;
diff --git a/meta/recipes-core/busybox/busybox_1.20.2.bb 
b/meta/recipes-core/busybox/busybox_1.20.2.bb
index a02cd38..c09a492 100644
--- a/meta/recipes-core/busybox/busybox_1.20.2.bb
+++ b/meta/recipes-core/busybox/busybox_1.20.2.bb
@@ -30,7 +30,8 @@ SRC_URI = 
http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://stat-usr-bin.patch \
file://busybox-syslog.service.in \
file://busybox-klogd.service.in \
-   file://testsuite-du-du-k-works-fix-false-positive.patch
+   file://testsuite-du-du-k-works-fix-false-positive.patch \
+   file://strict-atime.patch
 
 SRC_URI[tarball.md5sum] = e025414bc6cd79579cc7a32a45d3ae1c
 SRC_URI[tarball.sha256sum] = 
eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882
-- 
1.7.10.4


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


[oe] [PATCH 04/22] systemd: merge udev-systemd into udev

2013-03-22 Thread Ross Burton
Merge the contents of udev-systemd, which is just the service files, into udev
itself.  This split wasn't intended to ever happen in oe-core.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/systemd/systemd_197.bb |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_197.bb 
b/meta/recipes-core/systemd/systemd_197.bb
index dc54f36..9a66a4e 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -173,7 +173,7 @@ FILES_${PN} =  ${base_bindir}/* \
 FILES_${PN}-dbg += ${systemd_unitdir}/.debug ${systemd_unitdir}/*/.debug 
${base_libdir}/security/.debug/
 FILES_${PN}-dev += ${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ 
${sysconfdir}/rpm/macros.systemd
 
-RDEPENDS_${PN} += dbus udev-systemd
+RDEPENDS_${PN} += dbus
 
 RRECOMMENDS_${PN} += systemd-serialgetty \
   util-linux-agetty \
@@ -181,7 +181,7 @@ RRECOMMENDS_${PN} += systemd-serialgetty \
   kernel-module-autofs4 kernel-module-unix 
kernel-module-ipv6 \
 
 
-PACKAGES =+ udev-dbg udev udev-consolekit udev-utils udev-systemd
+PACKAGES =+ udev-dbg udev udev-consolekit udev-utils
 
 FILES_udev-dbg += /lib/udev/.debug
 
@@ -212,6 +212,8 @@ FILES_udev += ${base_sbindir}/udevd \
/lib/udev/rules.d/95*.rules \
${base_libdir}/udev/hwdb.d \
${sysconfdir}/udev \
+   ${systemd_unitdir}/system/*udev* \
+   ${systemd_unitdir}/system/*.wants/*udev* \
   
 
 FILES_udev-consolekit += /lib/ConsoleKit
@@ -219,9 +221,6 @@ RDEPENDS_udev-consolekit += 
${@base_contains('DISTRO_FEATURES', 'x11', 'console
 
 FILES_udev-utils = ${bindir}/udevadm
 
-FILES_udev-systemd = ${systemd_unitdir}/system/*udev* 
${systemd_unitdir}/system/*.wants/*udev*
-RDEPENDS_udev-systemd = udev
-
 # TODO:
 # u-a for runlevel and telinit
 
-- 
1.7.10.4


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


[oe] [PATCH 03/22] systemd: make xz support (compressed journal) optional, defaulting to on.

2013-03-22 Thread Ross Burton
Compressed journals means using liblzma, sf the journal isn't going to be used
this can be disabled.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/systemd/systemd_197.bb |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_197.bb 
b/meta/recipes-core/systemd/systemd_197.bb
index 5180eef..dc54f36 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -11,7 +11,7 @@ PROVIDES = udev
 PE = 1
 PR = r4
 
-DEPENDS = xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native 
acl readline dbus libcap libcgroup tcp-wrappers glib-2.0
+DEPENDS = kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl 
readline dbus libcap libcgroup tcp-wrappers glib-2.0
 DEPENDS += ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}
 
 SECTION = base/shell
@@ -43,9 +43,11 @@ LDFLAGS_libc-uclibc_append =  -lrt
 
 GTKDOC_DOCDIR = ${S}/docs/
 
-PACKAGECONFIG ??= 
+PACKAGECONFIG ??= xz
 # Sign the journal for anti-tampering
 PACKAGECONFIG[gcrypt] = --enable-gcrypt,--disable-gcrypt,libgcrypt
+# Compress the journal
+PACKAGECONFIG[xz] = --enable-xz,--disable-xz,xz
 
 CACHED_CONFIGUREVARS = ac_cv_path_KILL=${base_bindir}/kill
 
-- 
1.7.10.4


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


[oe] [PATCH 05/22] core-image-minimal-initramfs: don't install busybox-syslog

2013-03-22 Thread Ross Burton
This uses BAD_RECOMMENDATIONS which isn't supported by all package backends, but
it's a start.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/images/core-image-minimal-initramfs.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb 
b/meta/recipes-core/images/core-image-minimal-initramfs.bb
index 7f6826c..6de24b3 100644
--- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
+++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
@@ -17,3 +17,5 @@ IMAGE_FSTYPES = ${INITRAMFS_FSTYPES}
 inherit core-image
 
 IMAGE_ROOTFS_SIZE = 8192
+
+BAD_RECOMMENDATIONS += busybox-syslog
-- 
1.7.10.4


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


[oe] [PATCH 06/22] systemd: don't depend on the PCI/USB databases

2013-03-22 Thread Ross Burton
systemd ships its own databases (hwdb), so we don't need another copy.
--with-pci-ids isn't recognised by configure, so remove it.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/systemd/systemd_197.bb |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_197.bb 
b/meta/recipes-core/systemd/systemd_197.bb
index 9a66a4e..56ced66 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -61,7 +61,6 @@ EXTRA_OECONF =  --with-rootprefix=${base_prefix} \
  --disable-manpages \
  --disable-coredump \
  --disable-introspection \
- --with-pci-ids-path=/usr/share/misc \
  --disable-tcpwrap \
  --enable-split-usr \
  --disable-microhttpd \
@@ -187,7 +186,7 @@ FILES_udev-dbg += /lib/udev/.debug
 
 RDEPENDS_udev += udev-utils
 RPROVIDES_udev = hotplug
-RRECOMMENDS_udev += udev-extraconf usbutils-ids pciutils-ids
+RRECOMMENDS_udev += udev-extraconf
 
 FILES_udev += ${base_sbindir}/udevd \
${base_libdir}/systemd/systemd-udevd \
-- 
1.7.10.4


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


[oe] [PATCH 08/22] default-providers: change udev selection logic

2013-03-22 Thread Ross Burton
Change the logic so that the udev provider is the standalone udev, unless the
systemd DISTRO_FEATURE is set.  The previous logic was designed to fail if both
sysvinit and systemd were enabled, which we're supporting now.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/conf/distro/include/default-providers.inc |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/default-providers.inc 
b/meta/conf/distro/include/default-providers.inc
index ebf2a09..f7ee789 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -38,4 +38,4 @@ PREFERRED_PROVIDER_nativesdk-opkg ?= nativesdk-opkg
 PREFERRED_PROVIDER_console-tools ?= kbd
 PREFERRED_PROVIDER_gzip-native ?= pigz-native
 PREFERRED_PROVIDER_make ?= make
-PREFERRED_PROVIDER_udev ?= 
${@base_contains('DISTRO_FEATURES','sysvinit','udev','',d)}${@base_contains('DISTRO_FEATURES','systemd','systemd','',d)}
+PREFERRED_PROVIDER_udev ?= 
${@base_contains('DISTRO_FEATURES','systemd','systemd','udev',d)}
-- 
1.7.10.4


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


[oe] [PATCH 07/22] systemd: split out the hwdb data

2013-03-22 Thread Ross Burton
The hardware databases are not essential and also quite large, so split them out
into udev-hwdb.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/systemd/systemd_197.bb |   22 +++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_197.bb 
b/meta/recipes-core/systemd/systemd_197.bb
index 56ced66..a006ec8 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -180,13 +180,13 @@ RRECOMMENDS_${PN} += systemd-serialgetty \
   kernel-module-autofs4 kernel-module-unix 
kernel-module-ipv6 \
 
 
-PACKAGES =+ udev-dbg udev udev-consolekit udev-utils
+PACKAGES =+ udev-dbg udev udev-consolekit udev-utils udev-hwdb
 
 FILES_udev-dbg += /lib/udev/.debug
 
 RDEPENDS_udev += udev-utils
 RPROVIDES_udev = hotplug
-RRECOMMENDS_udev += udev-extraconf
+RRECOMMENDS_udev += udev-extraconf udev-hwdb
 
 FILES_udev += ${base_sbindir}/udevd \
${base_libdir}/systemd/systemd-udevd \
@@ -209,7 +209,6 @@ FILES_udev += ${base_sbindir}/udevd \
/lib/udev/rules.d/78*.rules \
/lib/udev/rules.d/8*.rules \
/lib/udev/rules.d/95*.rules \
-   ${base_libdir}/udev/hwdb.d \
${sysconfdir}/udev \
${systemd_unitdir}/system/*udev* \
${systemd_unitdir}/system/*.wants/*udev* \
@@ -220,6 +219,8 @@ RDEPENDS_udev-consolekit += 
${@base_contains('DISTRO_FEATURES', 'x11', 'console
 
 FILES_udev-utils = ${bindir}/udevadm
 
+FILES_udev-hwdb = ${base_libdir}/udev/hwdb.d
+
 # TODO:
 # u-a for runlevel and telinit
 
@@ -239,6 +240,21 @@ update-alternatives --remove shutdown 
${base_bindir}/systemctl
 update-alternatives --remove poweroff ${base_bindir}/systemctl
 }
 
+pkg_postinst_udev-hwdb () {
+   if test -n $D; then
+   exit 1
+   fi
+
+   udevadm hwdb --update
+}
+
+pkg_prerm_udev-hwdb () {
+   if test -n $D; then
+   exit 1
+   fi
+
+   rm -f ${sysconfdir}/udev/hwdb.bin
+}
 
 # As this recipe builds udev, respect the systemd DISTRO_FEATURE so we don't 
try
 # building udev and systemd in world builds.
-- 
1.7.10.4


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


[oe] [PATCH 12/22] systemd: check for systemctl first, and don't force systemd to be installed.

2013-03-22 Thread Ross Burton
With both sysvinit and systemd features enabled these postinsts may actually run
on a target without systemd, so check that systemctl is present before using it.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/classes/systemd.bbclass |   27 +++
 1 file changed, 11 insertions(+), 16 deletions(-)

diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index 564cd72..cca2152 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -24,19 +24,23 @@ if [ -n $D ]; then
 OPTS=--root=$D
 fi
 
-systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE}
+if type systemctl /dev/null; then
+   systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE}
 
-if [ -z $D -a ${SYSTEMD_AUTO_ENABLE} = enable ]; then
-systemctl start ${SYSTEMD_SERVICE}
+   if [ -z $D -a ${SYSTEMD_AUTO_ENABLE} = enable ]; then
+   systemctl start ${SYSTEMD_SERVICE}
+   fi
 fi
 }
 
 systemd_prerm() {
-if [ -z $D ]; then
-systemctl stop ${SYSTEMD_SERVICE}
-fi
+if type systemctl /dev/null; then
+   if [ -z $D ]; then
+   systemctl stop ${SYSTEMD_SERVICE}
+   fi
 
-systemctl disable ${SYSTEMD_SERVICE}
+   systemctl disable ${SYSTEMD_SERVICE}
+fi
 }
 
 python systemd_populate_packages() {
@@ -56,14 +60,6 @@ python systemd_populate_packages() {
 bb.error('%s does not appear in package list, please add it' % 
pkg_systemd)
 
 
-# Add a runtime dependency on systemd to pkg
-def systemd_add_rdepends(pkg):
-rdepends = d.getVar('RDEPENDS_' + pkg, True) or 
-if not 'systemd' in rdepends.split():
-rdepends = '%s %s' % (rdepends, 'systemd')
-d.setVar('RDEPENDS_' + pkg, rdepends)
-
-
 def systemd_generate_package_scripts(pkg):
 bb.debug(1, 'adding systemd calls to postinst/postrm for %s' % pkg)
 
@@ -156,7 +152,6 @@ python systemd_populate_packages() {
 systemd_check_package(pkg)
 if d.getVar('SYSTEMD_SERVICE_' + pkg, True):
 systemd_generate_package_scripts(pkg)
-systemd_add_rdepends(pkg)
 systemd_check_services()
 }
 
-- 
1.7.10.4


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


[oe] [PATCH 09/22] update-rcd.bbclass: handle both sysvinit and systemd features being present

2013-03-22 Thread Ross Burton
Run the helper if the sysvinit feature is present, or if the systemd feature is
present but the systemd class hasn't been inherited.  We want to run in the
latter case as systemd has sysvinit compatibility, but we don't want to always
run so that pure systemd images don't have redundant sysvinit files.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/classes/update-rc.d.bbclass  |9 ++---
 meta/recipes-core/packagegroups/packagegroup-core-boot.bb |4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 65bf022..06b91c1 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -75,9 +75,12 @@ python populate_packages_updatercd () {
 postrm += d.getVar('updatercd_postrm', True)
 d.setVar('pkg_postrm_%s' % pkg, postrm)
 
-# If the systemd class has also been inherited, then don't do anything as
-# the systemd units will override anything created by update-rc.d.
-if not d.getVar(SYSTEMD_BBCLASS_ENABLED, True):
+# Run if the sysvinit feature is present, or if the systemd feature is 
present
+# but the systemd class hasn't been inherited.  We want to run in the 
latter case
+# as systemd has sysvinit compatibility, but we don't want to always so 
that
+# pure systemd images don't have redundent sysvinit files.
+if sysvinit in d.getVar(DISTRO_FEATURES).split() or \
+   (systemd in d.getVar(DISTRO_FEATURES).split() and not 
d.getVar(SYSTEMD_BBCLASS_ENABLED, True)):
 pkgs = d.getVar('INITSCRIPT_PACKAGES', True)
 if pkgs == None:
 pkgs = d.getVar('UPDATERCPN', True)
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb 
b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index b9183a8..e73b46e 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -27,7 +27,7 @@ RCONFLICTS_${PN} = task-core-boot
 VIRTUAL-RUNTIME_dev_manager ?= udev
 VIRTUAL-RUNTIME_login_manager ?= tinylogin
 VIRTUAL-RUNTIME_init_manager ?= ${DISTRO_FEATURES_INITMAN}
-VIRTUAL-RUNTIME_initscripts ?= ${@base_contains('DISTRO_FEATURES', 
'sysvinit', 'initscripts', '',d)}
+VIRTUAL-RUNTIME_initscripts ?= ${@base_contains('DISTRO_FEATURES_INITMAN', 
'sysvinit', 'initscripts', '',d)}
 VIRTUAL-RUNTIME_keymaps ?= keymaps
 
 RDEPENDS_${PN} = \
@@ -42,7 +42,7 @@ RDEPENDS_${PN} = \
 ${VIRTUAL-RUNTIME_login_manager} \
 ${VIRTUAL-RUNTIME_init_manager} \
 ${VIRTUAL-RUNTIME_initscripts} \
-${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-compat-units', 
'',d)} \
+${@base_contains('DISTRO_FEATURES_INITMAN', 'systemd', 
'systemd-compat-units', '',d)} \
 ${VIRTUAL-RUNTIME_dev_manager} \
 ${VIRTUAL-RUNTIME_update-alternatives} \
 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}
-- 
1.7.10.4


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


[oe] [PATCH 10/22] util-linux: split uuidd into it's own package, and enable for systemd

2013-03-22 Thread Ross Burton
Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/util-linux/util-linux.inc |   11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/util-linux/util-linux.inc 
b/meta/recipes-core/util-linux/util-linux.inc
index 41a5471..46daab7 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = 
file://README.licensing;md5=679af3e410ee112a5ec94de6501bf5c3
 
file://libmount/COPYING;md5=152f98bc301a5ea649769ede7203ac82 \
 
file://libblkid/COPYING;md5=152f98bc301a5ea649769ede7203ac82
 
-inherit autotools gettext pkgconfig
+inherit autotools gettext pkgconfig systemd
 DEPENDS = zlib ncurses
 DEPENDS_append_class-native =  lzo-native
 
@@ -34,7 +34,7 @@ PACKAGES =+ util-linux-agetty util-linux-fdisk 
util-linux-cfdisk util-linux-sfd
  util-linux-libmount util-linux-libmount-dev \
  util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev 
\
  util-linux-uuidgen util-linux-lscpu util-linux-fsck 
util-linux-blkid \
- util-linux-mkfs util-linux-mcookie util-linux-reset
+ util-linux-mkfs util-linux-mcookie util-linux-reset 
util-linux-uuidd
 
 EXTRA_OECONF = --libdir=${base_libdir} --disable-use-tty-group \
 --disable-makeinstall-chown --enable-elvtune --enable-init \
@@ -46,6 +46,10 @@ EXTRA_OECONF = --libdir=${base_libdir} 
--disable-use-tty-group \
usrsbin_execdir='${sbindir}' \
 
 
+# Respect the systemd feature for uuidd
+EXTRA_OECONF += ${@base_contains('DISTRO_FEATURES', 'systemd', 
'--enable-socket-activation', '--disable-socket-activation', d)}
+EXTRA_OECONF += ${@base_contains('DISTRO_FEATURES', 'systemd', 
'--with-systemdsystemunitdir=${systemd_unitdir}/system/', 
'--without-systemdsystemunitdir', d)}
+
 EXTRA_OECONF_append_class-native =  --disable-login --disable-su
 
 FILES_${PN}-doc += ${datadir}/getopt/getopt-*.*
@@ -61,6 +65,7 @@ FILES_util-linux-mcookie = ${bindir}/mcookie
 FILES_util-linux-umount = ${base_bindir}/umount.${BPN}
 FILES_util-linux-readprofile = ${base_sbindir}/readprofile.${BPN}
 FILES_util-linux-uuidgen = ${bindir}/uuidgen
+FILES_util-linux-uuidd = ${sbindir}/uuidd
 FILES_util-linux-reset = ${base_bindir}/reset
 
 FILES_util-linux-libblkid = ${base_libdir}/libblkid.so.*
@@ -88,6 +93,8 @@ RRECOMMENDS_${PN} = util-linux-fdisk util-linux-cfdisk 
util-linux-sfdisk util-l
 RRECOMMENDS_${PN}_class-native = 
 RDEPENDS_${PN}_class-native = 
 
+SYSTEMD_PACKAGES = util-linux-uuidd
+SYSTEMD_SERVICE_util-linux-uuidd = uuidd.service
 
 do_compile () {
set -e
-- 
1.7.10.4


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


[oe] [PATCH 14/22] update-rc.d/systemd: change communication variable name

2013-03-22 Thread Ross Burton
Rename SYSTEMD_BBCLASS_ENABLED to INHIBIT_UPDATERCD_BBCLASS to reflect the
action, for clarity.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/classes/systemd.bbclass |   11 +++
 meta/classes/update-rc.d.bbclass |8 +++-
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index cca2152..42fa554 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -10,11 +10,14 @@ SYSTEMD_AUTO_ENABLE ??= enable
 # even if the systemd DISTRO_FEATURE isn't enabled.  As such don't make any
 # changes directly but check the DISTRO_FEATURES first.
 python __anonymous() {
-if systemd in d.getVar(DISTRO_FEATURES, True).split():
+features = d.getVar(DISTRO_FEATURES, True).split()
+# If the distro features have systemd but not sysvinit, inhibit update-rcd
+# from doing any work so that pure-systemd images don't have redundant init
+# files.
+if systemd in features:
 d.appendVar(DEPENDS,  systemd-systemctl-native)
-# Set a variable so that update-rcd.bbclass knows we're active and can
-# disable itself.
-d.setVar(SYSTEMD_BBCLASS_ENABLED, 1)
+if sysvinit not in features:
+d.setVar(INHIBIT_UPDATERCD_BBCLASS, 1)
 }
 
 systemd_postinst() {
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 0997702..9f1e28a 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -80,12 +80,10 @@ python populate_packages_updatercd () {
 postrm += d.getVar('updatercd_postrm', True)
 d.setVar('pkg_postrm_%s' % pkg, postrm)
 
-# Run if the sysvinit feature is present, or if the systemd feature is 
present
-# but the systemd class hasn't been inherited.  We want to run in the 
latter case
-# as systemd has sysvinit compatibility, but we don't want to always so 
that
-# pure systemd images don't have redundent sysvinit files.
+# Check that this class isn't being inhibited (generally, by
+# systemd.bbclass) before doing any work.
 if sysvinit in d.getVar(DISTRO_FEATURES).split() or \
-   (systemd in d.getVar(DISTRO_FEATURES).split() and not 
d.getVar(SYSTEMD_BBCLASS_ENABLED, True)):
+   not d.getVar(INHIBIT_UPDATERCD_BBCLASS, True):
 pkgs = d.getVar('INITSCRIPT_PACKAGES', True)
 if pkgs == None:
 pkgs = d.getVar('UPDATERCPN', True)
-- 
1.7.10.4


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


[oe] [PATCH 11/22] update-rcd: drop depends to recommends, check for update-rcd in scripts

2013-03-22 Thread Ross Burton
Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/classes/update-rc.d.bbclass |   15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 06b91c1..0997702 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -6,7 +6,7 @@ UPDATERCD_virtclass-cross = 
 UPDATERCD_class-native = 
 UPDATERCD_class-nativesdk = 
 
-RDEPENDS_${UPDATERCPN}_append =  ${UPDATERCD}
+RRECOMMENDS_${UPDATERCPN}_append =  ${UPDATERCD}
 
 INITSCRIPT_PARAMS ?= defaults
 
@@ -18,7 +18,9 @@ if test x$D != x; then
 else
OPT=-s
 fi
-update-rc.d $OPT ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS}
+if type update-rc.d /dev/null; then
+   update-rc.d $OPT ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS}
+fi
 }
 
 updatercd_prerm() {
@@ -28,10 +30,13 @@ fi
 }
 
 updatercd_postrm() {
-if [ $D !=  ]; then
-   update-rc.d -f -r $D ${INITSCRIPT_NAME} remove
+if test $D != ; then
+   OPT=-f -r $D
 else
-   update-rc.d ${INITSCRIPT_NAME} remove
+   OPT=
+fi
+if type update-rc.d /dev/null; then
+   update-rc.d $OPT ${INITSCRIPT_NAME} remove
 fi
 }
 
-- 
1.7.10.4


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


[oe] [PATCH 15/22] default-distrovars: don't add INITMAN to DISTRO_FEATURES and DISTRO_FEATURES_BACKFILL

2013-03-22 Thread Ross Burton
DISTRO_FEATURES_INITMAN is going away as it's not useful in a hybrid init script
environment.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/conf/distro/include/default-distrovars.inc |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/default-distrovars.inc 
b/meta/conf/distro/include/default-distrovars.inc
index f0fec2a..eafbcc2 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -18,7 +18,7 @@ DISTRO_FEATURES_LIBC_DEFAULT ?= ipv4 ipv6 libc-backtrace 
libc-big-macros libc-b
 DISTRO_FEATURES_LIBC ?= ${DISTRO_FEATURES_LIBC_DEFAULT}
 DISTRO_FEATURES_LIBC_class-nativesdk = ${DISTRO_FEATURES_LIBC_DEFAULT}
 DISTRO_FEATURES_INITMAN ?= sysvinit
-DISTRO_FEATURES ?= alsa argp bluetooth ext2 irda largefile pcmcia usbgadget 
usbhost wifi xattr nfs zeroconf pci 3g nfc x11 ${DISTRO_FEATURES_LIBC} 
${DISTRO_FEATURES_INITMAN}
+DISTRO_FEATURES ?= alsa argp bluetooth ext2 irda largefile pcmcia usbgadget 
usbhost wifi xattr nfs zeroconf pci 3g nfc x11 ${DISTRO_FEATURES_LIBC}
 
 IMAGE_FEATURES ?= 
 
-- 
1.7.10.4


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


[oe] [PATCH 16/22] bitbake.conf: explicitly backfill sysvinit, not DISTRO_FEATURES_INITMAN

2013-03-22 Thread Ross Burton
Reflect reality by backfilling sysvinit support, instead of whatever value was
in DISTRO_FEATURES_INITMAN.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/conf/bitbake.conf |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 01ebad4..cd5d61e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -730,7 +730,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= 
 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= 
 IMAGE_FEATURES += ${EXTRA_IMAGE_FEATURES}
 
-DISTRO_FEATURES_BACKFILL = pulseaudio ${DISTRO_FEATURES_INITMAN}
+DISTRO_FEATURES_BACKFILL = pulseaudio sysvinit
 MACHINE_FEATURES_BACKFILL = rtc
 
 COMBINED_FEATURES = \
-- 
1.7.10.4


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


[oe] [PATCH 13/22] systemd: add udev init script for hybrid sysvinit/systemd usage

2013-03-22 Thread Ross Burton
With both sysvinit and systemd features it's possible to use systemd's udev with
sysvinit, so add the required init script.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/systemd/systemd/init   |  101 ++
 meta/recipes-core/systemd/systemd_197.bb |   13 +++-
 2 files changed, 113 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-core/systemd/systemd/init

diff --git a/meta/recipes-core/systemd/systemd/init 
b/meta/recipes-core/systemd/systemd/init
new file mode 100644
index 000..0ddd043
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/init
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:  udev
+# Required-Start:mountvirtfs
+# Required-Stop:
+# Default-Start: S
+# Default-Stop:
+# Short-Description: Start udevd, populate /dev and load drivers.
+### END INIT INFO
+
+. /etc/init.d/functions
+
+export TZ=/etc/localtime
+
+[ -d /sys/class ] || exit 1
+[ -r /proc/mounts ] || exit 1
+[ -x /lib/systemd/systemd-udevd ] || exit 1
+[ -f /etc/default/udev-cache ]  . /etc/default/udev-cache
+[ -f /etc/udev/udev.conf ]  . /etc/udev/udev.conf
+
+readfile () {
+   filename=$1
+   READDATA=
+   if [ -r $filename ]; then
+   while read line; do
+   READDATA=$READDATA$line
+   done  $filename
+   fi
+}
+
+case $1 in
+  start)
+export ACTION=add
+# propagate /dev from /sys
+echo Starting udev
+
+# mount the tmpfs on /dev, if not already done
+LANG=C awk '$2 == /dev  ($3 == tmpfs || $3 == devtmpfs) { exit 1 
}' /proc/mounts  {
+mount -n -o mode=0755 -t tmpfs none /dev
+}
+[ -e /dev/pts ] || mkdir -m 0755 /dev/pts
+[ -e /dev/shm ] || mkdir -m 1777 /dev/shm
+mount -a -t tmpfs 2/dev/null
+mkdir -p /var/volatile/run
+
+# cache handling
+if [ $DEVCACHE !=  ]; then
+readfile /proc/version
+VERSION=$READDATA
+readfile /proc/cmdline
+CMDLINE=$READDATA
+readfile /proc/devices
+DEVICES=$READDATA
+readfile /proc/atags
+ATAGS=$READDATA
+
+if [ -e $DEVCACHE ]; then
+readfile /etc/udev/cache.data
+if [ $READDATA = $VERSION$CMDLINE$DEVICES$ATAGS ]; then
+(cd /; tar xf $DEVCACHE  /dev/null 21)
+not_first_boot=1
+fi
+
+echo $VERSION$CMDLINE$DEVICES$ATAGS  /dev/shm/udev.cache
+fi
+fi
+
+# make_extra_nodes
+killproc systemd-udevd  /dev/null 21
+
+# trigger the sorted events
+echo -e '\000\000\000\000'  /proc/sys/kernel/hotplug
+/lib/systemd/systemd-udevd -d
+
+/usr/bin/udevadm control --env=STARTUP=1
+if [ $not_first_boot !=  ];then
+/usr/bin/udevadm trigger --action=add --subsystem-nomatch=tty 
--subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole 
--subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus  
--subsystem-nomatch=graphics  --subsystem-nomatch=backlight 
--subsystem-nomatch=video4linux  --subsystem-nomatch=platform
+(/usr/bin/udevadm settle --timeout=3; /usr/bin/udevadm control 
--env=STARTUP=)
+else
+/usr/bin/udevadm trigger --action=add
+/usr/bin/udevadm settle
+fi
+;;
+  stop)
+echo Stopping udevd
+start-stop-daemon --stop --name udevd --quiet
+;;
+  restart)
+$0 stop
+sleep 1
+$0 start
+;;
+  status)
+status udevd
+;;
+  *)
+echo Usage: $0 {start|stop|status|restart}
+exit 1
+esac
+exit 0
diff --git a/meta/recipes-core/systemd/systemd_197.bb 
b/meta/recipes-core/systemd/systemd_197.bb
index a006ec8..d07fa95 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -16,7 +16,7 @@ DEPENDS += ${@base_contains('DISTRO_FEATURES', 'pam', 
'libpam', '', d)}
 
 SECTION = base/shell
 
-inherit gtk-doc useradd pkgconfig autotools perlnative
+inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d
 
 SRC_URI = http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz \
file://touchscreen.rules \
@@ -26,6 +26,7 @@ SRC_URI = 
http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz \
file://00-create-volatile.conf \
file://0001-systemd-analyze-rewrite-in-C.patch \
file://udev-linkage.patch \
+   file://init \
   
 SRC_URI[md5sum] = 56a860dceadfafe59f40141eb5223743
 SRC_URI[sha256sum] = 
e6857ea21ae24d7056e7b0f4c2aaaba73b8bf57025b8949c0a8af0c1bc9774b5
@@ -100,6 +101,11 @@ do_install() {
install -m 0644 ${WORKDIR}/var-run.conf ${D}${sysconfdir}/tmpfiles.d/
 
install -m 0644 ${WORKDIR}/00-create-volatile.conf 
${D}${sysconfdir}/tmpfiles.d/
+
+   if ${@base_contains('DISTRO_FEATURES','sysvinit','true','false',d)}; 
then
+   install -d ${D}${sysconfdir}/init.d
+  

[oe] [PATCH 18/22] default-distrovars: remove obsolete DISTRO_FEATURES_INITMAN reference

2013-03-22 Thread Ross Burton
Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/conf/distro/include/default-distrovars.inc |1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/conf/distro/include/default-distrovars.inc 
b/meta/conf/distro/include/default-distrovars.inc
index eafbcc2..b0586d6 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -17,7 +17,6 @@ DISTRO_FEATURES_LIBC_DEFAULT ?= ipv4 ipv6 libc-backtrace 
libc-big-macros libc-b
libc-posix-wchar-io
 DISTRO_FEATURES_LIBC ?= ${DISTRO_FEATURES_LIBC_DEFAULT}
 DISTRO_FEATURES_LIBC_class-nativesdk = ${DISTRO_FEATURES_LIBC_DEFAULT}
-DISTRO_FEATURES_INITMAN ?= sysvinit
 DISTRO_FEATURES ?= alsa argp bluetooth ext2 irda largefile pcmcia usbgadget 
usbhost wifi xattr nfs zeroconf pci 3g nfc x11 ${DISTRO_FEATURES_LIBC}
 
 IMAGE_FEATURES ?= 
-- 
1.7.10.4


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


[oe] [PATCH 20/22] Revert base-files: add fstab for systemd based systems

2013-03-22 Thread Ross Burton
From: Andreas Oberritter o...@opendreambox.org

For hybrid systemd/sysvinit builds, only one fstab can be used.
The default fstab used by sysvinit should work fine with systemd.

Since virtually every machine will ship its own fstab in its bsp
layer, the bsp layer may decide how to override the fstab based
on distro features.

This reverts commit 77bbb839ba25b974a538b90d346b454ccd5deefd.

Signed-off-by: Andreas Oberritter o...@opendreambox.org
Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/base-files/base-files/fstab.systemd |9 -
 meta/recipes-core/base-files/base-files_3.0.14.bb |7 +--
 2 files changed, 1 insertion(+), 15 deletions(-)
 delete mode 100644 meta/recipes-core/base-files/base-files/fstab.systemd

diff --git a/meta/recipes-core/base-files/base-files/fstab.systemd 
b/meta/recipes-core/base-files/base-files/fstab.systemd
deleted file mode 100644
index cb48a0d..000
--- a/meta/recipes-core/base-files/base-files/fstab.systemd
+++ /dev/null
@@ -1,9 +0,0 @@
-# stock fstab - you probably want to override this with a machine specific one
-
-rootfs   /auto   defaults  1  1
-tmpfs/var/volatiletmpfs  defaults  0  0
-tmpfs/media/ram   tmpfs  defaults  0  0
-
-# uncomment this if your device has a SD/MMC/Transflash slot
-#/dev/mmcblk0p1   /media/card  auto   defaults,sync,noauto  0  0
-
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb 
b/meta/recipes-core/base-files/base-files_3.0.14.bb
index e7a9d82..a56450d 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -18,7 +18,6 @@ SRC_URI = file://rotation \
file://profile \
file://shells \
file://fstab \
-   file://fstab.systemd \
file://filesystems \
file://issue.net \
file://issue \
@@ -92,11 +91,7 @@ do_install () {
install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation
fi
 
-   if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-   install -m 0644 ${WORKDIR}/fstab.systemd ${D}${sysconfdir}/fstab
-   else
-   install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
-   fi
+   install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
sed -i s#ROOTHOME#${ROOT_HOME}# ${WORKDIR}/profile
-- 
1.7.10.4


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


[oe] [PATCH 17/22] local.conf.sample.extended: remove obsolete DISTRO_FEATURES_INITMAN reference

2013-03-22 Thread Ross Burton
Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta-yocto/conf/local.conf.sample.extended |4 
 1 file changed, 4 deletions(-)

diff --git a/meta-yocto/conf/local.conf.sample.extended 
b/meta-yocto/conf/local.conf.sample.extended
index 8e5dca5..747636c 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -214,7 +214,3 @@
 # Put the following two lines in the conf file with intact.
 #ARCHIVER_CLASS = ${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 
'none' else ''}
 #INHERIT += ${ARCHIVER_CLASS}
-#
-# set init manager: sysvinit or systemd
-# sysvinit is the default choice
-#DISTRO_FEATURES_INITMAN ?= sysvinit
-- 
1.7.10.4


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


[oe] [PATCH 22/22] systemd: recommend systemd-compat-units

2013-03-22 Thread Ross Burton
These are more than useful as they ensure some services are not started twice,
and cause the first-boot postinstalls to run.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/systemd/systemd_197.bb |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_197.bb 
b/meta/recipes-core/systemd/systemd_197.bb
index d07fa95..5ba3a23 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -180,7 +180,7 @@ FILES_${PN}-dev += ${base_libdir}/security/*.la 
${datadir}/dbus-1/interfaces/ $
 
 RDEPENDS_${PN} += dbus
 
-RRECOMMENDS_${PN} += systemd-serialgetty \
+RRECOMMENDS_${PN} += systemd-serialgetty systemd-compat-units \
   util-linux-agetty \
   util-linux-fsck e2fsprogs-e2fsck \
   kernel-module-autofs4 kernel-module-unix 
kernel-module-ipv6 \
-- 
1.7.10.4


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


[oe] [PATCH 21/22] systemd-compat-units: disable dbus-1

2013-03-22 Thread Ross Burton

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/systemd/systemd-compat-units.bb |1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb 
b/meta/recipes-core/systemd/systemd-compat-units.bb
index 19a1ea1..9b4a8a4 100644
--- a/meta/recipes-core/systemd/systemd-compat-units.bb
+++ b/meta/recipes-core/systemd/systemd-compat-units.bb
@@ -34,6 +34,7 @@ SYSTEMD_DISABLED_SYSV_SERVICES =  \
   hwclock \
   networking \
   syslog.busybox \
+  dbus-1 \
 
 
 pkg_postinst_${PN} () {
-- 
1.7.10.4


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


[oe] [PATCH 19/22] packagegroup-core-boot: revert to specifying sysvinit as default init manager

2013-03-22 Thread Ross Burton
Don't follow DISTRO_FEATURES_INITMAN as that makes the packagegroups rebuild if
you switch init manager.

As in hybrid situations there's generally a clear primary and minimal init
manager choice, so change VIRTUAL-RUNTIME_init_manager to set the primary init
manager, and roll your own groups/images for the secondary.

Signed-off-by: Ross Burton ross.bur...@intel.com
---
 meta/recipes-core/packagegroups/packagegroup-core-boot.bb |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb 
b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index e73b46e..7f278f6 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -26,8 +26,8 @@ RCONFLICTS_${PN} = task-core-boot
 # Distro can override the following VIRTUAL-RUNTIME providers:
 VIRTUAL-RUNTIME_dev_manager ?= udev
 VIRTUAL-RUNTIME_login_manager ?= tinylogin
-VIRTUAL-RUNTIME_init_manager ?= ${DISTRO_FEATURES_INITMAN}
-VIRTUAL-RUNTIME_initscripts ?= ${@base_contains('DISTRO_FEATURES_INITMAN', 
'sysvinit', 'initscripts', '',d)}
+VIRTUAL-RUNTIME_init_manager ?= sysvinit
+VIRTUAL-RUNTIME_initscripts ?= initscripts
 VIRTUAL-RUNTIME_keymaps ?= keymaps
 
 RDEPENDS_${PN} = \
-- 
1.7.10.4


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


Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread Gary Thomas

On 2013-03-22 11:31, David Hirst wrote:

Here are the results, the same as before, in the build directories all
seems fine but the final output only has the /usr/share/man/man8/files

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/sbin
are the following files:

pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
pure-uploadscript

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/bin
are the following files:

pure-pw  pure-pwconvert  pure-statsdecode

in
oe-layersetup/build/arago-tmp-external-arago-toolchain/work/armv7a-vfp-neon-oe-linux-gnueabi/pure-ftpd-1.0.29-r0/image/usr/share/man/man8

pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8  pure-uploadscript.8


You still didn't answer the question about the version of bitbake, the OE 
metadata, etc.
which does make a difference...

Try adding this line in your pure-ftpd recipe:
  FILES_${PN} += /usr/sbin




hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$
tar tvf tisdk-rootfs-image-am335x-evm.tar.gz | grep pure*

-rw-r--r-- root/root  4151 2013-03-22 12:36
./usr/share/man/man8/pure-uploadscript.8
-rw-r--r-- root/root  3187 2013-03-22 12:36
./usr/share/man/man8/pure-pw.8
-rw-r--r-- root/root  2169 2013-03-22 12:36
./usr/share/man/man8/pure-quotacheck.8
-rw-r--r-- root/root  1123 2013-03-22 12:36
./usr/share/man/man8/pure-statsdecode.8
-rw-r--r-- root/root   764 2013-03-22 12:36
./usr/share/man/man8/pure-pwconvert.8
-rw-r--r-- root/root  4160 2013-03-22 12:36
./usr/share/man/man8/pure-authd.8
-rw-r--r-- root/root  2119 2013-03-22 12:36
./usr/share/man/man8/pure-mrtginfo.8
-rw-r--r-- root/root 28755 2013-03-22 12:36
./usr/share/man/man8/pure-ftpd.8
-rw-r--r-- root/root  2449 2013-03-22 12:36
./usr/share/man/man8/pure-ftpwho.8



On Fri, Mar 22, 2013 at 11:02 AM, David Hirst hirst...@gmail.com wrote:


I did a bitbake tisdk-rootfs-image -c clean
I will try the cleanstate
It seems really difficult to get started from an absolutely clean slate,
some where status is held that gets in the way
I will let you know

Thanks so far




On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas g...@mlbassoc.com wrote:


On 2013-03-22 08:42, David Hirst wrote:


OK,
  Sorry for the carpet bombing! I added this to tisdk-rootfs-image
task-arago-xyz \ to look for the new task file
I have included the task and pure-ftpd bb files also. I would love to
understand why this does not work.



What steps did you run after making this change?
What version of bitbake are you using?

Most likely, bitbake did not [fully] realize that you made a change.
I'd try something like this:
   % bitbake tisdk-rootfs-image -c cleansstate
   % bitbake tisdk-rootfs-image
and see what happens.

BTW, top-posting is evil :-(



==tisd**k-rootfs-image.bbhttp://tisdk-rootfs-image.bb
=**===
# Arago TI SDK filesystem image
COMPATIBLE_MACHINE = omap3|omapl138|ti33x

require arago-base-tisdk-image.bb

IMAGE_INSTALL += \
  task-arago-test \
  task-arago-tisdk-graphics \
  task-arago-tisdk-qte \
  task-arago-tisdk-addons \
  task-arago-tisdk-connectivity \
  task-arago-tisdk-crypto \
  task-arago-tisdk-matrix \
  task-arago-tisdk-multimedia \
  task-arago-tisdk-amsdk \
  task-arago-xyz \


export IMAGE_BASENAME = tisdk-rootfs-image

=task-arago.**xyz.bb http://task-arago.xyz.bb


DESCRIPTION = Extended task to get extras
LICENSE = MIT
LIC_FILES_CHKSUM =
file://${COREBASE}/meta/**COPYING.MIT;md5=**
3da9cfbcb788c80a0384361b4de204**20
PR = r0

inherit task

ARAGO_XYZ =  \
  pure-ftpd \
  

ARAGO_XYZ_INT = \
  ${ARAGO_XYZ} \
  
RDEPENDS_${PN} = \
  ${ARAGO_XYZ_INT} \
  
===pure-ftpd_1.0.**29.bb http://pure-ftpd_1.0.29.bb


DESCRIPTION = Sample program
LICENSE = GPLv2
LIC_FILES_CHKSUM = file://COPYING;md5=**d7b47170f564f6a314b82b3ea67a40*
*bd
PR = r0
PV = 1.0.29
DEPENDS = 
RPROVIDES = pure-ftpd
PROVIDES = pure-ftpd
ARM_INSTRUCTION_SET = arm

PARALLEL_MAKE = 

inherit autotools pkgconfig

EXTRA_OECONF = --enable-cross-compile --host=arm-arago-linux-**gnueabi

SRC_URI = 
http://iweb.dl.sourceforge.**net/project/pureftpd/Pure-**
FTPd/1.0.29/pure-ftpd-${PV}.**tar.gzhttp://iweb.dl.sourceforge.net/project/pureftpd/Pure-FTPd/1.0.29/pure-ftpd-$%7BPV%7D.tar.gz

SRC_URI[md5sum] = **e0132a51357d419f8b66e8997d9dc5**fa
SRC_URI[sha256sum] =
**55bfb84fa63a37e5b56906afbf**da7285d0f8b5ed24798f59c978ddea**2749
S = ${WORKDIR}/pure-ftpd-${PV}

EXTRA_OECONF_append_armv6 =  --enable-armv6
EXTRA_OECONF_append_armv7a =  --enable-armv6 --enable-neon

FULL_OPTIMIZATION = -fexpensive-optimizations -fomit-frame-pointer

Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread David Hirst
BitBake Build Tool Core version 1.15.2, bitbake version 1.15.2

gst-meta-base
:0.10-r10
meta-environment-arm
:1.0-r8
meta-ide-support
:1.0-r2
meta-toolchain
:1.0-r7
meta-toolchain-arago
:1.0-r13
meta-toolchain-arago-qte
:1.0-r9
meta-toolchain-arago-tisdk
:1.0-r0
meta-toolchain-gmae
:1.0-r7
meta-toolchain-qte
:1.0-r7
metacity
:2.30.3-r3
metacity-native:2.30.3-r3


On Fri, Mar 22, 2013 at 1:53 PM, Gary Thomas g...@mlbassoc.com wrote:

 On 2013-03-22 11:31, David Hirst wrote:

 Here are the results, the same as before, in the build directories all
 seems fine but the final output only has the /usr/share/man/man8/files

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/sbin
 are the following files:

 pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
 pure-uploadscript

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/bin
 are the following files:

 pure-pw  pure-pwconvert  pure-statsdecode

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**
 image/usr/share/man/man8

 pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
 pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8
  pure-uploadscript.8


 You still didn't answer the question about the version of bitbake, the OE
 metadata, etc.
 which does make a difference...

 Try adding this line in your pure-ftpd recipe:
   FILES_${PN} += /usr/sbin



 hirst689@hirst689-HP-Z210-**Workstation:~/oe-layersetup/**
 build/arago-tmp-external-**arago-toolchain/deploy/images$
 tar tvf tisdk-rootfs-image-am335x-evm.**tar.gz | grep pure*

 -rw-r--r-- root/root  4151 2013-03-22 12:36
 ./usr/share/man/man8/pure-**uploadscript.8
 -rw-r--r-- root/root  3187 2013-03-22 12:36
 ./usr/share/man/man8/pure-pw.8
 -rw-r--r-- root/root  2169 2013-03-22 12:36
 ./usr/share/man/man8/pure-**quotacheck.8
 -rw-r--r-- root/root  1123 2013-03-22 12:36
 ./usr/share/man/man8/pure-**statsdecode.8
 -rw-r--r-- root/root   764 2013-03-22 12:36
 ./usr/share/man/man8/pure-**pwconvert.8
 -rw-r--r-- root/root  4160 2013-03-22 12:36
 ./usr/share/man/man8/pure-**authd.8
 -rw-r--r-- root/root  2119 2013-03-22 12:36
 ./usr/share/man/man8/pure-**mrtginfo.8
 -rw-r--r-- root/root 28755 2013-03-22 12:36
 ./usr/share/man/man8/pure-**ftpd.8
 -rw-r--r-- root/root  2449 2013-03-22 12:36
 ./usr/share/man/man8/pure-**ftpwho.8



 On Fri, Mar 22, 2013 at 11:02 AM, David Hirst hirst...@gmail.com wrote:

  I did a bitbake tisdk-rootfs-image -c clean
 I will try the cleanstate
 It seems really difficult to get started from an absolutely clean slate,
 some where status is held that gets in the way
 I will let you know

 Thanks so far




 On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas g...@mlbassoc.com wrote:

  On 2013-03-22 08:42, David Hirst wrote:

  OK,
   Sorry for the carpet bombing! I added this to tisdk-rootfs-image
 task-arago-xyz \ to look for the new task file
 I have included the task and pure-ftpd bb files also. I would love to
 understand why this does not work.


 What steps did you run after making this change?
 What version of bitbake are you using?

 Most likely, bitbake did not [fully] realize that you made a change.
 I'd try something like this:
% bitbake tisdk-rootfs-image -c cleansstate
% bitbake tisdk-rootfs-image
 and see what happens.

 BTW, top-posting is evil :-(


  ==**tisd**k-rootfs-image.bbhttp:/**
 /tisdk-rootfs-image.bb http://tisdk-rootfs-image.bb
 =**===

 # Arago TI SDK filesystem image
 COMPATIBLE_MACHINE = omap3|omapl138|ti33x

 require arago-base-tisdk-image.bb

 IMAGE_INSTALL += \
   task-arago-test \
   task-arago-tisdk-graphics \
   task-arago-tisdk-qte \
   task-arago-tisdk-addons \
   task-arago-tisdk-connectivity \
   task-arago-tisdk-crypto \
   task-arago-tisdk-matrix \
   task-arago-tisdk-multimedia \
   task-arago-tisdk-amsdk \
   task-arago-xyz \
 

 export IMAGE_BASENAME = tisdk-rootfs-image

 =task-arago.xyz.bb http://xyz.bb 
 http://task-arago.xyz.bb

 

 DESCRIPTION = Extended task to get extras
 LICENSE = MIT
 LIC_FILES_CHKSUM =
 file://${COREBASE}/meta/COPYING.MIT;md5=**
 3da9cfbcb788c80a0384361b4de20420

 PR = r0

 inherit task

 ARAGO_XYZ =  \
   pure-ftpd \
   

 ARAGO_XYZ_INT = \
   ${ARAGO_XYZ} \
   
 RDEPENDS_${PN} = \
   ${ARAGO_XYZ_INT} \
   
 ===pure-ftpd_1.0.29.bb http://pure-ftpd_1.0.29.bb

 

 DESCRIPTION = Sample program
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=
 d7b47170f564f6a314b82b3ea67a40***

 *bd
 PR = r0
 PV = 1.0.29
 DEPENDS = 
 RPROVIDES = pure-ftpd
 PROVIDES = pure-ftpd

Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread David Hirst
I added the line with no effect,

here are the last lines of the build I notice that there are noexec on
several lines, not sure if this has any effect

NOTE: Running task 3804 of 3809 (ID: 2113,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-netbotz/pure-ftpd/
pure-ftpd_1.0.29.bb, do_package_write_ipk)
NOTE: Running noexec task 3806 of 3809 (ID: 342,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-core/tasks/
task-arago-netbotz.bb, do_package_write)
NOTE: package pure-ftpd-1.0.29-r0: task do_package_write_ipk: Started
NOTE: package pure-ftpd-1.0.29-r0: task do_package_write_ipk: Succeeded
NOTE: Running noexec task 3807 of 3809 (ID: 2110,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-netbotz/pure-ftpd/
pure-ftpd_1.0.29.bb, do_package_write)
NOTE: Running task 3808 of 3809 (ID: 9,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-core/images/
tisdk-rootfs-image.bb, do_rootfs)
NOTE: package tisdk-rootfs-image-1.0-r0: task do_rootfs: Started
NOTE: package tisdk-rootfs-image-1.0-r0: task do_rootfs: Succeeded
NOTE: Running noexec task 3809 of 3809 (ID: 5,
/home/hirst689/oe-layersetup/sources/meta-arago/meta-arago-distro/recipes-core/images/
tisdk-rootfs-image.bb, do_build)
NOTE: Tasks Summary: Attempted 3809 tasks of which 3795 didn't need to be
rerun and all succeeded.


On Fri, Mar 22, 2013 at 1:53 PM, Gary Thomas g...@mlbassoc.com wrote:

 On 2013-03-22 11:31, David Hirst wrote:

 Here are the results, the same as before, in the build directories all
 seems fine but the final output only has the /usr/share/man/man8/files

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/sbin
 are the following files:

 pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
 pure-uploadscript

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/bin
 are the following files:

 pure-pw  pure-pwconvert  pure-statsdecode

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**
 image/usr/share/man/man8

 pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
 pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8
  pure-uploadscript.8


 You still didn't answer the question about the version of bitbake, the OE
 metadata, etc.
 which does make a difference...

 Try adding this line in your pure-ftpd recipe:
   FILES_${PN} += /usr/sbin



 hirst689@hirst689-HP-Z210-**Workstation:~/oe-layersetup/**
 build/arago-tmp-external-**arago-toolchain/deploy/images$
 tar tvf tisdk-rootfs-image-am335x-evm.**tar.gz | grep pure*

 -rw-r--r-- root/root  4151 2013-03-22 12:36
 ./usr/share/man/man8/pure-**uploadscript.8
 -rw-r--r-- root/root  3187 2013-03-22 12:36
 ./usr/share/man/man8/pure-pw.8
 -rw-r--r-- root/root  2169 2013-03-22 12:36
 ./usr/share/man/man8/pure-**quotacheck.8
 -rw-r--r-- root/root  1123 2013-03-22 12:36
 ./usr/share/man/man8/pure-**statsdecode.8
 -rw-r--r-- root/root   764 2013-03-22 12:36
 ./usr/share/man/man8/pure-**pwconvert.8
 -rw-r--r-- root/root  4160 2013-03-22 12:36
 ./usr/share/man/man8/pure-**authd.8
 -rw-r--r-- root/root  2119 2013-03-22 12:36
 ./usr/share/man/man8/pure-**mrtginfo.8
 -rw-r--r-- root/root 28755 2013-03-22 12:36
 ./usr/share/man/man8/pure-**ftpd.8
 -rw-r--r-- root/root  2449 2013-03-22 12:36
 ./usr/share/man/man8/pure-**ftpwho.8



 On Fri, Mar 22, 2013 at 11:02 AM, David Hirst hirst...@gmail.com wrote:

  I did a bitbake tisdk-rootfs-image -c clean
 I will try the cleanstate
 It seems really difficult to get started from an absolutely clean slate,
 some where status is held that gets in the way
 I will let you know

 Thanks so far




 On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas g...@mlbassoc.com wrote:

  On 2013-03-22 08:42, David Hirst wrote:

  OK,
   Sorry for the carpet bombing! I added this to tisdk-rootfs-image
 task-arago-xyz \ to look for the new task file
 I have included the task and pure-ftpd bb files also. I would love to
 understand why this does not work.


 What steps did you run after making this change?
 What version of bitbake are you using?

 Most likely, bitbake did not [fully] realize that you made a change.
 I'd try something like this:
% bitbake tisdk-rootfs-image -c cleansstate
% bitbake tisdk-rootfs-image
 and see what happens.

 BTW, top-posting is evil :-(


  ==**tisd**k-rootfs-image.bbhttp:/**
 /tisdk-rootfs-image.bb http://tisdk-rootfs-image.bb
 =**===

 # Arago TI SDK filesystem image
 COMPATIBLE_MACHINE = omap3|omapl138|ti33x

 require arago-base-tisdk-image.bb

 IMAGE_INSTALL += \
   task-arago-test \
   task-arago-tisdk-graphics \
   task-arago-tisdk-qte \
   

Re: [oe] [meta-networking][PATCH 0/1][V2] Quagga has no snmp support, unrecognized options --enable-tcp-md5

2013-03-22 Thread Joe MacDonald
[[meta-networking][PATCH  0/1][V2] Quagga has no snmp support, unrecognized 
options --enable-tcp-md5] On 13.03.21 (Thu 15:05) Aws Ismail wrote:

 *** V2 ***
 Fix typo in the SNMP CONF line
 *** V2 ***
 
 This commit introduces a set of changes to do the following:
 
 1. Update the configure option for quagga to replace the old --enable-tcp-md5
 2. Add snmp support based on DISTRO_FEATURES availability.
 3. Install sample runtime configuration files for quagga and its daemons.
 4. Make sure the post install script is executed at the right stage.
 
 
 Aws Ismail (1):
   Quagga has no snmp support, unrecognized options --enable-tcp-md5
 
  .../recipes-protocols/quagga/quagga.inc|   23 ---
  1 files changed, 19 insertions(+), 4 deletions(-)

Hey Aws,

I hate to send this back for a v3 just for this, but since you're right
there fixing stuff, can you also clean up the inconsistent use of hard
tabs and spaces in the recipe?  Probably best to do that as a separate
commit, so it's clear what you're actually changing and what's purely
cosmetic.

-- 
-Joe MacDonald.
:wq


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


Re: [oe] Adding a recipe to oe bitbake

2013-03-22 Thread David Hirst
OK, now I have some progress, what I have done is to drop the task and call
pure-ftpd directly from tisdk-rootfs-image

and I get the following in the image. Somehow this just seems wrong but it
works

hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$
tar tvf tisdk-rootfs-image-am335x-evm.tar.gz | grep pure
-rwxr-xr-x root/root  9744 2013-03-22 14:28 ./usr/sbin/pure-mrtginfo
-rwxr-xr-x root/root  5196 2013-03-22 14:28 ./usr/sbin/pure-uploadscript
-rwxr-xr-x root/root  5184 2013-03-22 14:28 ./usr/sbin/pure-authd
-rwxr-xr-x root/root112184 2013-03-22 14:28 ./usr/sbin/pure-ftpd
-rwxr-xr-x root/root 12360 2013-03-22 14:28 ./usr/sbin/pure-quotacheck
-rwxr-xr-x root/root  5248 2013-03-22 14:28 ./usr/sbin/pure-ftpwho
-rwxr-xr-x root/root 6964 2013-03-22 14:28
./usr/bin/pure-statsdecode
-rwxr-xr-x root/root28972 2013-03-22 14:28 ./usr/bin/pure-pw
-rwxr-xr-x root/root 6568 2013-03-22 14:28 ./usr/bin/pure-pwconvert
-rw-r--r-- root/root   208 2013-03-22 14:44
./var/lib/opkg/info/pure-ftpd.list
-rw-r--r-- root/root   442 2013-03-22 14:28
./var/lib/opkg/info/pure-ftpd.control
hirst689@hirst689-HP-Z210-Workstation:~/oe-layersetup/build/arago-tmp-external-arago-toolchain/deploy/images$



On Fri, Mar 22, 2013 at 1:53 PM, Gary Thomas g...@mlbassoc.com wrote:

 On 2013-03-22 11:31, David Hirst wrote:

 Here are the results, the same as before, in the build directories all
 seems fine but the final output only has the /usr/share/man/man8/files

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/sbin
 are the following files:

 pure-authd  pure-ftpd  pure-ftpwho  pure-mrtginfo  pure-quotacheck
 pure-uploadscript

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**image/usr/bin
 are the following files:

 pure-pw  pure-pwconvert  pure-statsdecode

 in
 oe-layersetup/build/arago-tmp-**external-arago-toolchain/work/**
 armv7a-vfp-neon-oe-linux-**gnueabi/pure-ftpd-1.0.29-r0/**
 image/usr/share/man/man8

 pure-authd.8  pure-ftpd.8  pure-ftpwho.8  pure-mrtginfo.8  pure-pw.8
 pure-pwconvert.8  pure-quotacheck.8  pure-statsdecode.8
  pure-uploadscript.8


 You still didn't answer the question about the version of bitbake, the OE
 metadata, etc.
 which does make a difference...

 Try adding this line in your pure-ftpd recipe:
   FILES_${PN} += /usr/sbin



 hirst689@hirst689-HP-Z210-**Workstation:~/oe-layersetup/**
 build/arago-tmp-external-**arago-toolchain/deploy/images$
 tar tvf tisdk-rootfs-image-am335x-evm.**tar.gz | grep pure*

 -rw-r--r-- root/root  4151 2013-03-22 12:36
 ./usr/share/man/man8/pure-**uploadscript.8
 -rw-r--r-- root/root  3187 2013-03-22 12:36
 ./usr/share/man/man8/pure-pw.8
 -rw-r--r-- root/root  2169 2013-03-22 12:36
 ./usr/share/man/man8/pure-**quotacheck.8
 -rw-r--r-- root/root  1123 2013-03-22 12:36
 ./usr/share/man/man8/pure-**statsdecode.8
 -rw-r--r-- root/root   764 2013-03-22 12:36
 ./usr/share/man/man8/pure-**pwconvert.8
 -rw-r--r-- root/root  4160 2013-03-22 12:36
 ./usr/share/man/man8/pure-**authd.8
 -rw-r--r-- root/root  2119 2013-03-22 12:36
 ./usr/share/man/man8/pure-**mrtginfo.8
 -rw-r--r-- root/root 28755 2013-03-22 12:36
 ./usr/share/man/man8/pure-**ftpd.8
 -rw-r--r-- root/root  2449 2013-03-22 12:36
 ./usr/share/man/man8/pure-**ftpwho.8



 On Fri, Mar 22, 2013 at 11:02 AM, David Hirst hirst...@gmail.com wrote:

  I did a bitbake tisdk-rootfs-image -c clean
 I will try the cleanstate
 It seems really difficult to get started from an absolutely clean slate,
 some where status is held that gets in the way
 I will let you know

 Thanks so far




 On Fri, Mar 22, 2013 at 10:51 AM, Gary Thomas g...@mlbassoc.com wrote:

  On 2013-03-22 08:42, David Hirst wrote:

  OK,
   Sorry for the carpet bombing! I added this to tisdk-rootfs-image
 task-arago-xyz \ to look for the new task file
 I have included the task and pure-ftpd bb files also. I would love to
 understand why this does not work.


 What steps did you run after making this change?
 What version of bitbake are you using?

 Most likely, bitbake did not [fully] realize that you made a change.
 I'd try something like this:
% bitbake tisdk-rootfs-image -c cleansstate
% bitbake tisdk-rootfs-image
 and see what happens.

 BTW, top-posting is evil :-(


  ==**tisd**k-rootfs-image.bbhttp:/**
 /tisdk-rootfs-image.bb http://tisdk-rootfs-image.bb
 =**===

 # Arago TI SDK filesystem image
 COMPATIBLE_MACHINE = omap3|omapl138|ti33x

 require arago-base-tisdk-image.bb

 IMAGE_INSTALL += \
   task-arago-test \
   task-arago-tisdk-graphics \
   task-arago-tisdk-qte \
   task-arago-tisdk-addons \
   task-arago-tisdk-connectivity \
   task-arago-tisdk-crypto 

Re: [oe] [OE-core] [PATCH 09/22] update-rcd.bbclass: handle both sysvinit and systemd features being present

2013-03-22 Thread Martin Jansa
On Fri, Mar 22, 2013 at 05:38:29PM +, Ross Burton wrote:
 Run the helper if the sysvinit feature is present, or if the systemd feature 
 is
 present but the systemd class hasn't been inherited.  We want to run in the
 latter case as systemd has sysvinit compatibility, but we don't want to always
 run so that pure systemd images don't have redundant sysvinit files.
 
 Signed-off-by: Ross Burton ross.bur...@intel.com
 ---
  meta/classes/update-rc.d.bbclass  |9 ++---
  meta/recipes-core/packagegroups/packagegroup-core-boot.bb |4 ++--
  2 files changed, 8 insertions(+), 5 deletions(-)
 
 diff --git a/meta/classes/update-rc.d.bbclass 
 b/meta/classes/update-rc.d.bbclass
 index 65bf022..06b91c1 100644
 --- a/meta/classes/update-rc.d.bbclass
 +++ b/meta/classes/update-rc.d.bbclass
 @@ -75,9 +75,12 @@ python populate_packages_updatercd () {
  postrm += d.getVar('updatercd_postrm', True)
  d.setVar('pkg_postrm_%s' % pkg, postrm)
  
 -# If the systemd class has also been inherited, then don't do anything as
 -# the systemd units will override anything created by update-rc.d.
 -if not d.getVar(SYSTEMD_BBCLASS_ENABLED, True):
 +# Run if the sysvinit feature is present, or if the systemd feature is 
 present
 +# but the systemd class hasn't been inherited.  We want to run in the 
 latter case
 +# as systemd has sysvinit compatibility, but we don't want to always so 
 that
 +# pure systemd images don't have redundent sysvinit files.
 +if sysvinit in d.getVar(DISTRO_FEATURES).split() or \
 +   (systemd in d.getVar(DISTRO_FEATURES).split() and not 
 d.getVar(SYSTEMD_BBCLASS_ENABLED, True)):
  pkgs = d.getVar('INITSCRIPT_PACKAGES', True)
  if pkgs == None:
  pkgs = d.getVar('UPDATERCPN', True)
 diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb 
 b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
 index b9183a8..e73b46e 100644
 --- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
 +++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
 @@ -27,7 +27,7 @@ RCONFLICTS_${PN} = task-core-boot
  VIRTUAL-RUNTIME_dev_manager ?= udev
  VIRTUAL-RUNTIME_login_manager ?= tinylogin
  VIRTUAL-RUNTIME_init_manager ?= ${DISTRO_FEATURES_INITMAN}
 -VIRTUAL-RUNTIME_initscripts ?= ${@base_contains('DISTRO_FEATURES', 
 'sysvinit', 'initscripts', '',d)}
 +VIRTUAL-RUNTIME_initscripts ?= ${@base_contains('DISTRO_FEATURES_INITMAN', 
 'sysvinit', 'initscripts', '',d)}
  VIRTUAL-RUNTIME_keymaps ?= keymaps
  
  RDEPENDS_${PN} = \
 @@ -42,7 +42,7 @@ RDEPENDS_${PN} = \
  ${VIRTUAL-RUNTIME_login_manager} \
  ${VIRTUAL-RUNTIME_init_manager} \
  ${VIRTUAL-RUNTIME_initscripts} \
 -${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-compat-units', 
 '',d)} \
 +${@base_contains('DISTRO_FEATURES_INITMAN', 'systemd', 
 'systemd-compat-units', '',d)} \
  ${VIRTUAL-RUNTIME_dev_manager} \
  ${VIRTUAL-RUNTIME_update-alternatives} \
  ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}

Isn't DISTRO_FEATURES_INITMAN removed later in this series?

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


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


Re: [oe] [OE-core] [PATCH 09/22] update-rcd.bbclass: handle both sysvinit and systemd features being present

2013-03-22 Thread Burton, Ross
On 22 March 2013 19:04, Martin Jansa martin.ja...@gmail.com wrote:
 Isn't DISTRO_FEATURES_INITMAN removed later in this series?

Yes.  I reviewed this series entirely twice and still this slipped
through.  Consider the chunks mentioning INITMAN gone.

Ross

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


Re: [oe] [PATCH 00/22] hybrid systemd/sysvinit, and systemd fixes

2013-03-22 Thread Martin Jansa
On Fri, Mar 22, 2013 at 05:38:20PM +, Ross Burton wrote:
 Hi,
 
 The following changes since commit 6211a2bdd32f7b2c8de7a5d75353c0522c8d4230:
 
   scripts/qemu-testlib: Add more debugging information (2013-03-21 17:05:15 
 +)
 
 are available in the git repository at:
 
   git://git.yoctoproject.org/poky-contrib ross/systemd
 
 for you to fetch changes up to 0e1da1e227c8e52087f7a52f8501a81cd28e76c7:
 
   systemd: recommend systemd-compat-units (2013-03-22 17:24:21 +)

Do you have one for oe-core?


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


Re: [oe] [2011.03-maintenance][PATCH v5 0/2] Pull request 20130314

2013-03-22 Thread Apelete Seketeli
Hi Tom,

Le 14-Mar-13, Apelete Seketeli a écrit:
 Hello,
 
 The patches that come as a follow-up of this message fix an issue
 found while building muffinman-image on top of the 2011.03-maintenance
 branch, and also build a ubi image for the ben-nanonote machine.
 This work is intended to be used as a basis for porting the JLime
 distribution to oe-core.
 
 These modifications were tested by successfully building
 muffinman-image from scratch on a Debian Wheezy host.
 Please pull into 2011.03-maintenance branch.
 
 The following changes since commit ff679935b073a89c4e407d259bcc2eea9148fb91:
 
   opkg-utils: bump SRCREV to latest (2012-10-26 11:11:59 +0200)
 
 are available in the git repository at:
 
   git://seketeli.fr/~apelete/oe.git muffinman-image-fix
 
 Apelete Seketeli (2):
   gnutls: update SRC_URI
   jlime-2010.1: build ubi image for ben-nanonote machine
 
  conf/bitbake.conf  |2 +-
  conf/distro/jlime-2010.1.conf  |3 ++-
  conf/machine/ben-nanonote.conf |   12 
  recipes/gnutls/gnutls.inc  |3 ++-
  4 files changed, 17 insertions(+), 3 deletions(-)

It's been a week and no more reviews, could you please take a look at
it and see if it's good to be pulled ?

Cheers.
-- 
Apelete

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