[OE-core] [PATCHv2 0/2] wic: Add wic support to generate rootfs image for uboot

2014-06-12 Thread y
From: Adrian Calianu adrian.cali...@enea.com

v2 
Fix upstream compatibility with latest on master.

v1
Hi,

We tried to extend existing wic tool to generates rootfs images for U-Boot.
This will be possible from cooked mode(existing build folder) and from raw mode 
where you have to provide a list of packages to be installed and a native 
rootfs with necessary tools.

Some prerequisites are required for this new build setup in wic.conf file.
As package manager only opkg and only web paths(repourl) are supported by now.
../poky/scripts/lib/image/config/wic.conf
[create]
arch=target_arch (example: powerpc, arm, x86) pkgmgr=opkg 
repourl=http://example.distro/p2020rdb/ipk/all 
http://example.distro/p2020rdb/ipk/p2020rdb 
http://example.distro/p2020rdb/ipk/ppce500v2

1) Build rootfs image from an existing bitbake build:
   wic create ../poky/scripts/lib/image/canned-wks/uboot.wks -e 
core-image-minimal -o .../output

2) Build rootfs image from an existing rootfs and native_sysroot:
   wic create ../poky/scripts/lib/image/canned-wks/uboot.wks -r 
.../path_to_rootfs -n .../path_to_native_sysroot -o .../output

3) Build rootfs image only from a package list (on wks file) similar with 
IMAGE_INSTALL from bitbake.
   Package dependencies will be installed by default by the package manager.

   Add the list of packages to be installed as rootfs on 
../poky/scripts/lib/image/canned-wks/uboot.wks:
   %packages
   packagegroup-core-boot
   pramfs-init
   run-postinsts
   packagegroup-core-ssh-dropbear
   %end

   Generate rootfs image:
   wic create ../poky/scripts/lib/image/canned-wks/uboot.wks  -n 
.../path_to_native_sysroot -o .../output

 
Adrian Calianu (2):
  Add wic support to generate rootfs image for uboot
  Fix compatibility with upstream.

 scripts/lib/image/canned-wks/uboot.wks |   17 +
 scripts/lib/image/config/wic.conf  |4 +
 scripts/lib/mic/imager/direct.py   |4 +
 .../lib/mic/kickstart/custom_commands/partition.py |  128 
 scripts/lib/mic/pluginbase.py  |9 +
 scripts/lib/mic/plugins/source/uboot.py|  173 +
 scripts/lib/mic/utils/oe/package_manager.py|  810 
 scripts/wic|   88 ++-
 8 files changed, 1209 insertions(+), 24 deletions(-)
 create mode 100644 scripts/lib/image/canned-wks/uboot.wks
 create mode 100644 scripts/lib/mic/plugins/source/uboot.py
 create mode 100644 scripts/lib/mic/utils/oe/package_manager.py

-- 
1.7.10.4

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


[OE-core] [PATCHv2 1/2] Add wic support to generate rootfs image for uboot

2014-06-12 Thread y
From: Adrian Calianu adrian.cali...@enea.com

Add support in wic to build ramdisk uboot images from list of packages or
from an existing rootfs folder.

Providing the list of packages starting with XXX-core-boot package(into wks 
file)
will generate an rootfs image for uboot out of bitbake.
There is also possible to combine an existing/application rootfs with a list
of packages that can be installed but the user must take care to provide
a basic core boot rootfs or XXX-core-boot package and reporul(wic.conf).

Some prerequisites are required for this new build setup:
../poky/scripts/lib/image/config/wic.conf
[create]
arch=target_arch (example: powerpc, arm, x86)
pkgmgr=opkg
repourl=http://example.distro/p2020rdb/ipk/all 
http://example.distro/p2020rdb/ipk/p2020rdb 
http://example.distro/p2020rdb/ipk/ppce500v2

1) Build an rootfs image from an existing bitbake build:
   wic create ../poky/scripts/lib/image/canned-wks/uboot.wks -e 
core-image-minimal -o .../output

2) Build an rootfs image from an existing rootfs and native_sysroot:
   wic create ../poky/scripts/lib/image/canned-wks/uboot.wks -r 
.../path_to_rootfs -n .../path_to_native_sysroot -o .../output

3) Build an rootfs image only from a package list (on wks file):

   Add the package list to be installed as rootfs on 
../poky/scripts/lib/image/canned-wks/uboot.wks:
   %packages
   packagegroup-core-boot
   pramfs-init
   run-postinsts
   packagegroup-core-ssh-dropbear
   %end

   Generate rootfs image:
   wic create ../poky/scripts/lib/image/canned-wks/uboot.wks  -n 
