Re: [oe] [meta-oe][PATCH] lio-utils: initial add 4.1
-Original Message- From: openembedded-devel-boun...@lists.openembedded.org [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Martin Jansa Sent: Friday, March 22, 2013 5:25 PM To: openembedded-devel@lists.openembedded.org Subject: Re: [oe] [meta-oe][PATCH] lio-utils: initial add 4.1 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! Not see it on the git tree yet :-) 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 ___ 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
Hi David, do you use the file name task-arago.xyz.bb for the task called task-arago-xyz? They don't match, just curious for me, and it explains your progress: 2013/3/23 David Hirst hirst...@gmail.com: OK, now I have some progress, what I have done is to drop the task and call pure-ftpd directly from tisdk-rootfs-image Regards, -- Takeshi Hamasaki 2013/3/23 David Hirst hirst...@gmail.com: 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 :-(
Re: [oe] [2011.03-maintenance][PATCH v5 0/2] Pull request 20130314
On Fri, Mar 22, 2013 at 11:14:14PM +0100, Apelete Seketeli wrote: 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 ? Applied to 2011.03-maintenance, thanks for your patience! -- Tom 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] ATNGW100
Hey all, I am pretty new to OE, and having followed some scattered instructions on building the ATNGW100 I have been unsuccessful with the new OE core. My local.conf includes the directives: TARGET_OS = linux-uclibc MACHINE = atngw100#8243; DISTRO = angstrom-2008.1#8243; ANGSTROMLIBC = uclibc Which it complains that angstrom-2008.1 cannot be found as a distro. Is this a case that I can just pull the configs from the OE-classic repo over or is there a guide somewhere that I can't find in YOCTO that describes how I can move the ATNGW100 build over to the new OE-core? Thanks in advance, JMS ___ 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
Le 24-Mar-13, Tom Rini a écrit: On Fri, Mar 22, 2013 at 11:14:14PM +0100, Apelete Seketeli wrote: 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 ? Applied to 2011.03-maintenance, thanks for your patience! Thanks for applying it, and thanks to everyone who helped me fix the patches. Cheers. -- Apelete ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] ATNGW100
Hi Justin, according to the DISTRO name, you have to specify something exists in source/meta-angstrom/conf/distro/ directory. I guess you can find angstrom-v2012.05.conf or something there. Thus DISTRO=angstrom-v2012.05 helps you to walk one step forward. -- Takeshi Hamasaki 2013/3/25 Justin Seitz j...@bughunter.ca: Hey all, I am pretty new to OE, and having followed some scattered instructions on building the ATNGW100 I have been unsuccessful with the new OE core. My local.conf includes the directives: TARGET_OS = “linux-uclibc” MACHINE = “atngw100#8243; DISTRO = “angstrom-2008.1#8243; ANGSTROMLIBC = “uclibc” Which it complains that angstrom-2008.1 cannot be found as a distro. Is this a case that I can just pull the configs from the OE-classic repo over or is there a guide somewhere that I can't find in YOCTO that describes how I can move the ATNGW100 build over to the new OE-core? Thanks in advance, JMS ___ 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] ATNGW100
On Mar 24, 2013, at 11:42 AM, Justin Seitz j...@bughunter.ca wrote: Hey all, I am pretty new to OE, and having followed some scattered instructions on building the ATNGW100 I have been unsuccessful with the new OE core. My local.conf includes the directives: TARGET_OS = “linux-uclibc” MACHINE = “atngw100#8243; DISTRO = “angstrom-2008.1#8243; ANGSTROMLIBC = “uclibc” Which it complains that angstrom-2008.1 cannot be found as a distro. Is this a case that I can just pull the configs from the OE-classic repo over or is there a guide somewhere that I can't find in YOCTO that describes how I can move the ATNGW100 build over to the new OE-core? this question belongs to angstrom distro ml. I will answer is here however. You should be able to checkout 2011.03 maintenance branch of oe.classic and use that one for the above machine and distro policies. No one has yet forward ported the avr32 support into latest angstrom. Thanks in advance, JMS ___ 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