From: Hongxu Jia <hongxu.jia@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 0/2] add perl database support packages
Date: Thu, 8 Aug 2013 17:01:50 +0800 [thread overview]
Message-ID: <cover.1375952210.git.hongxu.jia@windriver.com> (raw)
In oe-core, only SQLite is supported, so we add perl-DBI and perl-DBD-SQLite.
Test Case:
1) vim local.conf:
...
IMAGE_INSTALL_append = " libdbm-sqlite-perl"
PERL_DBM_TEST = "1"
...
2) build core-image-sato and boot the target
3) run "sqlite-perl-test.pl" in target
...
root@qemuarm:~# sqlite-perl-test.pl
Connect to SQLite's in-memory database
Create table tbl1(name varchar(10), id smallint)
Insert into tbl1 values('yocto',10)
Insert into tbl1 values('windriver', 20)
Select * from tbl1
-----------------------------------
yocto: 10
windriver: 20
Update tbl1 set name = 'oe-core' where id = 10
Delete from tbl1 where id = 20
Select * from tbl1
-----------------------------------
oe-core: 10
Test Success
...
//Hongxu
The following changes since commit 9de0ad47462c13ac4a2d73e12e92be6c1b4e0415:
genericx86: ship all the driver firmware by default (2013-07-31 07:00:00 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib hongxu/perl-dbi
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/perl-dbi
Hongxu Jia (2):
libdbi-perl: add version 1.628
libdbm-sqlite-perl: add version 1.40
.../perl/files/sqlite-perl-test.pl | 69 ++++++++++++++++++++++
meta/recipes-extended/perl/libdbi-perl_1.628.bb | 27 +++++++++
.../perl/libdbm-sqlite-perl_1.40.bb | 40 +++++++++++++
3 files changed, 136 insertions(+)
create mode 100755 meta/recipes-extended/perl/files/sqlite-perl-test.pl
create mode 100644 meta/recipes-extended/perl/libdbi-perl_1.628.bb
create mode 100644 meta/recipes-extended/perl/libdbm-sqlite-perl_1.40.bb
--
1.8.1.2
next reply other threads:[~2013-08-08 9:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-08 9:01 Hongxu Jia [this message]
2013-08-08 9:01 ` [PATCH 1/2] libdbi-perl: add version 1.628 Hongxu Jia
2013-08-08 9:01 ` [PATCH 2/2] libdbm-sqlite-perl: add version 1.40 Hongxu Jia
2013-08-08 9:06 ` Olof Johansson
2013-08-08 9:13 ` Hongxu Jia
2013-08-08 9:17 ` Hongxu Jia
2013-08-08 13:06 ` Olof Johansson
2013-08-08 10:43 ` Burton, Ross
2013-08-08 11:06 ` Hongxu Jia
2013-08-08 11:12 ` Burton, Ross
2013-08-08 11:35 ` Hongxu Jia
2013-08-08 13:08 ` Olof Johansson
2013-08-08 13:13 ` Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1375952210.git.hongxu.jia@windriver.com \
--to=hongxu.jia@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.