.../path_to_native_sysroot -o .../output

Signed-off-by: Adrian Calianu adrian.cali...@enea.com
---
 scripts/lib/image/canned-wks/uboot.wks |   17 +
 scripts/lib/image/config/wic.conf  |4 +
 scripts/lib/mic/imager/direct.py   |4 +
 .../lib/mic/kickstart/custom_commands/partition.py |  128 
 scripts/lib/mic/pluginbase.py  |9 +
 scripts/lib/mic/plugins/source/uboot.py|  173 +
 scripts/lib/mic/utils/oe/package_manager.py|  810 
 scripts/wic|   88 ++-
 10 files changed, 1219 insertions(+), 32 deletions(-)
 create mode 100644 scripts/lib/image/canned-wks/uboot.wks
 create mode 100644 scripts/lib/mic/plugins/source/uboot.py
 create mode 100644 scripts/lib/mic/utils/oe/package_manager.py

diff --git a/scripts/lib/image/canned-wks/uboot.wks 
b/scripts/lib/image/canned-wks/uboot.wks
new file mode 100644
index 000..7de0572
--- /dev/null
+++ b/scripts/lib/image/canned-wks/uboot.wks
@@ -0,0 +1,17 @@
+# short-description: .   Create a ramdisk image for U-Boot
+# long-description: Creates a ramdisk image for U-Boot that user
+# can directly load it into ram through tftp
+#
+# part - is a wic command that drive the process of generating a valid file 
system
+#  - --source=uboot : wic plugin that generates a ramdisk image for U-Boot
+#  - --fstype=ext2  : file system type( ext2 / ext3 / ext 4)
+#
+# %packages %end - option to provide a list of packages that will be installed
+#  into rootfs. All packages dependencies will be installed by
+#  package manager(default opkg).
+
+
+part / --source=uboot --fstype=ext2 --label imageName  --align 1024
+
+%packages
+%end
diff --git a/scripts/lib/image/config/wic.conf 
b/scripts/lib/image/config/wic.conf
index e96d6ae..2a2750b 100644
--- a/scripts/lib/image/config/wic.conf
+++ b/scripts/lib/image/config/wic.conf
@@ -4,4 +4,8 @@ distro_name = OpenEmbedded
 
 [create]
 ; settings for create subcommand
+; repourl=http://linux.com/ipk/all http://linux.com/ipk/target 
http://linux.com/ipk/arch
+arch=powerpc
+pkgmgr=opkg
 runtime=native
+install_pkgs=source
diff --git a/scripts/lib/mic/imager/direct.py b/scripts/lib/mic/imager/direct.py
index 2cf4c8d..fef9d0e 100644
--- a/scripts/lib/mic/imager/direct.py
+++ b/scripts/lib/mic/imager/direct.py
@@ -262,6 +262,10 @@ class DirectImageCreator(BaseImageCreator):
 # when/if we need to actually do package selection we
 # should modify things to use those objects, but for now
 # we can avoid that.
+
+p.install_pkgs(self, self.workdir, self.oe_builddir, 
self.rootfs_dir,
+   self.bootimg_dir, self.kernel_dir, 
self.native_sysroot)
+
 p.prepare(self, self.workdir, self.oe_builddir, self.rootfs_dir,
   self.bootimg_dir, self.kernel_dir, self.native_sysroot)
 
diff --git a/scripts/lib/mic/kickstart/custom_commands/partition.py 
b/scripts/lib/mic/kickstart/custom_commands/partition.py
index 6b575c0..450d2d4 100644
--- a/scripts/lib/mic/kickstart/custom_commands/partition.py
+++ b/scripts/lib/mic/kickstart/custom_commands/partition.py
@@ -31,7 +31,11 @@ from mic.utils.oe.misc import *
 from mic.kickstart.custom_commands import *
 from mic.plugin import pluginmgr
 

[OE-core] [PATCH 10/11] task-sdk-host: Add nativesdk to the task name so its clearer what the contents of the task represent

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

This is particularly important since the file doens't use BBCLASSEXTEND
and PN is therefore misleading

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/classes/populate_sdk.bbclass  |2 +-
 ...task-sdk-host.bb = task-sdk-host-nativesdk.bb} |0
 meta/recipes-qt/meta/meta-toolchain-qte.bb |2 +-
 ...ost.bb = task-qte-toolchain-host-nativesdk.bb} |2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-core/tasks/{task-sdk-host.bb = 
task-sdk-host-nativesdk.bb} (100%)
 rename meta/recipes-qt/tasks/{task-qte-toolchain-host.bb = 
task-qte-toolchain-host-nativesdk.bb} (70%)

