Re: [oe] opkg : angstrom fails console-image build
I've made a completely clean build last night and it breaks at the same problem. You have an 'opkg' package and an 'opkg-nogpg-nocurl' package. As far as I can tell, if you had built from a clean dev tree then there would be no 'opkg' package. Angstrom currently uses opkg-nogpg-nocurl, so that is the only package you should have. This indicates that you have a non clean dev tree, or have had a non clean dev tree in the past. If you've done a build in the past with patches applied, then you've reverted the patches, you probably need to remove your temp dir and start the build again. -Graham ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] opkg : angstrom fails console-image build
On 22 July 2010 15:47, Jaap de Jong jaap.dej...@nedap.com wrote: I've made a completely clean build last night and it breaks at the same problem. Koen bumped the opkg SRCREV a couple of days ago. One of the recent opkg changes was to return an error in some erroneous cases which were incorrectly ignored previously (check_data_file_clashes errors are one of these cases). Its possible that this problem was there beforehand and its only now being caught because of less dumb error checking. Sorry, I don't know what is causing the issue - you probably need to look at the dependency graph to see why both opkg and opkg-nogpg-nocurl packages are being built and installed. -Graham ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 01/21] ant: backport from openembedded-dev
On Wed, Jul 21, 2010 at 04:06:52PM +0200, hein...@inf.fu-berlin.de wrote: From: Henning Heinold h.hein...@tarent.de --- conf/checksums.ini |4 ++ recipes/ant/ant-native_1.7.1.bb | 64 +++ recipes/ant/files/ant | 10 ++ 3 files changed, 78 insertions(+), 0 deletions(-) create mode 100644 recipes/ant/ant-native_1.7.1.bb create mode 100755 recipes/ant/files/ant diff --git a/conf/checksums.ini b/conf/checksums.ini index 909ade7..2c18f2e 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -1622,6 +1622,10 @@ sha256=4dc49a7260ef90a6dc6611b7e96b9f047d507589736d4a2ad6efbe3edfc6fba6 md5=2a44ff60456cf67bb83771cfcedb8e33 sha256=1a2fceea38f04e6fea0c0cb8ad7312dc948004af4d9308b5e630d299d89dfb38 +[http://archive.apache.org/dist/ant/source/apache-ant-1.7.1-src.tar.gz] +md5=2a44ff60456cf67bb83771cfcedb8e33 +sha256=1a2fceea38f04e6fea0c0cb8ad7312dc948004af4d9308b5e630d299d89dfb38 + [http://archive.apache.org/dist/logging/log4j/1.2.15/apache-log4j-1.2.15.tar.gz] md5=10f04abe4d68d5a89e8eb167e4e45e1a sha256=f5d9f6aa78b9156ae2de2a32d0f26507d2e73db4993d501db2e79f0bd803ab31 [snip] I may be wrong, but per http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-April/019112.html I have always thought that checksums.ini was to be removed and that new checksums are to be added to the .bb files. Apart from that, nice job on the patchset. ;-) Marc 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] opkg : angstrom fails console-image build
On 22 July 2010 16:41, Graham Gower graham.go...@gmail.com wrote: On 22 July 2010 15:47, Jaap de Jong jaap.dej...@nedap.com wrote: I've made a completely clean build last night and it breaks at the same problem. Koen bumped the opkg SRCREV a couple of days ago. One of the recent opkg changes was to return an error in some erroneous cases which were incorrectly ignored previously (check_data_file_clashes errors are one of these cases). Its possible that this problem was there beforehand and its only now being caught because of less dumb error checking. Sorry, I don't know what is causing the issue - you probably need to look at the dependency graph to see why both opkg and opkg-nogpg-nocurl packages are being built and installed. -Graham PS: pushing my opkg cleanup patch would probably fix this with no further need to investigate... ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 01/21] ant: backport from openembedded-dev
On Thu, Jul 22, 2010 at 09:18:39AM +0200, Marc Olzheim wrote: I may be wrong, but per http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-April/019112.html I have always thought that checksums.ini was to be removed and that new checksums are to be added to the .bb files. Apart from that, nice job on the patchset. ;-) Marc Hi, please read the cover-letter, this patchset is against oe-stable(stable/2009), which still has checksum.ini. Bye Henning ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 0/4][RFC] Remove CROSS_DIR, install cross-packages into native sysroot
On Wed, 2010-07-21 at 11:04 -0700, Khem Raj wrote: The following 4 patches are based on Jushua's work in poky to get rid of cross dir and install the toolchain in native sysroot. I have done native-sdk-builds for uclibc and eglibc. It could build the images and the images booted fine in qemu on mips and arm. I would appreciate if someone could lend a hand in testing these patches And as we have changed tmpdir layout with this patch I have also bumped ABI which means tmp has to be nuked before you try these patches. Please review/ack/nack Thanks for looking at this, its something I've wanted to get to for a while but haven't managed so far. Consider this an ack from me! Cheers, Richard ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 16/21] fastjar: backport 0.98 version from openembedded-dev
Hello. On Wed, 2010-07-21 at 16:07, hein...@inf.fu-berlin.de wrote: From: Henning Heinold h.hein...@tarent.de --- conf/checksums.ini |4 + recipes/fastjar/fastjar-native.inc | 18 + recipes/fastjar/fastjar-native_0.98.bb |4 + recipes/fastjar/fastjar.inc| 18 + recipes/fastjar/fastjar_0.98.bb|1 + recipes/fastjar/files/jartool.patch| 112 I was going to test the whole patchset on stable. (The last two patches replaced with the updates versions posted). I'm running into a problem where the patching of jartool.patch fails though. This is on planin stable/2009 without any overlay. NOTE: Running task 88 of 147 (ID: 13, /home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb, do_distribute_sources) ERROR: Error in executing: /home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb ERROR: Exception:class 'CmdError' Message:Command Error: exit status: 1 Output: Applying patch jartool.patch patching file jartool.c Hunk #4 FAILED at 1749. Hunk #5 succeeded at 1779 with fuzz 1. Hunk #6 succeeded at 1796 with fuzz 1. 1 out of 8 hunks FAILED -- rejects in file jartool.c Patch jartool.patch does not apply (enforce with -f) ERROR: Printing the environment of the function ERROR: Error in executing: /home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb ERROR: Exception:class 'CmdError' Message:Command Error: exit status: 1 Output: Applying patch jartool.patch patching file jartool.c Hunk #4 FAILED at 1749. Hunk #5 succeeded at 1779 with fuzz 1. Hunk #6 succeeded at 1796 with fuzz 1. 1 out of 8 hunks FAILED -- rejects in file jartool.c Patch jartool.patch does not apply (enforce with -f) ERROR: Printing the environment of the function ERROR: Error in executing: /home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb ERROR: Exception:class 'CmdError' Message:Command Error: exit status: 1 Output: Applying patch jartool.patch patching file jartool.c Hunk #4 FAILED at 1749. Hunk #5 succeeded at 1779 with fuzz 1. Hunk #6 succeeded at 1796 with fuzz 1. 1 out of 8 hunks FAILED -- rejects in file jartool.c Patch jartool.patch does not apply (enforce with -f) ERROR: Printing the environment of the function ERROR: Build of /home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb do_patch failed Traceback (most recent call last): File /home/stefan/openjdk-stable-test/oe/bitbake/bin/bitbake, line 143, in module main() File /home/stefan/openjdk-stable-test/oe/bitbake/bin/bitbake, line 140, in main cooker.cook() File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/cooker.py, line 643, in cook return self.buildTargets(pkgs_to_build) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/cooker.py, line 550, in buildTargets failures = rq.execute_runqueue() File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/runqueue.py, line 841, in execute_runqueue self.execute_runqueue_internal() File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/runqueue.py, line 950, in execute_runqueue_internal self.cooker.tryBuild(fn) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/cooker.py, line 136, in tryBuild return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/cooker.py, line 110, in tryBuildPackage bb.build.exec_task('do_%s' % task, the_data) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py, line 278, in exec_task exec_func(task, localdata) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py, line 113, in exec_func exec_func_python(func, d) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py, line 136, in exec_func_python utils.better_exec(comp, g, tmp, bbfile) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/utils.py, line 171, in better_exec exec code in context File do_patch, line 4, in module File do_patch, line 2, in do_patch File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py, line 113, in exec_func exec_func_python(func, d) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py, line 136, in exec_func_python utils.better_exec(comp, g, tmp, bbfile) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/utils.py, line 171, in better_exec exec code in context File base_do_patch, line 4, in module File base_do_patch, line 2, in base_do_patch File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py, line 113, in exec_func exec_func_python(func, d) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py, line 136, in exec_func_python utils.better_exec(comp, g, tmp, bbfile) File /home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/utils.py, line 171, in better_exec exec code in context File patch_do_patch, line 100, in module File patch_do_patch,
Re: [oe] opkg : angstrom fails console-image build
On Thu, Jul 22, 2010 at 04:56:07PM +0930, Graham Gower wrote: On 22 July 2010 16:41, Graham Gower graham.go...@gmail.com wrote: On 22 July 2010 15:47, Jaap de Jong jaap.dej...@nedap.com wrote: I've made a completely clean build last night and it breaks at the same problem. Koen bumped the opkg SRCREV a couple of days ago. One of the recent opkg changes was to return an error in some erroneous cases which were incorrectly ignored previously (check_data_file_clashes errors are one of these cases). Its possible that this problem was there beforehand and its only now being caught because of less dumb error checking. Sorry, I don't know what is causing the issue - you probably need to look at the dependency graph to see why both opkg and opkg-nogpg-nocurl packages are being built and installed. -Graham PS: pushing my opkg cleanup patch would probably fix this with no further need to investigate... I have your patch in my local branch and it's not enough (one has to remove already staged opkg-nogpg(-nocurl) first). Regards, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] RFC: make all angstrom java related setting overridable from local.conf
Hi, atm angstrom does not allow me to override versions for the Java recipes in local.conf. With the attached that is being made possible. Ok, for .dev? Regards, Robert diff --git a/conf/distro/include/angstrom-jalimo.conf b/conf/distro/include/angstrom-jalimo.conf index 2aed63b..06698c0 100644 --- a/conf/distro/include/angstrom-jalimo.conf +++ b/conf/distro/include/angstrom-jalimo.conf @@ -1,32 +1,32 @@ # Put a 'require conf/distro/include/angstrom-jalimo.conf' in your local.conf if you want to build from the jalimo overlay # initial stuff -PREFERRED_VERSION_jamvm-initial = 1.4.5 -PREFERRED_VERSION_classpath-initial = 0.93 +PREFERRED_VERSION_jamvm-initial ?= 1.4.5 +PREFERRED_VERSION_classpath-initial ?= 0.93 # Native VM -PREFERRED_PROVIDER_virtual/java-native = jamvm-native -PREFERRED_VERSION_jamvm-native = 1.5.3 -#PREFERRED_VERSION_cacao-native = 0.99.3 -PREFERRED_VERSION_classpath-native = 0.98 +PREFERRED_PROVIDER_virtual/java-native ?= jamvm-native +PREFERRED_VERSION_jamvm-native ?= 1.5.3 +#PREFERRED_VERSION_cacao-native ?= 0.99.3 +PREFERRED_VERSION_classpath-native ?= 0.98 # Native compiler settings -PREFERRED_PROVIDER_virtual/javac-native = ecj-bootstrap-native -PREFERRED_VERSION_libecj-bootstrap = 3.6 +PREFERRED_PROVIDER_virtual/javac-native ?= ecj-bootstrap-native +PREFERRED_VERSION_libecj-bootstrap ?= 3.6 # Target VM -PREFERRED_VERSION_cacao = 0.99.3 -PREFERRED_VERSION_cacaoh-native = 0.99.3 +PREFERRED_VERSION_cacao ?= 0.99.3 +PREFERRED_VERSION_cacaoh-native ?= 0.99.3 -PREFERRED_VERSION_jamvm = 1.5.2 -PREFERRED_PROVIDER_swt3.4-gtk = swt3.4-gtk -PREFERRED_PROVIDER_classpath = classpath +PREFERRED_VERSION_jamvm ?= 1.5.2 +PREFERRED_PROVIDER_swt3.4-gtk ?= swt3.4-gtk +PREFERRED_PROVIDER_classpath ?= classpath -PREFERRED_VERSION_openjdk-6-jre = 6b18-1.8 -PREFERRED_VERSION_icedtea6-native = 1.7.3 +PREFERRED_VERSION_openjdk-6-jre ?= 6b18-1.8 +PREFERRED_VERSION_icedtea6-native ?= 1.7.3 # Stage JAR files not into ARCH related dirs -STAGING_DIR_JAVA = ${STAGING_DIR}/java +STAGING_DIR_JAVA ?= ${STAGING_DIR}/java STAGING_DATADIR_JAVA ?= ${STAGING_DIR_JAVA} signature.asc Description: OpenPGP digital signature ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] RFC: make all angstrom java related setting overridable from local.conf
On Thu, 2010-07-22 at 12:18 +0200, Robert Schuster wrote: atm angstrom does not allow me to override versions for the Java recipes in local.conf. With the attached that is being made possible. Can you not override them as: PREFERRED_VERSION_cacao_local = 0.99.4 already? If that's not working then it sounds like there is a bug elsewhere. Adding these weak assignments ought not to be necessary. p. ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 16/21] fastjar: backport 0.98 version from openembedded-dev
Hi, sorry I have no problem with the patch. I donwloaded the Email, did git-am on the stable branch and bitbake -c patch fastjar-native That worked here. Bye Henning ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 0/4][RFC] Remove CROSS_DIR, install cross-packages into native sysroot
On Thu, Jul 22, 2010 at 1:27 AM, Richard Purdie rpur...@rpsys.net wrote: On Wed, 2010-07-21 at 11:04 -0700, Khem Raj wrote: The following 4 patches are based on Jushua's work in poky to get rid of cross dir and install the toolchain in native sysroot. I have done native-sdk-builds for uclibc and eglibc. It could build the images and the images booted fine in qemu on mips and arm. I would appreciate if someone could lend a hand in testing these patches And as we have changed tmpdir layout with this patch I have also bumped ABI which means tmp has to be nuked before you try these patches. Please review/ack/nack Thanks for looking at this, its something I've wanted to get to for a while but haven't managed so far. Consider this an ack from me! Ack from me too, test builds work fine, this is a lovely change we've been wanting to see for a while now, nicely done pulling it over from the poky bits. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 0/4][RFC] Remove CROSS_DIR, install cross-packages into native sysroot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21-07-10 20:04, Khem Raj wrote: Hi The following 4 patches are based on Jushua's work in poky to get rid of cross dir and install the toolchain in native sysroot. I have done native-sdk-builds for uclibc and eglibc. It could build the images and the images booted fine in qemu on mips and arm. I would appreciate if someone could lend a hand in testing these patches And as we have changed tmpdir layout with this patch I have also bumped ABI which means tmp has to be nuked before you try these patches. Please review/ack/nack A quick test didn't show big problems (or little ones), so: Acked-by: Koen Kooi k...@openembedded.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFMSFuiMkyGM64RGpERAglXAJ9yESk18e5PmHNlo5QgxlZp2fzBQQCfYuZq LC5ebMKzuLJeJAmqES18Pt8= =U2q8 -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] Introduce maxima recipe
Hello. I was a bit surprised that maxima was missing in OE. Because debian, maemo, and even windows have already maxima available. So I decided to make an initial try for building it. Could you please review it? thx and best regards leviathan --- recipes/maxima/maxima_5.21.1.bb | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 recipes/maxima/maxima_5.21.1.bb diff --git a/recipes/maxima/maxima_5.21.1.bb b/recipes/maxima/maxima_5.21.1.bb new file mode 100644 index 000..2cf42c8 --- /dev/null +++ b/recipes/maxima/maxima_5.21.1.bb @@ -0,0 +1,26 @@ +DESCRIPTION=Free computer algebra environment based on Macsyma +HOMEPAGE=http://maxima.sourceforge.net/; +SRC_URI=http://www.sfr-fresh.com/unix/misc/maxima-5.21.1.tar.gz; + +LICENSE=GPL-2 +S = ${WORKDIR}/maxima-${PV} + +do_configure () { +./configure +} + +do_install () { +oe_runmake DESTDIR=${D} install +} + +SRC_URI[md5sum] = e08ed533f3059cec52788ef35198bdcc +SRC_URI[sha256sum] = 1dae887e1787871437d699a6b1acc1c1f7428729487492a07c6a31e26bf53a1b + +FILES_${PN} += /usr/local/bin/* +FILES_${PN} += /usr/local/share/* +FILES_${PN} += /usr/local/lib/* +FILES_${PN} += /usr/local/libexec/* + +FILES_${PN}-doc += /usr/local/info/* +FILES_${PN}-doc += /usr/local/man/* + -- 1.6.4.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] gcc/gettext isssue ?
When building gcc I get: NOTE: Gettext required but not in DEPENDS for file /home/frans/oe/tmp_angstrom/work/nios2-linux/gcc-cross-4.1.2-r23.1/gcc-4.1.2/intl/ configure.ac. Missing inherit gettext? but gcc-common.inc (which is included indirectly from every gcc recipe) says: gcc-common.inc:inherit autotools gettext What is wrong here? How can I resolve this? Frans ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] gcc/gettext isssue ?
I notice that for a bunch of recipes that build in my image. and its always a gettext error like that but it doesnt stop the build On Thu, Jul 22, 2010 at 1:41 PM, Frans Meulenbroeks fransmeulenbro...@gmail.com wrote: When building gcc I get: NOTE: Gettext required but not in DEPENDS for file /home/frans/oe/tmp_angstrom/work/nios2-linux/gcc-cross-4.1.2-r23.1/gcc-4.1.2/intl/ configure.ac. Missing inherit gettext? but gcc-common.inc (which is included indirectly from every gcc recipe) says: gcc-common.inc:inherit autotools gettext What is wrong here? How can I resolve this? Frans ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] Fwd: [Angstrom-devel] [PATCH 3/3] udev: fix multiple mounting of /dev, increment PR
udev: Fix possible multiple mounting of /dev, increment PR. Tested on c7x0 with kernel 2.6.26. Acked-by: Andrea Adami andrea.ad...@gmail.com ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] Is it possible to have variables that contain line breaks for module_conf
I am trying to have a variable that contains a line break in it. When I use '\n' it seems to just print out the literal characters '\' 'n' and not a line break. The context for this is I want to create a module_conf for my device that contains more than one line in it. In my machine.conf file I have something like module_conf_testa = install testa /sbin/modprobe --ignore-install testa force_testa=0,0x74; \ echo 1 /sys/devices/plb.0/.../item1; \ echo 2 /sys/devices/plb.0/.../item2 \ \ \n\nremove testa /sbin/modprobe -r --ignore-remove testa But when I look at the result /etc/modprobe.d/testa file there is only 1 line with explicit '\' 'n' characters. Is there some syntax I can use to make these appear on seperate lines? Thanks Ron ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] Is it possible to have variables that contain line breaks for module_conf
The only way today is to leverage the function syntax. A function in a recipe is just a multi-line variable with a flag (func) set. On Thu, Jul 22, 2010 at 3:51 PM, Ron Zachariah ron_z...@yahoo.com wrote: I am trying to have a variable that contains a line break in it. When I use '\n' it seems to just print out the literal characters '\' 'n' and not a line break. The context for this is I want to create a module_conf for my device that contains more than one line in it. In my machine.conf file I have something like module_conf_testa = install testa /sbin/modprobe --ignore-install testa force_testa=0,0x74; \ echo 1 /sys/devices/plb.0/.../item1; \ echo 2 /sys/devices/plb.0/.../item2 \ \ \n\nremove testa /sbin/modprobe -r --ignore-remove testa But when I look at the result /etc/modprobe.d/testa file there is only 1 line with explicit '\' 'n' characters. Is there some syntax I can use to make these appear on seperate lines? Thanks Ron ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [PATCH] Adding maxima recipe (tool for algebraic calculation)
JaMa leviathan: and send PATCHv2 to ML if it builds for you correct .ipk I'll push it imediately leviat...@dizzy-6 /mnt/sdb/build_gta02 $ ls tmp/deploy/ipk/armv4t/maxima* tmp/deploy/ipk/armv4t/maxima_5.21.1-r0.5_armv4t.ipk tmp/deploy/ipk/armv4t/maxima-dbg_5.21.1-r0.5_armv4t.ipk tmp/deploy/ipk/armv4t/maxima-dev_5.21.1-r0.5_armv4t.ipk tmp/deploy/ipk/armv4t/maxima-doc_5.21.1-r0.5_armv4t.ipk @JaMa: The content of the ipkgs is ok. ready to push? best regards leviathan --- recipes/maxima/maxima_5.21.1.bb |9 + 1 files changed, 9 insertions(+), 0 deletions(-) create mode 100644 recipes/maxima/maxima_5.21.1.bb diff --git a/recipes/maxima/maxima_5.21.1.bb b/recipes/maxima/maxima_5.21.1.bb new file mode 100644 index 000..ae89bea --- /dev/null +++ b/recipes/maxima/maxima_5.21.1.bb @@ -0,0 +1,9 @@ +DESCRIPTION=Free computer algebra environment based on Macsyma +HOMEPAGE=http://maxima.sourceforge.net/; +SRC_URI=http://www.sfr-fresh.com/unix/misc/${P}.tar.gz; +LICENSE=GPLv2 + +inherit autotools + +SRC_URI[md5sum] = e08ed533f3059cec52788ef35198bdcc +SRC_URI[sha256sum] = 1dae887e1787871437d699a6b1acc1c1f7428729487492a07c6a31e26bf53a1b -- 1.6.4.4 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel