Re: [ptxdist] [PATCH 1/7] build images from ipkg repository

2011-04-28 Thread Michael Olbrich
On Tue, Apr 26, 2011 at 10:29:18AM -0500, George McCollister wrote: I'm making changes to the patches but I'm not going to re-post any of them until I've had a chance to go through and reply to comments on all of the patches and make necessary changes. Comments below. On 04/26/2011 06:08

Re: [ptxdist] [PATCH 5/7] host-openssl: added for ipkg-repository signing

2011-04-28 Thread Michael Olbrich
On Wed, Apr 27, 2011 at 08:16:48AM -0500, George McCollister wrote: [...] + +# +# autoconf +# +HOST_OPENSSL_CONF_OPT := \ + --prefix=/ \ + --install_prefix=$(HOST_OPENSSL_PKGDIR) + Please add a comment here, why config is used instead of Configure. This is the comment I've added.

Re: [ptxdist] [PATCH 6/7] Added option to sign ipkg-repository

2011-04-28 Thread Michael Olbrich
On Wed, Apr 27, 2011 at 08:35:24AM -0500, George McCollister wrote: On 04/26/2011 07:03 AM, Michael Olbrich wrote: On Mon, Apr 25, 2011 at 01:14:22PM -0500, George McCollister wrote: [...] +config IMAGE_IPKG_SIGN_OPENSSL_SIGNER + string + default + prompt signer certificate file +

[ptxdist] [PATCH] wpa_supplicant version bump to 0.7.3

2011-04-28 Thread Daniel Kriesten
From: Daniel Kriesten k...@tu-chemnitz.eu This adds support for the nl80211 driver, the wired driver and the roboswitch driver. The wired and the roboswitch driver are untested and therefore marked as broken. The nl80211 driver ist tested aon an i686 using a rtl8180 card. Signed-off-by: Daniel

Re: [ptxdist] [PATCH] wpa_supplicant version bump to 0.7.3

2011-04-28 Thread Michael Olbrich
On Wed, Apr 27, 2011 at 03:32:02PM +0200, Daniel Kriesten wrote: From: Daniel Kriesten k...@tu-chemnitz.eu This adds support for the nl80211 driver, the wired driver and the roboswitch driver. The wired and the roboswitch driver are untested and therefore marked as broken. The nl80211 driver

Re: [ptxdist] [libnl] Problems with version 1.1, version bump

2011-04-28 Thread Michael Olbrich
On Wed, Apr 27, 2011 at 03:43:11PM +0200, Marius Brehler wrote: I have upgraded our build server from Debian Lenny to Squeeze, the Toolchain from 1.99.3 to 2011.03.0 (including the changes of mkl/OSELAS.Toolchain.git) and PTXdist from 2011.01.0 to 2011.04.1. Since then libnl does not build

Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain(): new AVR configuration V2

2011-04-28 Thread Michael Olbrich
Hi, On Wed, Apr 27, 2011 at 09:51:30PM +0200, Stephan Linz wrote: Referring to the last discussion about canonical patch format (http://www.mail-archive.com/ptxdist@pengutronix.de/msg04167.html) I want to recommit the new configuration and patch sets for binutils-2.20.1 and gcc-4.4.3 from

Re: [ptxdist] [libnl] Problems with version 1.1, version bump

2011-04-28 Thread Robert Schwebel
On Thu, Apr 28, 2011 at 11:11:35AM +0200, Michael Olbrich wrote: On Wed, Apr 27, 2011 at 03:43:11PM +0200, Marius Brehler wrote: I have upgraded our build server from Debian Lenny to Squeeze, the Toolchain from 1.99.3 to 2011.03.0 (including the changes of mkl/OSELAS.Toolchain.git) and

Re: [ptxdist] [libnl] Problems with version 1.1, version bump

2011-04-28 Thread Marius Brehler
Am 28.04.2011 11:29, schrieb Robert Schwebel: On Thu, Apr 28, 2011 at 11:11:35AM +0200, Michael Olbrich wrote: On Wed, Apr 27, 2011 at 03:43:11PM +0200, Marius Brehler wrote: I have upgraded our build server from Debian Lenny to Squeeze, the Toolchain from 1.99.3 to 2011.03.0 (including the

Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain(): new AVR configuration V2

2011-04-28 Thread Stephan Linz
Am Donnerstag, 28. April 2011, um 11:28:07 schrieb Michael Olbrich: Hi, On Wed, Apr 27, 2011 at 09:51:30PM +0200, Stephan Linz wrote: Referring to the last discussion about canonical patch format (http://www.mail-archive.com/ptxdist@pengutronix.de/msg04167.html) I want to recommit the new

[ptxdist] [PATCH] use make builtin variable CURDIR in src-linux-driver Makefile template

2011-04-28 Thread Uwe Kleine-König
This saves an unnecessary fork. I didn't measure the speedup though :-) Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- rules/templates/src-linux-driver/Makefile |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[ptxdist] [PATCH 01/13] Added install_config

2011-04-28 Thread George McCollister
I added install_config which is the same as install_alternative except it also adds the file name to conffiles inside of the .ipk file so it is handled by the package manager as a config file. Signed-off-by: George McCollister george.mccollis...@gmail.com --- rules/post/install.make

[ptxdist] [PATCH 02/13] temporary ipkg.conf doesn't need a real source

2011-04-28 Thread George McCollister
A temporary ipkg.conf is created and provided to the host ipkg-cl. There is no reason to fill in the source. This just clutters it up and makes it less generic. Signed-off-by: George McCollister george.mccollis...@gmail.com --- rules/post/ptxd_make_image_common.make |1 -

[ptxdist] [PATCH 05/13] host-opkg: Added new host package.

2011-04-28 Thread George McCollister
I have added host-opkg so opkg-cl is available for use in building an ipk repository. Signed-off-by: George McCollister george.mccollis...@gmail.com --- rules/host-opkg.in | 11 +++ rules/host-opkg.make | 45 + 2 files changed, 56

[ptxdist] [PATCH 03/13] opkg: Added option to install config

2011-04-28 Thread George McCollister
/etc/opkg/opkg.conf can now be installed on the target. Signed-off-by: George McCollister george.mccollis...@gmail.com --- generic/etc/opkg/opkg.conf | 12 rules/opkg.in | 35 +++ rules/opkg.make|8 3 files

[ptxdist] [PATCH 06/13] host-opkg-utils: Added new host package.

2011-04-28 Thread George McCollister
Use opkg-utils instead of ipkg-utils when using opkg as the package managment system. svn trunk of opkg-utils is here: http://svn.openmoko.org/trunk/src/host/opkg-utils As of April 26, 2011 last change was: r4747 2008-11-02 21:59:59 I've hosted a tar.gz of r4747 at this URL:

[ptxdist] [PATCH 07/13] make ptxd_make_xpkg more generic

2011-04-28 Thread George McCollister
Change name of pkg_ipkg_control_dir to pkg_xpkg_control_dir. Change name of pkg_ipkg_control to pkg_xpkg_control. Signed-off-by: George McCollister george.mccollis...@gmail.com --- scripts/lib/ptxd_make_ipkg_common.sh |7 --- scripts/lib/ptxd_make_xpkg_fixup.sh |3 ++-

[ptxdist] [PATCH 11/13] host-openssl: added for ipkg-repository signing

2011-04-28 Thread George McCollister
openssl is used to sign the Packages file in the ipkg-repository. Signed-off-by: George McCollister george.mccollis...@gmail.com --- platforms/hosttools.in |1 + rules/host-openssl.in |5 rules/host-openssl.make | 52 +++ 3 files

[ptxdist] [PATCH 08/13] opkg can now be used instead of ipkg

2011-04-28 Thread George McCollister
opkg and opkg-utils can now be used to build .ipk files and generate images from them. No longer default HOST_IPKG_UTILS and HOST_IPKG to yes. HOST_PACKAGE_MANAGEMENT_IPKG will select HOST_IPKG. HOST_IPKG will select HOST_IPKG_UTILS. Added package management selection to hosttools. Changed

[ptxdist] [PATCH 10/13] opkg: don't symlink /tmp to /usr/lib/opkg

2011-04-28 Thread George McCollister
Repository data is stored in /usr/lib/opkg. Don't link it to /tmp. Signed-off-by: George McCollister george.mccollis...@gmail.com --- rules/opkg.make |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/rules/opkg.make b/rules/opkg.make index 6c18619..b11a67a 100644 ---

[ptxdist] [PATCH 12/13] Added option to sign ipkg-repository

2011-04-28 Thread George McCollister
ipkg-repository can now be signed using openssl. A signature for the Packages file is created and stored in Packages.sig. On the target, opkg can be configured to enforce verification of the Packages file (which in turn contains hashes of each ipk file) by using an /etc/opkg/opkg.conf similar to

[ptxdist] [PATCH 04/13] build images from ipkg repository

2011-04-28 Thread George McCollister
Added option to build images from the ipkg repository. Signed-off-by: George McCollister george.mccollis...@gmail.com --- platforms/image_ipkg.in | 12 +++ rules/post/ptxd_make_image_prepare_work_dir.make |6 - rules/post/ptxd_make_world_common.make

[ptxdist] [PATCH 13/13] opkg: make signature checking work on target

2011-04-28 Thread George McCollister
Added an option to enable signature checking of repositories on the target. When this option is selected opkg.conf is modified to turn on check_signature. If PTXCONF_IMAGE_IPKG_SIGN_OPENSSL is defined, install certificate for the repository signer to /etc/ssl/certs/opkg.crt. Added CHECKSIG,

[ptxdist] V2: opkg integration into ptxdist

2011-04-28 Thread George McCollister
Thanks for all the feedback! I made changes based on all the feedback from the last series of opkg integration patches. I found and fixed a few other problems as well. Everything is working quite nicely now. [PATCH 01/13] Added install_config [PATCH 02/13] temporary ipkg.conf doesn't need a

Re: [ptxdist] RHEL/CentOS 5.X

2011-04-28 Thread Stephan Linz
Hi Marc, yes, it looks good to me. I've evaluate your patch with several arm toolchain configurations and it works on Ubuntu 9.04. I think you can push your patch to upstream. br, Stephan Am Freitag, 1. April 2011, um 21:46:01 schrieb Marc Kleine-Budde: On 03/29/2011 05:23 PM, Stephan Linz