Commit Graph

675 Commits

Author SHA1 Message Date
Jason Wessel 9f47c0f62e lsof: Fix cross 32 -> 64bit ranlib host contamination problem
When building on a 32bit host OS and building 64 bit binaries,
the cross ar and ranlib must be called, or you get an error
as follows:

   x86_64-wrs-linux-gcc    -m64 --sysroot=/opt/build/tmp/sysroots/qemux86-64 -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o print.o proc.o store.o usage.o util.o -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -L./lib -llsof
   ./lib/liblsof.a: could not read symbols: Archive has no index; run ranlib to add one
   collect2: error: ld returned 1 exit status

(From OE-Core rev: 5c257ee55f9e0dd66fc1bbd6e9c08918e8820178)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-13 11:57:22 +01:00
Mark Hatle 7fe15f02b5 rpm: Bump PR numbers on componets that require RPM
With the recent RPM uprev, libzypp, sat-solver and zypper should be
rebuilt to ensure they get the right BerkleyDB and rpmdb interfaces.

(From OE-Core rev: a57002c854fed27d9c06a360da7133637afec2d6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-12 11:10:35 +01:00
Mark Hatle bc4a29df84 rpm: Upgrade RPM to 5.4.9
Beside upreving RPM, add necessary integration patches to libzypp.

Also change the configuration of RPM to support PACKAGECONFIG flags.
RPM is highly configurable, the default configuration is good for
minimal OE-Core use.

(From OE-Core rev: bf94103d4c532ffdfdcdcc6d27c9f65f7824f8f8)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-12 11:10:35 +01:00
Laurentiu Palcu 7d25922736 ethtool: upgrade to 3.2
Other changes:
	- the HOMEPAGE URL since project hosting chenged to kernel.org;
	- licence MD5 for ethtool.c has changed because a new copyright
	  line from Sun has been added: "Portions Copyright (C) Sun
	  Microsystems 2008"

(From OE-Core rev: ca1400b51bab2451bd6025a7b79ddabb1ac3d295)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11 13:55:01 +01:00
Laurentiu Palcu b2846ba4d3 tzdata: upgrade to 2012c
Other changes:
	- the licence header shifted one line down, hence the start/end lines
	  used to compute the MD5 sum were incremented by 1;

(From OE-Core rev: 2f1daa8e25bfc72d1fd75788a8e70b193accc0cb)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11 13:55:00 +01:00
Jason Wessel 616fab3981 libnewt: Fix cross link using autoconf detected AR
If building on 32bit host and creating 64bit libraries, the target
package builds should not invoke the 32bit hosts's ar.  Specifically
you will get an error message like:

x86_64-linux-gcc    -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -g -o test test.o libnewt.a -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lslang
libnewt.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

(From OE-Core rev: a02878d05e6b57f2455228785ea5f213a62ed976)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11 13:49:52 +01:00
Khem Raj abcc43634a augeas: Fix compilation failure
on uclibc we see this failure
too few arguments to function 'escape'

(From OE-Core rev: 4ea9c79cdcf0ffdc833b7a63e7a2b8388d6bf6e6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11 13:49:52 +01:00
Khem Raj 2215a96717 task-self-hosted.bb,task-core-lsb.bb: Conditionalize pth inclusion
pth is not portable to uclibc therefore we need to exclude it for
uclibc based systems.

(From OE-Core rev: 6482f276533f3a177e07def9d616958d9bbc10c6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11 13:49:52 +01:00
Mark Hatle 3792f77128 shadow-native: Disable nscd support
Disabling nscd support prevents error messages when shadow utilities attempt
to trigger nscd to reload.  This does nothing unless the user is root, and even
if they are root, it's the wrong action to perform when creating a target fs.

(From OE-Core rev: eb6fb917b7a6745b296c8ae0a5bf66f498bf3576)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08 11:43:20 +01:00
Song.Li d56659e0a3 groff: Fix build on Fedora 17
Generally distros keep perl at /usr/bin/perl
But Fedora 17 also has /bin/perl,
this causes groff_1.20.1 build to put perl
interpreter path as /bin/perl
But we set perl location for target as /usr/bin/perl

This mismatch of perl path causes failure of rootfs image creation
like this:

| error: Failed dependencies:
|       bin/perl is needed by groff-1.20.1-r1.ppc603e

(From OE-Core rev: 79fc557683d4eeadaebeb00dfba53762956e4910)

Signed-off-by: Song.Li <song.li@windriver.com>

Sync up with the do_install_append_virtclass-native chunk.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08 11:43:20 +01:00
Christopher Larson 61e06d3464 task-core-basic: drop portmap
Both rpcbind and portmap are RPC port mappers. Having both is redundant. Chose
rpcbind over portmap as rpcbind supports ipv6, nfs4, and builds without the
glibc rpc headers, which have been obsoleted in glibc 2.14.

(From OE-Core rev: f63add40c6bdfb3a19e59ac28f7d2ae5597f5bfd)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08 11:43:19 +01:00
Christopher Larson f822034e4f rpcbind: add and use startup script, move binaries
- Add init script from debian, tweaked for us
- Move binaries from bindir to sbindir, as debian does

(From OE-Core rev: 8576575ce9a1be8f7bec4e7c018d9be5c3b247df)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08 11:43:18 +01:00
Cristian Iorga df8f55a919 ltp: Add patch to correct failing build
ltp makefile does not interpret correctly the result of git describe
command and assumes that it is working with a git repo, while in fact
working with a source code archive.
Added a patch to corect makefile system.

(From OE-Core rev: 13e52fafae0fb06b26d179a5cac6898babbadc51)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05 23:05:00 +01:00
Elizabeth Flanagan ae6d342b8d lsbinitscripts: Missing popt DEPENDS
Missing DEPENDS causes build to fail.

(From OE-Core rev: 44634755289ef6f10da5bdd46d45a2ef18626f20)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05 23:05:00 +01:00
Xiaofeng Yan 9205cba286 task-core-lsb: Add another initscripts to an lsb image
Initscripts with stronger functions will replace the simple one,
which will avoid error when some packages need functions which could
be absent in the simple initscripts.

[YOCTO #2133]

(From OE-Core rev: b0d45a7bca3e448ceb4802540d42972a625997f8)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05 22:56:31 +01:00
Xiaofeng Yan 6e416742ff lsbinitscripts: Patch file functions for confirming to an lsb image
Add the condition judgment to functions for avoiding to print error
information when system start up at first.

[YOCTO #2133]

(From OE-Core rev: 4b829c42ffaa878537fa2005e4d80324515a5ba8)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05 22:56:31 +01:00
Xiaofeng Yan d32f9004f8 lsbinitscripts: Add initscripts to enhance init functions in an lsb image
The version of initscripts has more functions than the simple.
There could be some errors for current initscripts when running
some programe because of absent some functions provided by initscripts.

[YOCTO #2133]

(From OE-Core rev: ca60a9092e4131d7029c77f2ed7842eea928abe5)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05 22:56:31 +01:00
Richard Purdie 2f0303eefd bash: Update to new update-alternatives syntax
(From OE-Core rev: 6176dbd6ee770c0c2849f53b213866b61ac29ff1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 17:32:32 +01:00
Richard Purdie 9bab122135 bzip2: Update to new update-alternatives syntax
(From OE-Core rev: 75cd7692c97b07e05f304893995231e2d3390f8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 17:32:32 +01:00
Valentin Popa b3e9a99076 xz: updated to version 5.1.1alpha
The licenses are the same, only some white spaces added/removed.

(From OE-Core rev: da98266f3a228cf65f279db9810a5326c8bd5422)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:48 +01:00
Radu Moisan 0fd6a47ddf foomatic-filters: update to version 4.0.15
(From OE-Core rev: 8bfec8bf80b111174e4a6cf01db019b38638b31a)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:48 +01:00
Radu Moisan e95e077789 man-pages: update to version 3.41
(From OE-Core rev: b48cd36fd40d6784e203b3bac85b63643813a6db)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:47 +01:00
Robert Yang e40995e569 meta: replace os.system with subprocess.call
Replace os.system with subprocess.call since the older function would
fail (more or less) silently if the executed program cannot be found

More info:
http://docs.python.org/library/subprocess.html#subprocess-replacements

[YOCTO #2454]

(From OE-Core rev: a07d03cc6f67c88feb9813ae7deb6e4a93552dfe)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:45 +01:00
Mark Hatle e4c35790d6 shadow-utils-native: remove unnecessary alternatives
(From OE-Core rev: b1ea93143a473f006b31ab22f88baf41661971a7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:44 +01:00
Mark Hatle c17ae6f07b sysklogd: use new update-alternatives
(From OE-Core rev: c32dca4013d851aeb9d661a25cab81daf213121f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:44 +01:00
Mark Hatle 5cbc48638e psmisc: use new update-alternatives
(From OE-Core rev: 867864451baa875f48d87f4b8dbce80a90038243)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:44 +01:00
Mark Hatle ddcf94ecd9 iputils: use new update-alternatives
(From OE-Core rev: dbd81c151305faf20f8e9e6f1a588d6ce4cfd49b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:44 +01:00
Mark Hatle 0b5c423475 grep: use new update-alternatives
(From OE-Core rev: ca478f563575ff2262741821ec35d4dfbf9f4487)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:43 +01:00
Mark Hatle 2851d751a8 cpio: use new update-alternatives
(From OE-Core rev: 6dee3050a4a0c4f3cc9fec23a0bc02155d680863)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:43 +01:00
Mark Hatle 6d76d521a1 tar: use new update-alternatives
(From OE-Core rev: ed48d4b382dae08ac47bccdcb98b1e87dc6449cc)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:42 +01:00
Mark Hatle 4547096a41 less: use BPN for alternatives
(From OE-Core rev: 3361ebfd61dc0d5914a506b1a06b92bd80734114)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:39 +01:00
Mark Hatle 78186993e0 mktemp: use BPN for alternatives
(From OE-Core rev: c1285844b9a46221c8e0b24ef29642bec312035b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:39 +01:00
Mark Hatle 1a6f679d1b sed: use BPN for alternatives
(From OE-Core rev: cd059cb57efa2aad332ef2fc7f1f411afce82b73)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:39 +01:00
Mark Hatle 079f2fb981 shadow: use BPN for alternatives
(From OE-Core rev: 87d43530b434e5be139b845d6b96bbf2d885867d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:38 +01:00
Mark Hatle ae68cb6b00 time: use BPN for alternatives
(From OE-Core rev: 0a621679772d7996c6342ad1e99de484082d9987)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:38 +01:00
Mark Hatle 1fa4e0554c wget: use BPN for alternatives
(From OE-Core rev: 7e5c325df40012cf21cbbf9a38f4d476f62d7100)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:38 +01:00
Mark Hatle 4966bc5809 which: use BPN for alternatives
(From OE-Core rev: 3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30 12:04:38 +01:00
Saul Wold 54cdbe67ef ltp: Add attr to DEPENDS list
(From OE-Core rev: a6d6432b508451d0847336dc980bc0541396e310)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:18:04 +01:00
Nitin A Kamble e9e25428d4 findutils-4.2.31: fix build with automake 1.12
(From OE-Core rev: d91b315f602d60705e79381807810e20dd9bdc8d)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:18:02 +01:00
Nitin A Kamble dfbeec647d gawk-3.1.5: fix build with automake 1.12
(From OE-Core rev: 013e837f96ea9d9daf53c497a965a021e686ba37)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:18:02 +01:00
Nitin A Kamble 58954a155e grep-2.5.1a: fix build with automake 1.12
(From OE-Core rev: addd517f17c4595fe03d9d5f0ad1d7daf86a3f39)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:18:02 +01:00
Nitin A Kamble 8939db4709 diffutils-2.8.1: fix build with automake 1.12
(From OE-Core rev: 60095f21a401aa2e9cf9841134680e1c427b4df6)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:18:01 +01:00
Nitin A Kamble 55e24a4151 lighttpd: fix build with automake 1.12
(From OE-Core rev: 7d0a1dd058ecf14e11e6d6e58ff156b9c6b43218)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:18:00 +01:00
Nitin A Kamble 244417def8 minicom: fix build with automake 1.12
(From OE-Core rev: 8046c8285152e854e3d4fc47199bb65dbca8002e)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:17:59 +01:00
Nitin A Kamble 133bff2ac2 findutils: fix build with automake 1.12
(From OE-Core rev: 872632691f15656f666d52a568fba443061693c0)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:17:59 +01:00
Nitin A Kamble 625d9745b9 libidn: fix build with automake 1.12
(From OE-Core rev: 45a57de50e14e42d202aef02030751b013f9eeb3)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:17:58 +01:00
Nitin A Kamble 8d63ffe927 texinfo: fix build with automake 1.12
(From OE-Core rev: 64789e3d444df7f2fb8206d73427b27bdc7bae25)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:17:58 +01:00
Nitin A Kamble 0d4d9bd61b shadow shadow-native: fix build with automake 1.12
(From OE-Core rev: dec7696b737e5921fcac0dbb346851e31a81537b)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:17:57 +01:00
Jiajun Xu cfc882e2db ltp: Upgrade LTP to version 20120401
(From OE-Core rev: bbb9f831dbfcedf799021f2b0a1dd7aef3c0f928)

Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:17:55 +01:00
Mihai Lindner 7f3ac86f99 sudo: fixed wrong `chmod` path
Placed $D between braces ${D} to be correctly expanded to the
workdir path, instead of a path relative to host rootfs.
Currently, bitbake sudo fails on host systems where sudo is not
installed.

(From OE-Core rev: 70562306a051ac93001851213441c9d5d6234517)

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:17:53 +01:00