diff --git a/meta/classes/populate_sdk.bbclass 
b/meta/classes/populate_sdk.bbclass
index 413eb52..089ed9a 100644
--- a/meta/classes/populate_sdk.bbclass
+++ b/meta/classes/populate_sdk.bbclass
@@ -7,7 +7,7 @@ SDK_DEPLOY = ${TMPDIR}/deploy/sdk
 
 SDKTARGETSYSROOT = ${SDKPATH}/sysroots/${TARGET_SYS}
 
-TOOLCHAIN_HOST_TASK ?= task-sdk-host 
task-cross-canadian-${TRANSLATED_TARGET_ARCH}
+TOOLCHAIN_HOST_TASK ?= task-sdk-host-nativesdk 
task-cross-canadian-${TRANSLATED_TARGET_ARCH}
 TOOLCHAIN_TARGET_TASK ?= task-core-standalone-sdk-target 
task-core-standalone-sdk-target-dbg
 TOOLCHAIN_OUTPUTNAME ?= ${SDK_NAME}-toolchain-${DISTRO_VERSION}
 
diff --git a/meta/recipes-core/tasks/task-sdk-host.bb 
b/meta/recipes-core/tasks/task-sdk-host-nativesdk.bb
similarity index 100%
rename from meta/recipes-core/tasks/task-sdk-host.bb
rename to meta/recipes-core/tasks/task-sdk-host-nativesdk.bb
diff --git a/meta/recipes-qt/meta/meta-toolchain-qte.bb 
b/meta/recipes-qt/meta/meta-toolchain-qte.bb
index 72fa702..72d58db 100644
--- a/meta/recipes-qt/meta/meta-toolchain-qte.bb
+++ b/meta/recipes-qt/meta/meta-toolchain-qte.bb
@@ -1,6 +1,6 @@
 # Qt Embedded toolchain
 PR = r5
-TOOLCHAIN_HOST_TASK = task-qte-toolchain-host 
task-cross-canadian-${TRANSLATED_TARGET_ARCH}
+TOOLCHAIN_HOST_TASK = task-qte-toolchain-host-nativesdk 
task-cross-canadian-${TRANSLATED_TARGET_ARCH}
 TOOLCHAIN_TARGET_TASK = task-qte-toolchain-target
 TOOLCHAIN_OUTPUTNAME = ${SDK_NAME}-toolchain-qte-${DISTRO_VERSION}
 
diff --git a/meta/recipes-qt/tasks/task-qte-toolchain-host.bb 
b/meta/recipes-qt/tasks/task-qte-toolchain-host-nativesdk.bb
similarity index 70%
rename from meta/recipes-qt/tasks/task-qte-toolchain-host.bb
rename to meta/recipes-qt/tasks/task-qte-toolchain-host-nativesdk.bb
index 2ab6ccf..cfa45ef 100644
--- a/meta/recipes-qt/tasks/task-qte-toolchain-host.bb
+++ b/meta/recipes-qt/tasks/task-qte-toolchain-host-nativesdk.bb
@@ -1,4 +1,4 @@
-require recipes-core/tasks/task-sdk-host.bb
+require recipes-core/tasks/task-sdk-host-nativesdk.bb
 
 DESCRIPTION = Host packages for Qt Embedded SDK
 LICENSE = MIT
-- 
1.7.4.1


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


