Re: [ptxdist] how to insert new package?

2010-12-22 Thread Alexander Dahl
Hello Helmut, But what to do, if the new package does not appear in the menu? Did you read and follow the application note Extending the Menu from http://www.ptxdist.org/software/ptxdist/appnotes_en.html -- this is how we successfully made our entries appear in the menu. Greets Alex --

[ptxdist] finding includes with cmake based projects

2011-01-11 Thread Alexander Dahl
Hello, we are including our own cmake project in ptxdist which works quite well regarding our own code and libraries. But we have problems linking against some other libraries, namely net-snmp, libcgi and libusb. Despite configured with `ptxdist menuconfig` and successfully build (files of

Re: [ptxdist] finding includes with cmake based projects

2011-01-12 Thread Alexander Dahl
Hello there, So does someone have a hint, how to successfully include the right header files from the cross compiling build tree and linking against the appropriate libraries then in our cmake files? The problem occurs when running cmake, right? How do you search for the headers? Exactly.

Re: [ptxdist] finding includes with cmake based projects

2011-01-13 Thread Alexander Dahl
Me again, You should use find_path(...). If you use the default prepare stage, then cmake is called with the proper parameters to find stuff in sysroot-target. This looks only slightly different in our rule: $(STATEDIR)/foo.prepare: @$(call targetinfo, $@) @$(call

[ptxdist] setlocale() fails in self written program

2011-01-19 Thread Alexander Dahl
Hello ptxdist developers, in a self written C program I want to use translated messages with locales and gettext. My test code works well on x86 (Ubuntu Lucid) and it also compiles and installs well with ptxdist. However on the target system, every call of the C function 'setlocale' fails and

Re: [ptxdist] setlocale() fails in self written program

2011-01-20 Thread Alexander Dahl
Hello, I don't know much about locales. Try running your program with strace so you can see which file it tries to open. Thanks for this hint, seems to be helpful. The output of the relevant part is: write(3, before setlocale: Success\n, 26) = 26 close(3)= 0

Re: [ptxdist] setlocale() fails in self written program

2011-01-20 Thread Alexander Dahl
Hello, You see there are two successful open calls to /usr/lib/locale/locale-archive and /usr/share/locale/locale.alias -- however the next open call to files in /usr/lib/locale/de_DE or /usr/lib/locale/de fails because this directory just contains the file locale-archive and nothing more

Re: [ptxdist] setlocale() fails in self written program

2011-01-20 Thread Alexander Dahl
Me again, $ localedef --list-archive /usr/lib/locale/locale-archive de_DE.iso885915@euro de_DE@euro en_US en_US.iso88591 I do not understand locales completely, but shouldn't this be sufficient? My strace output showed this file is found and opened, but this does not seem to be enough

Re: [ptxdist] finding includes with cmake based projects

2011-01-20 Thread Alexander Dahl
Hei hei, Are you sure you prepare all the necessary parameters? I had to add the following line before: FOO_CMAKE += -DCMAKE_FIND_ROOT_PATH=$(SYSROOT) We actually use that, just not wenn you call cmake like this... You have two options: 1. Remove the prepare stage. The default

[ptxdist] migratition from 2010.11.1 to 2011.01.0 fails because of Kconfig

2011-01-24 Thread Alexander Dahl
Hello there, we tried to migrate from ptxdist 2010.11.1 to 2011.01.0 after you announced the update today. However 'ptxdist migrate' fails with the following error: config/Kconfig:6: invalid statement ptxdist: 'ptx oldconfig' returned with an error We use our own Kconfig in our project

Re: [ptxdist] migratition from 2010.11.1 to 2011.01.0 fails because of Kconfig

2011-01-25 Thread Alexander Dahl
Hello, only one 'mainmenu ...' entry is allowed. I assume you have a a mainmenu entry in your Kconfig and you source config/Kconfig which has another one. That's not the case. See: $ grep -v '^#' Kconfig source config/Kconfig comment --- foo source

Re: [ptxdist] [Spam] Re: setlocale() fails in self written program

2011-02-22 Thread Alexander Dahl
Hi there, I think I have a similar problem. Could you try if you can compile and use the host-localedef.make which uses eglibc-2.9? This one I have successfully used for a long time. However I have recently grabbed the latest host-localedef.make due to some other problems when compiling on

Re: [ptxdist] migratition from 2010.11.1 to 2011.01.0 fails because of Kconfig

2011-02-23 Thread Alexander Dahl
Hei hei, because this problem still exists with the current release 2011.02.0 and we have just a little time to investigate this, I gave it another try. You could try running kconfig with strace to see which config files are used. diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh

Re: [ptxdist] setlocale() fails in self written program

2011-02-24 Thread Alexander Dahl
Me again, I think I have a similar problem. Could you try if you can compile and use the host-localedef.make which uses eglibc-2.9? This one I have successfully used for a long time. However I have recently grabbed the latest host-localedef.make due to some other problems when compiling on

Re: [ptxdist] migration from 2010.11.1 to 2011.01.0 fails because of Kconfig

2011-03-09 Thread Alexander Dahl
Hello there, On Tue, 8 Mar 2011 10:49:33 +0100, Michael Olbrich wrote: I Attached the Kconfig file and the two files included there. I hope it's okay to send it off list. You'll see we use this for our commercial product and I don't want to disclose internal information. Please keep it

[ptxdist] [PATCH] add utility 'file' for determining file types

2011-04-09 Thread Alexander Dahl
new file mode 100644 index 000..0725c2b --- /dev/null +++ b/rules/file.make @@ -0,0 +1,102 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Alexander Dahl p...@lespocky.de +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist

Re: [ptxdist] [PATCH] add utility 'file' for determining file types

2011-04-13 Thread Alexander Dahl
Hallo, Am 12.04.2011 23:45, schrieb Michael Olbrich: this patch is broken. Your email probram added some line-breaks. I assumed this would be the case. Was my first patch and I read somewhere: just import the output of `git format-patch` to your MUA and send it. Thunderbird seems to break it.

[ptxdist] migration from 2011.03.1 to 2011.04.0 fails because some script is not found

2011-04-13 Thread Alexander Dahl
Hei hei, I just tried `ptxdist migrate` on our project and this worked fine. A `ptxdist go` however produced the following output afterwards: % ptxdist go /usr/local/lib/ptxdist-2011.04.0/scripts/libptxdist.sh: line 344: /home/adahl/Work/src/foo/scripts//lib/ptxd_make_*.sh: No such file or

Re: [ptxdist] migration from 2011.03.1 to 2011.04.0 fails because some script is not found

2011-04-14 Thread Alexander Dahl
Hallo, On Wed, 13 Apr 2011 20:32:01 +0200, Marc Kleine-Budde wrote: Known bug - mol has fixed it today. Cheery-pick commit 05eef40ed8dc519509bac7717c1810d1eb99a66f or use this workaround: touch /home/adahl/Work/src/foo/scripts//lib/ptxd_make_nothing.sh or use:

[ptxdist] setup ipkg package server

2011-04-18 Thread Alexander Dahl
Hei hei, chapter 6.6 of the »How to become a PTXdist Guru« guide points out the possibility to use ipkg to install packages on a running platform. We assume this could be quite handy for development, because we could drop a lot of packages from the the final firmware images while having an easy

[ptxdist] [PATCH] add utility 'file' for determining file types

2011-04-22 Thread Alexander Dahl
Resend. This will add rules for compiling the 'file' utility. Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/file.in| 15 ++ rules/file.make | 76 ++ rules/host-file.in | 13 rules/host-file.make

Re: [ptxdist] [PATCH] add utility 'file' for determining file types

2011-04-22 Thread Alexander Dahl
Hello, Am 22.04.2011 18:54, schrieb Michael Olbrich: +# +# Get +# + +$(FILE_SOURCE): +@$(call targetinfo) +@$(call get,

Re: [ptxdist] setup ipkg package server

2011-04-26 Thread Alexander Dahl
Hei there, I tried a little more and came to a satisfying setup, I'll describe here now. On Thu, 21 Apr 2011 08:16:23 -0500, George McCollister wrote: What's not included in the guide is how to setup such a package server. I tried to find a description or a HowTo how to setup one but my 20

[ptxdist] [PATCH] add utility 'file' for determining file types

2011-05-03 Thread Alexander Dahl
not entirely sure so I leave this field on unknown. Greets Alex Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/file.in| 15 +++ rules/file.make | 50 ++ rules/host-file.in | 13 + rules/host-file.make

Re: [ptxdist] [PATCH 1/2] also install dbclient to target, scp doesn't work otherwise

2011-06-06 Thread Alexander Dahl
Hei there, what about this one? The problem I tried to fix here was, that scp run from the target hardware complained about a missing dbclient executable and all I did was adding it. Greets Alex On Sat, 21 May 2011 10:47:26 +0200, Alexander Dahl wrote: Signed-off-by: Alexander Dahl p

Re: [ptxdist] [ANNOUNCE] PTXdist 2011.06.0 released

2011-06-06 Thread Alexander Dahl
Hello, On Sun, 5 Jun 2011 18:39:17 +0200, Michael Olbrich wrote: 2. systemd can now be used as init. The basic stuff works. However the unit files (equivalent to init scripts) are still missing for many packages. With systemd for init: is it possible to have a shutdown mechanism here

Re: [ptxdist] [PATCH 1/2] also install dbclient to target, scp doesn't work otherwise

2011-06-06 Thread Alexander Dahl
): From: Alexander Dahl p...@lespocky.de To: Cc: Alexander Dahl p...@lespocky.de Subject: [PATCH 1/2] also install dbclient to target, scp doesn't work otherwise Date: Sat, 21 May 2011 10:47:26 +0200 X-Mailer: git-send-email 1.7.2.5 To: ptxdist@pengutronix.de I guess the double To: line with one

[ptxdist] [PATCH 1/2] also install dbclient to target, scp doesn't work otherwise

2011-06-06 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/dropbear.make |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/rules/dropbear.make b/rules/dropbear.make index f3c75c4..d161d2e 100644 --- a/rules/dropbear.make +++ b/rules/dropbear.make @@ -269,6 +269,8 @@ endif

[ptxdist] [PATCH 2/2] bump version and update download URL

2011-06-06 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/dropbear.make |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/dropbear.make b/rules/dropbear.make index d161d2e..b9f0f45 100644 --- a/rules/dropbear.make +++ b/rules/dropbear.make @@ -18,11 +18,11

[ptxdist] opkg in ptxdist 2011.06.0 fails

2011-06-14 Thread Alexander Dahl
Hello there, I tried migrating from ptxdist 2011.05.0 to 2011.06.0 today and got ask if I wanted to use ipkg or opkg for package management. When answering with opkg and building the project I get the following error: make: *** No rule to make target

[ptxdist] warning caused by systemd in rule

2011-06-14 Thread Alexander Dahl
Hei hei, after migration to ptxdist 2011.06.0 I get the following warning when running `ptxdist go`: /usr/local/lib/ptxdist-2011.06.0/rules/systemd.in:5:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'ROOTFS_RUN' I guess it's safe to ignore, especially when not

Re: [ptxdist] warning caused by systemd in rule

2011-06-15 Thread Alexander Dahl
Hello, /usr/local/lib/ptxdist-2011.06.0/rules/systemd.in:5:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'ROOTFS_RUN' I guess it's safe to ignore, especially when not using systemd, but it comes each time I call `ptxdist go`. Is this already fixed in Git? I

Re: [ptxdist] opkg in ptxdist 2011.06.0 fails

2011-06-15 Thread Alexander Dahl
Hello, On Wed, 15 Jun 2011 10:25:19 +0200, Juergen Beisert wrote: It is a dependency issue. The host-opkg package depends on the target-opkg package. And if the target-opkg package is disabled the host-opkg will fail. You can solve it in your project with enabling the target-opkg. Okay. I

Re: [ptxdist] [PATCH] Add modeline for vim to *.in files

2011-06-23 Thread Alexander Dahl
Hei hei, On Thu, 23 Jun 2011 17:48:02 +0200, Bernhard Walle wrote: Set the file type to kconfig. The *.make files have a modeline for vim, so why not also for the Kconfig files. % grep vim: rules/*.in rules/argtable2.in:# vim: syntax=kconfig rules/calibrator.in:# vim: syntax=kconfig

Re: [ptxdist] [PATCH] Add modeline for vim to *.in files

2011-06-23 Thread Alexander Dahl
Hello, On 23.06.2011 18:37, Bernhard Walle wrote: Well, IMO setting the filetype is better than just the syntax, because then you can add autocmd FileType kconfig set ts=8 sw=8 noet autocmd FileType makeset ts=8 sw=8 noet to your .vimrc. I would also recommend setting the

Re: [ptxdist] migration from 2010.11.1 to 2011.01.0 fails because of Kconfig

2011-07-07 Thread Alexander Dahl
Hello there, I know this topic was discussed some time ago with no sufficient solution for us. However I came across one more or less by accident today. On Sun, 13 Mar 2011 13:17:40 +0100, Michael Olbrich wrote: On Wed, Mar 09, 2011 at 02:08:58PM +0100, Alexander Dahl wrote: It looks like

[ptxdist] error in version handling in libptxdist.sh

2011-07-22 Thread Alexander Dahl
Hello out there, because I didn't find a bug tracker for ptxdist I just drop what I found on the dev mailing list … When executing `ptxdist images` I get error messages on packages with version strings differing from the classic 1.2.3 scheme, e.g. openssl: checking pool for..:

Re: [ptxdist] [PATCH 1/3] Bump libmodbus version to 2.0.4

2011-07-28 Thread Alexander Dahl
Hei hei, -LIBMODBUS_VERSION:= 2.0.3 -LIBMODBUS_MD5:= 8c19a718bf8f182fb4b961928834cc1c +LIBMODBUS_VERSION:= 2.0.4 +LIBMODBUS_MD5:= 6b3aa500ab441a953eeb73a8c58cdf76 LIBMODBUS:= libmodbus-$(LIBMODBUS_VERSION) LIBMODBUS_SUFFIX := tar.gz

Re: [ptxdist] [PATCH 1/2] Rename libmodbus ~ libmodbus2

2011-07-28 Thread Alexander Dahl
Hei hei, -LIBMODBUS_URL:= http://launchpad.net/libmodbus/trunk/2.0.3/+download/$(LIBMODBUS).$(LIBMODBUS_SUFFIX) +LIBMODBUS2_URL := http://github.com/downloads/stephane/libmodbus/$(LIBMODBUS2).$(LIBMODBUS2_SUFFIX) This touches my other question. You change the

[ptxdist] dropbear sometimes generates 0 byte keyfiles

2011-08-23 Thread Alexander Dahl
Hello there, we stumbled upon a problem which occurs here from time to time but is not always reproducable and therefor a little hard to debug. We use busybox and dropbear as SSH server. The keys are generated by the rc.once mechanism, especially by the /etc/rc.once.d/dropbear script. Sometimes

Re: [ptxdist] dropbear sometimes generates 0 byte keyfiles

2011-08-23 Thread Alexander Dahl
Hello, On Tue, 23 Aug 2011 17:45:27 +0200, Michael Olbrich wrote: do you have enough disk space available? dropbearkey does not check the return value of close(). It might silently fail here resulting in a empty file without a failure return value from dropbearkey. Disc space should not be a

[ptxdist] linker doesn't find libs with cmake and package config files

2011-09-14 Thread Alexander Dahl
Hei hei, as written on this list in the past we use cmake for building or own projects including libraries and other tools. For finding the appropriate include and link paths we used our own FindFOO.cmake scripts all stored in some subdirectory and included in the main CMakeLists.txt of each

[ptxdist] installing different config files for lighttpd depending on some config variable

2011-11-09 Thread Alexander Dahl
Hei hei, we build or BSP in different configurations depending on some options in the menuconfig, see: choice prompt Vendor name config VENDOR_FOO bool prompt foo config VENDOR_BAR bool prompt bar config

Re: [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released

2011-11-22 Thread Alexander Dahl
Hei there, Am 05.10.2011 09:55, schrieb Michael Olbrich: I've just released PTXdist 2011.10.0. No big changes. A few new packages, version bumps and bug fixes. I've also added a setup variable for kernel.org. You can use it to redirect any download from kernel.org on off its mirrors.

Re: [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released

2011-11-24 Thread Alexander Dahl
Hei hei, Am 22.11.2011 15:25, schrieb Michael Olbrich: It was also broken on many systems. Sometimes when the getty started, the last few lines of the init output (= the last lines of the banner) got lost. Yes, I know, noticed this myself. but let's say I wanted the old behaviour back, I

[ptxdist] /etc/issue (Was: [ANNOUNCE] PTXdist 2011.10.0 released)

2011-11-24 Thread Alexander Dahl
Am 24.11.2011 15:01, schrieb Michael Olbrich: 21 echo 22 echo 23 ) /tmp/issue 24 25 sed -i -e 's/\\//g' /tmp/issue 23 ) | sed -e 's/\\//g' /tmp/issue should work too. I'd also recommend against using '\'. It always broke something for me

Re: [ptxdist] ptxdist-2011.01.0 bug in make ipkg-push

2011-11-29 Thread Alexander Dahl
Hei hei, Am 29.11.2011 12:36, schrieb Benoît BURNICHON: I know that this is an old release of ptxdist but for now, I cannot upgrade to the latest version. Just for curiosity: why not? Greets Alex signature.asc Description: OpenPGP digital signature -- ptxdist mailing list

Re: [ptxdist] boot error.

2012-01-09 Thread Alexander Dahl
Am 27.12.2011 15:56, schrieb Juergen Beisert: Device nodes are missing. Your udev seems not to run or is somehow broken. Or if not using udev (which is still possible, we use this): the statically created device nodes are missing. Alex -- »With the first link, the chain is forged. The first

Re: [ptxdist] [ANNOUNCE] PTXdist 2012.01.0 released

2012-01-10 Thread Alexander Dahl
Hei hei, Am 07.01.2012 23:46, schrieb Michael Olbrich: Robert Schwebel (10): host-libffi: added This seems to make problems over here. After migrating from ptxdist 2011.12.0 the related entries in my config are: % grep -i ffi configs/ptxconfig PTXCONF_HOST_LIBFFI=m

Re: [ptxdist] [ANNOUNCE] PTXdist 2012.01.0 released

2012-01-13 Thread Alexander Dahl
Hei hei, Am 12.01.2012 20:47, schrieb Michael Olbrich: So I assume there's some problem with the default get rule in case some package has the 'M' marker but is not selected in the collection? Hmmm, not sure. Can you send the config files you're using (ptxconfig and collectionconfig) so I

[ptxdist] compiling at91bootstrap v1.16 with gcc 4.6.x fails

2012-01-13 Thread Alexander Dahl
Hei hei, I tried upgrading from OSELAS toolchain 2011.03.1 to 2011.11.0 which includes an update from gcc 4.5.x to 4.6.x. Building at91bootstrap with some additional patches for our hardware (similar but not identic to at91sam9g20ek) fails since then: -gnueabi/bin/ld: section .text.startup

[ptxdist] building OpenNI with ptxdist

2012-01-19 Thread Alexander Dahl
://github.com/OpenNI/OpenNI # vim: ft=kconfig noet tw=72 # -*-makefile-*- # # Copyright (C) 2012 by Alexander Dahl p...@lespocky.de # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README

Re: [ptxdist] [ANNOUNCE] PTXdist 2012.01.0 released

2012-01-19 Thread Alexander Dahl
Am 10.01.2012 13:36, schrieb Alexander Dahl: error: empty parameter to 'ptxd_make_get' Weird, I get the same error now in another project without any collections used, but with ptxdist 2011.09.0: -- target: acpid-2.0.8.tar.gz -- error: empty

Re: [ptxdist] [ANNOUNCE] PTXdist 2012.01.0 released

2012-01-20 Thread Alexander Dahl
Hei Michael, Am 19.01.2012 22:59, schrieb Michael Olbrich: -- target: acpid-2.0.8.tar.gz -- error: empty parameter to 'ptxd_make_get' This is a x86 BSP, right? Otherwise acpid should not be built. Is acpid in 'ptxdist print

Re: [ptxdist] building OpenNI with ptxdist

2012-01-20 Thread Alexander Dahl
Some progress on this topic: Am 19.01.2012 15:37, schrieb Alexander Dahl: For doing this without ptxdist I create a folder ~/build/sysroot and tried cross compiling. Doing it like in the README this results in an error stating 'unistd.h' is not found. If I copy the content of /opt

Re: [ptxdist] compiling at91bootstrap v1.16 with gcc 4.6.x fails

2012-01-20 Thread Alexander Dahl
Am 13.01.2012 13:56, schrieb Alexander Dahl: Has anybody experienced similar problems here and already got a solution or at least a hint how to solve this issue? Meanwhile there was a helpful answer in the AT91 forum: http://www.at91.com/forum/viewtopic.php/f,12/t,20624 I could compile

[ptxdist] [PATCH] add patch for building at91bootstrap with gcc 4.6.x

2012-01-26 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- .../0002-fix-overlap-linker-error.patch| 23 patches/Bootstrap-v1.16/series |1 + 2 files changed, 24 insertions(+), 0 deletions(-) create mode 100755 patches/Bootstrap-v1.16/0002-fix

Re: [ptxdist] [PATCH] add patch for building at91bootstrap with gcc 4.6.x

2012-01-27 Thread Alexander Dahl
compiling for arm-v5te. Signed-off-by: Alexander Dahl p...@lespocky.de --- .../0002-fix-overlap-linker-error.patch| 23 patches/Bootstrap-v1.16/series |1 + 2 files changed, 24 insertions(+), 0 deletions(-) create mode 100755 patches

Re: [ptxdist] [PATCH] add patch for building at91bootstrap with gcc 4.6.x

2012-01-31 Thread Alexander Dahl
Hei Michael, Am 30.01.2012 15:20, schrieb Michael Olbrich: See my mail from January 13th, where I described the problem. It occurs with the OSELAS toolchain 2011.11.0 compiling for arm-v5te. Yes, I tried that and didn't get any build error. Which at91bootstrap config do I select to this

Re: [ptxdist] [PATCH] cmake: add toolchain sysroot to search directive

2012-02-07 Thread Alexander Dahl
Hei hei, Am 2012-02-07 11:33, schrieb Josef Holzmayr: -SET(CMAKE_FIND_ROOT_PATH @SYSROOT@) +SET(CMAKE_FIND_ROOT_PATH @SYSROOT@ @SYSROOT_TOOLCHAIN@) SYSROOT=${PTXDIST_PATH_SYSROOT_ALL//:/ } \ + SYSROOT_TOOLCHAIN=${PTXDIST_SYSROOT_TOOLCHAIN//:/ } \ Just out

Re: [ptxdist] Advice on Directory Structure

2012-02-21 Thread Alexander Dahl
Hei Jerry, Am 2012-02-20 23:21, schrieb Jerry Kirk: Our development will run the full breadth including new drivers, patches to existing drivers, applications, etc. Speaking of VCS: we put each subproject in separate repositories and build ordinary ptxdist packages for it. So for application

Re: [ptxdist] Not reproducable bugs on compiling OSELAS Toolchain

2012-02-23 Thread Alexander Dahl
Hei Martin, Am 2012-02-23 13:39, schrieb Martin Breidung: I got errors on compiling the toolchain OSELAS.Toolchain-2011.11.1. System: Ubuntu 11.10 Which architecture? `uname -m`? On Ubuntu 10.4 LTS i got errors too withe OSELAS.Toolchain-2011.11.0. Same question, i686, x86_64, … ??

[ptxdist] [PATCH 1/2] dropbear: security update to version 2012.55

2012-03-13 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/dropbear.make |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/dropbear.make b/rules/dropbear.make index a3ba905..fe52ad8 100644 --- a/rules/dropbear.make +++ b/rules/dropbear.make @@ -18,8 +18,8

[ptxdist] [PATCH 2/2] file: security update to version 5.11

2012-03-13 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/file.make |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/file.make b/rules/file.make index 8840bc4..5c7d739 100644 --- a/rules/file.make +++ b/rules/file.make @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_FILE

Re: [ptxdist] [PATCH 1/2] dropbear: Delete old patches

2012-03-20 Thread Alexander Dahl
Am 2012-03-20 08:31, schrieb Bernhard Walle: Seems to have been forgotten in the update (d12c29b0e40e1d3affc0490d18599abaa48fca30). Sorry, I should have checked if there were patches for dropbear, before updating. :-/ Alex -- »With the first link, the chain is forged. The first speech

Re: [ptxdist] [PATCH] ptxdist: Don't assume that we have a bashrc

2012-03-20 Thread Alexander Dahl
Hei hei, Am 20.03.2012 20:46, schrieb Bernhard Walle: Usually there is one, but don't print an error if there is no one. I'm using zsh, not bash, but still have ~/.bashrc … what does this code try to do in the first place and how does this affect users of other shells? Greets Alex -- »With

[ptxdist] bbinit default order

2012-03-21 Thread Alexander Dahl
Hei hei, I'm currently experimenting with systemd. While switching between busybox init and systemd I got some default values for the symlinks created in /etc/rc.d in my ptxconfig. With the defaults I got some conflicts, e.g. there's S26networking and S16dropbear which leads to dropbear not

[ptxdist] [PATCH] add config and install symlink to let systemd load modules from /etc/modules

2012-03-26 Thread Alexander Dahl
systemd can statically load kernel modules at boot. This is done by placing appropriate files *.conf in /etc/modules-load.d. To be compatible with initmethod-busybox (e.g. if you switch between both) just a symlink to /etc/modules is created like Debian does, too. Signed-off-by: Alexander Dahl p

[ptxdist] [PATCH] add /etc/timezone and replace content according to /etc/localtime

2012-03-27 Thread Alexander Dahl
you only have to put e.g. 'Europe/Berlin' to ptxdist menuconfig and symlink /etc/localtime and file /etc/timezone are created at build time. This patch is a suggestion which works for me, open for discussion. Signed-off-by: Alexander Dahl p...@lespocky.de --- generic/etc/timezone |1 + rules

Re: [ptxdist] console_name for systemd based systems

2012-03-28 Thread Alexander Dahl
Hei Michael, Am 2012-03-28 11:26, schrieb Michael Olbrich: I've never needed that with systemd. By default systemd will add such a dependency for the tty the kernel uses for it's output. So if you boot with console=/dev/ttyS0 in the kernel commandline you should get a getty on ttyS0. I

Re: [ptxdist] [PATCH] add config and install symlink to let systemd load modules from /etc/modules

2012-03-28 Thread Alexander Dahl
Hello Michael, Am 2012-03-28 11:48, schrieb Michael Olbrich: PTXdist doesn't really support switching the initmethod at runtime. I'm aware of this. I guess there's no system like this and there's no need to. What I do is switching those for development, build a new image and test it

Re: [ptxdist] console_name for systemd based systems

2012-03-28 Thread Alexander Dahl
Am 2012-03-28 12:44, schrieb Michael Olbrich: Which kernel version? systemd uses /sys/class/tty/console/active to determine where to start a getty. $ uname -r 2.6.36.4 (It's planned to upgrade to 3.0.x but we have to port the kernel module code for our own hardware first.) $ ls

Re: [ptxdist] console_name for systemd based systems

2012-03-28 Thread Alexander Dahl
Hello Michael, Am 2012-03-28 13:10, schrieb Michael Olbrich: $ uname -r 2.6.36.4 (It's planned to upgrade to 3.0.x but we have to port the kernel module code for our own hardware first.) that's the problem. systemd needs at least 2.6.39 to work properly. In this case the kernel is

Re: [ptxdist] converting busybox config for ptxdist

2012-03-29 Thread Alexander Dahl
Hei hei, Am 29.03.2012 17:27, schrieb Alexander Stein: how do you convert the busybox' to ptxdist own config? I found those .in files under config/busybox, but didn't find an script to convert them. I need an own set of config files to integrate busybox into an initramfs with its own

Re: [ptxdist] converting busybox config for ptxdist

2012-03-30 Thread Alexander Dahl
Am 2012-03-29 23:44, schrieb Alexander Dahl: As far as I remember from last week, ptxdist .in file just sources the Kconfig from busybox. Busybox uses the same config system, it's just assimilated. ;-) Because of curiosity I just had another look on this. Speaking of ptxdist 2012.03.0, rules

Re: [ptxdist] converting busybox config for ptxdist

2012-03-30 Thread Alexander Dahl
Am 2012-03-30 09:55, schrieb Alexander Dahl: Hope this is a little more clear than my guessing from memory yesterday. O:-) Argh, there's one step I forgot. In rules/busybox.make this is of course converted back to a config file busybox build understands, but because of the equal prefix

[ptxdist] ubi utils in package mtd-utils broken

2012-04-04 Thread Alexander Dahl
Hei hei, I was just migrating our BSP from ptxdist 2012.03.0 to 2012.04.0 and the build fails in targetinstall stage of package mtd-utils like this: make: *** [/home/adahl/Work/src/BSP/platform-at91sam9g20XXX/state/mtd-utils.targetinstall] Error 1 No suitable file '/usr/sbin/ubiattach' could

Re: [ptxdist] ubi utils in package mtd-utils broken

2012-04-05 Thread Alexander Dahl
Am 2012-04-05 12:49, schrieb Bernhard Walle: @Alexander: Can you try that out? Because of a lack of time I applied it directly on my installed ptxdist. mtd-utils build was successful now. I will test the binaries on the target next week. Thanks for the quick response and have some nice free

Re: [ptxdist] ubi utils in package mtd-utils broken

2012-04-10 Thread Alexander Dahl
Hei hei, Am 2012-04-05 18:29, schrieb Alexander Dahl: Because of a lack of time I applied it directly on my installed ptxdist. mtd-utils build was successful now. I will test the binaries on the target next week. I saw Michael already applied the patch, nevertheless and for the sake

Re: [ptxdist] Loading kernel configuration from an existing platform ( where is the file ??? :D )

2012-05-02 Thread Alexander Dahl
Hei hei, Am 2012-05-02 09:53, schrieb barhoumi mohtadi: I've tried to load that file , i can see that options are checked, i save my configuration, but when running kernelconfig another time, it's like i've done nothing!! the confiugration has not been loaded properly i guess... This sounds

Re: [ptxdist] Building a older version toolchain using a a newer version ptxdist

2012-05-21 Thread Alexander Dahl
Am 2012-05-16 19:50, schrieb MC Potgieter: Then what about the BSP? Will I have to use the 2011.11.0 BSP too? I want to take advantage of the latest packages available in the latest BSP (2012.02.0). You could take the offered BSP as base for your own stuff and for example do an `ptxdist

Re: [ptxdist] [PATCH] u-boot: Add option to install u-boot environment tools on target

2012-05-29 Thread Alexander Dahl
Hello, Am 2012-05-28 14:42, schrieb Bart vdr. Meulen: From: Remy Bohmer li...@bohmer.net Add config option that can be used to install u-boot tools on target Current tools that can be selected: - fw_setenv - fw_printenv - gen_eth_addr Does this conflict with the recently introduced

Re: [ptxdist] AT91SAM9263-ek

2012-06-28 Thread Alexander Dahl
Hei hei, Am 2012-06-28 08:42, schrieb Stutz Sven: Further more to boot this image on the hardware, do I really have to use at91bootstrap to load barebox and then barebox to load the kernel? And to run this image in QEMU will this boot loader not influence the system? We use at91bootstrap and

[ptxdist] [PATCH] install optional symlinks from sendmail to ssmtp

2012-06-28 Thread Alexander Dahl
to /sbin/ssmtp at the moment. Would be cool if someone could fix this, I didn't know how. O:-) Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/ssmtp.in |6 ++ rules/ssmtp.make |5 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/rules/ssmtp.in b/rules

Re: [ptxdist] [PATCH] install optional symlinks from sendmail to ssmtp

2012-06-29 Thread Alexander Dahl
Hei hei, +ifdef PTXCONF_SSMTP_SENDMAIL +@$(call install_link, ssmtp, /sbin/ssmtp, /usr/sbin/sendmail) +@$(call install_link, ssmtp, ../sbin/sendmail, /usr/lib/sendmail) +endif snip Why one time relative, the other time not? Plus, isn't ptxdists install_link mechanism

[ptxdist] ssmtp: two new patches

2012-07-30 Thread Alexander Dahl
Hei hei, I got two patches for the ssmtp package. The first one is the revised version of a patch we discussed a month ago. The second one fixes the build so autoconf is called correctly and all options are set with the current ptxdist mechanisms. I used those just by having a look at other

[ptxdist] [PATCH 1/2] ssmtp: install optional symlinks from sendmail to ssmtp

2012-07-30 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/ssmtp.in |6 ++ rules/ssmtp.make |5 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/rules/ssmtp.in b/rules/ssmtp.in index 302dccc..5813eed 100644 --- a/rules/ssmtp.in +++ b/rules/ssmtp.in @@ -35,4

[ptxdist] [PATCH 2/2] ssmtp: update setting build options to current ptxdist mechanisms

2012-07-30 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/ssmtp.make | 27 --- 1 files changed, 8 insertions(+), 19 deletions(-) diff --git a/rules/ssmtp.make b/rules/ssmtp.make index 50753d0..80c6bb8 100644 --- a/rules/ssmtp.make +++ b/rules/ssmtp.make @@ -37,23 +37,12

[ptxdist] [PATCH] busybox: add more empty folders for ifupdown

2012-07-30 Thread Alexander Dahl
of busybox. Is this very ifupdown used together with systemd? Then these folders have to be added there, too. Greets Alex Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/initmethod-bbinit.make |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/rules/initmethod-bbinit.make b

Re: [ptxdist] dhclient startup

2012-08-09 Thread Alexander Dahl
Hei hei, On Thu, Aug 09, 2012 at 07:02:36PM +0200, stefan.fr...@qutools.com wrote: So my question would be: Is there some kind of template for that script? Or did I miss something else? In case you use ifupdown of busybox the DHCP client (we use udhcpc from busybox itself) is started somehow

[ptxdist] dependencies with collections

2012-08-16 Thread Alexander Dahl
Hei hei, to not use a workaround on building our BSP I'd like to have some ideas on a dependency problem together with collections. We use collections to have slightly different builds of a BSP on the same target hardware. I have set PTXCONF_OPENSSL=m so I can activate/deactivate it in a

Re: [ptxdist] ssmtp: two new patches

2012-08-27 Thread Alexander Dahl
Hello, On Mon, Jul 30, 2012 at 05:54:51PM +0200, Alexander Dahl wrote: I got two patches for the ssmtp package. The first one is the revised version of a patch we discussed a month ago. The second one fixes the build so autoconf is called correctly and all options are set with the current

Re: [ptxdist] dependencies with collections

2012-08-30 Thread Alexander Dahl
Hei hei, Am 2012-08-21 11:32, schrieb Michael Olbrich: 1) There's a way to test in the make file if openssl is activated in the collection and I missed it. ifneq ($(filter openssl,$(PACKAGES)),) ... endif I think. I would not recommend this. This will break if you switch collections

Re: [ptxdist] ssmtp: two new patches

2012-09-12 Thread Alexander Dahl
Hei hei, Am 2012-08-27 18:21, schrieb Alexander Dahl: What about those? Did these patches appear on the list? O:-) ;-) Greets Alex -- »With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably

Re: [ptxdist] [ANNOUNCE] PTXdist 2012.09.0 released

2012-09-14 Thread Alexander Dahl
Hei hei, Am 2012-09-14 00:26, schrieb Tim Sander: I just tried to build a raspberry pi ptxdist image with not so stellar success with ptxdist-2012-09.0: Did you start a BSP from scratch? Would you mind sharing it? I'll get my Raspberry Pi in October and already thought about using it with

[ptxdist] [PATCH] util-linux-ng: make target install of 'column' possible

2012-09-14 Thread Alexander Dahl
We need the tool 'column' for our BSP. The tool is compiled with util-linux-ng but not installed in targetinstall stage. This patch makes this configurable in menuconfig. Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/util-linux-ng.in |6 ++ rules/util-linux-ng.make |3

Re: [ptxdist] [PATCH 2/2] ssmtp: update setting build options to current ptxdist mechanisms

2012-09-24 Thread Alexander Dahl
Hei hei, Am 2012-09-13 18:00, schrieb Michael Olbrich: any special reason why you switch from CROSS_AUTOCONF_ROOT to CROSS_AUTOCONF_USR? No reason. I guess this is what I saw in other packages and just adopted. What's the difference? Where is it defined? What is the usual content? O:-)

[ptxdist] [PATCH] ssmtp: install optional symlinks from sendmail to ssmtp

2012-09-24 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/ssmtp.in | 10 ++ rules/ssmtp.make |5 + 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/rules/ssmtp.in b/rules/ssmtp.in index 302dccc..5ba834a 100644 --- a/rules/ssmtp.in +++ b/rules/ssmtp.in @@ -35,4

Re: [ptxdist] [PATCH 2/2] ssmtp: update setting build options to current ptxdist mechanisms

2012-09-30 Thread Alexander Dahl
Hei hei, On Sun, Sep 30, 2012 at 03:01:34PM +0200, Michael Olbrich wrote: CROSS_AUTOCONF_ROOT - configure is called with --prefix=/ CROSS_AUTOCONF_USR - configure is called with --prefix=/usr Ah I see. Thanks for explaining. When I create a new package I usually use what other distros are

[ptxdist] [PATCH] ssmtp: update setting build options to current ptxdist mechanisms

2012-10-01 Thread Alexander Dahl
Signed-off-by: Alexander Dahl p...@lespocky.de --- rules/ssmtp.make | 25 +++-- 1 files changed, 7 insertions(+), 18 deletions(-) diff --git a/rules/ssmtp.make b/rules/ssmtp.make index 50753d0..f78ed0e 100644 --- a/rules/ssmtp.make +++ b/rules/ssmtp.make @@ -37,23 +37,12

  1   2   3   4   5   >