[OE-core] [PATCH 09/11] initrdscripts: Inhibit compiler/libc dependencies as this is just a configuration file

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 .../initrdscripts/initramfs-live-install_1.0.bb|1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb 
b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
index c92ee31..c792fe0 100644
--- a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
@@ -15,6 +15,7 @@ do_install() {
 # simple script, reality is that it is Host specific based
 # on the COMPATIBLE_HOST below, which needs to take precedence
 #inherit allarch
+INHIBIT_DEFAULT_DEPS = 1
 
 FILES_${PN} =  /install.sh 
 
-- 
1.7.4.1


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


[OE-core] [PATCH 02/11] formfactor: Inhibit toolchain dependencies as its just config files

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/recipes-bsp/formfactor/formfactor_0.0.bb |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/formfactor/formfactor_0.0.bb 
b/meta/recipes-bsp/formfactor/formfactor_0.0.bb
index 28624a6..abf20e0 100644
--- a/meta/recipes-bsp/formfactor/formfactor_0.0.bb
+++ b/meta/recipes-bsp/formfactor/formfactor_0.0.bb
@@ -9,6 +9,7 @@ SRC_URI = file://config file://machconfig
 S = ${WORKDIR}
 
 PACKAGE_ARCH = ${MACHINE_ARCH}
+INHIBIT_DEFAULT_DEPS = 1
 
 do_install() {
# Only install file if it has a contents
-- 
1.7.4.1


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


[OE-core] [PATCH 01/11] pointercal: Inhibit toolchain dependencies as its just config files

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/recipes-bsp/pointercal/pointercal_0.0.bb |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/pointercal/pointercal_0.0.bb 
b/meta/recipes-bsp/pointercal/pointercal_0.0.bb
index 069d850..c8233ea 100644
--- a/meta/recipes-bsp/pointercal/pointercal_0.0.bb
+++ b/meta/recipes-bsp/pointercal/pointercal_0.0.bb
@@ -19,3 +19,4 @@ do_install() {
 
 ALLOW_EMPTY_${PN} = 1
 PACKAGE_ARCH = ${MACHINE_ARCH}
+INHIBIT_DEFAULT_DEPS = 1
\ No newline at end of file
-- 
1.7.4.1


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


[OE-core] [PATCH 03/11] keymaps: Inhibit toolchain dependencies as its just configuration files

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/recipes-bsp/keymaps/keymaps_1.0.bb |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb 
b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
index 4683fa1..23a3051 100644
--- a/meta/recipes-bsp/keymaps/keymaps_1.0.bb
+++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=751419260aa954499f7abaabaa882bbe
 PACKAGE_ARCH = ${MACHINE_ARCH}
 PR = r19
 
+INHIBIT_DEFAULT_DEPS = 1
+
 inherit update-rc.d
 
 SRC_URI = file://keymap.sh \
-- 
1.7.4.1


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


[OE-core] [PATCH 06/11] poky-feed-opkg: Disable default toolchain dependencies as these are just configuration files

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 .../feed-config/poky-feed-config-opkg_1.0.bb   |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb 
b/meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb
index 9b005d0..fc223c9 100644
--- a/meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb
+++ b/meta/recipes-core/feed-config/poky-feed-config-opkg_1.0.bb
@@ -3,6 +3,7 @@ LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
 PR = r1
 PACKAGE_ARCH = ${MACHINE_ARCH}
+INHIBIT_DEFAULT_DEPS = 1
 
 #FEEDNAMEPREFIX ?= INVALID
 #FEEDURIPREFIX ?= INVALID
-- 
1.7.4.1


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


[OE-core] [PATCH 11/11] nativesdk.bbclass: Correct ordering of manipulations

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

OVERDIDES is the key variable that needs to be set prior to data finalisation.
The other variables should be manipulated after finalisation so any
DEPENDS_prepend and _append are accounted for. This patch ensures this is
the case.

The PACKAGES maniupulations are not enabled at this time as they
don't function 100% correctly yet.

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/classes/nativesdk.bbclass |   53 
 1 files changed, 37 insertions(+), 16 deletions(-)

diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 644e731..3fe4bf9 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -62,27 +62,48 @@ python nativesdk_virtclass_handler () {
 if not pn.endswith(-nativesdk):
 return
 
-depends = bb.data.getVar(DEPENDS, e.data, True)
-deps = bb.utils.explode_deps(depends)
-newdeps = []
-for dep in deps:
-if dep.endswith(-native) or dep.endswith(-cross):
-newdeps.append(dep)
-elif dep.endswith(-gcc-intermediate) or dep.endswith(-gcc-initial) 
or dep.endswith(-gcc) or dep.endswith(-g++):
-newdeps.append(dep + -crosssdk)
-elif not dep.endswith(-nativesdk):
-newdeps.append(dep + -nativesdk)
-else:
-newdeps.append(dep)
-bb.data.setVar(DEPENDS,  .join(newdeps), e.data)
-provides = bb.data.getVar(PROVIDES, e.data, True)
+bb.data.setVar(OVERRIDES, bb.data.getVar(OVERRIDES, e.data, False) + 
:virtclass-nativesdk, e.data)
+}
+
+python () {
+pn = bb.data.getVar(PN, d, True)
+if not pn.endswith(-nativesdk):
+return
+
+def map_dependencies(varname, d, suffix = ):
+if suffix:
+varname = varname + _ + suffix
+deps = bb.data.getVar(varname, d, True)
+if not deps:
+return
+deps = bb.utils.explode_deps(deps)
+newdeps = []
+for dep in deps:
+if dep.endswith(-native) or dep.endswith(-cross):
+newdeps.append(dep)
+elif dep.endswith(-gcc-intermediate) or 
dep.endswith(-gcc-initial) or dep.endswith(-gcc) or dep.endswith(-g++):
+newdeps.append(dep + -crosssdk)
+elif not dep.endswith(-nativesdk):
+newdeps.append(dep.replace(-nativesdk, ) + -nativesdk)
+else:
+newdeps.append(dep)
+bb.data.setVar(varname,  .join(newdeps), d)
+
+map_dependencies(DEPENDS, d)
+#for pkg in (d.getVar(PACKAGES, True).split() + []):
+#map_dependencies(RDEPENDS, d, pkg)
+#map_dependencies(RRECOMMENDS, d, pkg)
+#map_dependencies(RSUGGESTS, d, pkg)
+#map_dependencies(RPROVIDES, d, pkg)
+#map_dependencies(RREPLACES, d, pkg)
+
+provides = bb.data.getVar(PROVIDES, d, True)
 for prov in provides.split():
 if prov.find(pn) != -1:
 continue
 if not prov.endswith(-nativesdk):
 provides = provides.replace(prov, prov + -nativesdk)
-bb.data.setVar(PROVIDES, provides, e.data)
-bb.data.setVar(OVERRIDES, bb.data.getVar(OVERRIDES, e.data, False) + 
:virtclass-nativesdk, e.data)
+bb.data.setVar(PROVIDES, provides, d)
 }
 
 addhandler nativesdk_virtclass_handler
-- 
1.7.4.1


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


[OE-core] [PATCH 07/11] initscripts: makedevs is no longer used anywhere so drop dependency. Also inhibit compiler/libc dependencies as they're unused

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/recipes-core/initscripts/initscripts_1.0.bb |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb 
b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 720c252..48b65b9 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -2,11 +2,11 @@ SUMMARY = SysV init scripts
 DESCRIPTION = Initscripts provide the basic system startup initialization 
scripts for the system.  These scripts include actions such as filesystem 
mounting, fsck, RTC manipulation and other actions routinely performed at 
system startup.  In addition, the scripts are also used during system shutdown 
to reverse the actions performed at startup.
 SECTION = base
 PRIORITY = required
-DEPENDS = makedevs
-RDEPENDS_${PN} = makedevs
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=751419260aa954499f7abaabaa882bbe
-PR = r125
+PR = r126
+
+INHIBIT_DEFAULT_DEPS = 1
 
 SRC_URI = file://functions \
file://halt \
-- 
1.7.4.1


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


[OE-core] [PATCH 05/11] base-files: Inherit toolchain dependencies as a compiler isn't used

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/recipes-core/base-files/base-files_3.0.14.bb |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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 4445081..e76fdf6 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
@@ -29,6 +29,8 @@ SRC_URI = file://rotation \
file://licenses/Artistic
 S = ${WORKDIR}
 
+INHIBIT_DEFAULT_DEPS = 1
+
 docdir_append = /${P}
 dirs1777 = /tmp ${localstatedir}/volatile/lock ${localstatedir}/volatile/tmp
 dirs2775 = /home ${prefix}/src ${localstatedir}/local
-- 
1.7.4.1


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


[OE-core] [PATCH 04/11] usbinit: Inherit allarch as its a generic script

2011-06-13 Thread y
From: Richard Purdie richard.pur...@linuxfoundation.org

Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org
---
 meta/recipes-bsp/usbinit/usbinit.bb |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-bsp/usbinit/usbinit.bb 
b/meta/recipes-bsp/usbinit/usbinit.bb
index 834649b..6170362 100644
--- a/meta/recipes-bsp/usbinit/usbinit.bb
+++ b/meta/recipes-bsp/usbinit/usbinit.bb
@@ -14,9 +14,9 @@ do_install() {
 install -d ${D}/etc
 install -d ${D}/etc/init.d
 install usb-gether ${D}/etc/init.d
-}
+}
 
-inherit update-rc.d
+inherit update-rc.d allarch
 
 INITSCRIPT_NAME = usb-gether
 INITSCRIPT_PARAMS = start 99 5 2 . stop 20 0 1 6 .
-- 
1.7.4.1


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