Re: [ptxdist] Best BSP to start with Raspberry?

2017-06-23 Thread Robert Schwebel
On Fri, Jun 23, 2017 at 05:22:11PM +0200, Roland Hieber wrote:
> > i looked at DistroKit and the RPI branch looks like a dead end.
> > Is there someone from Pengutronix who can confirm that the latest
> > version is intended to work on the Raspi?
> 
> *hrm*, someone should update the documentation. You can use platform-v7a,
> which supports multiple ARMv7A platforms, like BeagleBone and also the
> Raspberry Pi 2/3. I'm not sure however how complete the support for RPi 3
> is, there may be some DTB overlays missing.

We have reworked quite some DistroKit things during TechWeek, but the
results are not merged & tested on RPi yet. Will happen soon, but please
don't hold your breath until then.

rsc
-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] Ptxdists use of pkg-config causing issues with Qt-5.9

2017-06-23 Thread Michael Olbrich
Hi,

On Fri, Jun 23, 2017 at 10:15:42AM +, Baeuerle, Florian wrote:
> I've been working on getting Qt-5.9 built with the latest ptxdist and I
> encountered a bug which is related to the way, ptxdist uses pkg-config.
> 
> I already found a (hacky) workaround, but I think the root cause
> actually is how ptxdist uses pkg-config.
> 
> The problem is already described in the Qt-Bug-Tracker in detail, so
> I'll just refer to that:
> 
> https://bugreports.qt.io/browse/QTBUG-61593

I am aware of this issue. The problem is, that there is no setup that works
for all packages. Packages like Qt that try to be clever usually cause the
biggest problems because the are all 'clever' in different way.
Having a pkg-config that just provides the correct paths works for most
things. The initial implementation of our current pkg-config wrapper
predates PKG_CONFIG_SYSROOT_DIR. Maybe we could change this now, but this
will take a lot of careful review.
Setting PKG_CONFIG_SYSROOT_DIR=/ will help in this case.

Regards,
Michael

-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] Best BSP to start with Raspberry?

2017-06-23 Thread Roland Hieber

On 23.06.2017 16:44, Fritz Emboli wrote:

Thanks,

i looked at DistroKit and the RPI branch looks like a dead end.
Is there someone from Pengutronix who can confirm that the latest
version is intended to work on the Raspi?


*hrm*, someone should update the documentation. You can use 
platform-v7a, which supports multiple ARMv7A platforms, like BeagleBone 
and also the Raspberry Pi 2/3. I'm not sure however how complete the 
support for RPi 3 is, there may be some DTB overlays missing.


 - Roland

___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] Best BSP to start with Raspberry?

2017-06-23 Thread Fritz Emboli
Thanks,

i looked at DistroKit and the RPI branch looks like a dead end.
Is there someone from Pengutronix who can confirm that the latest
version is intended to work on the Raspi?

Regards

  Fritz


2017-06-23 9:09 GMT+02:00 Alexander Dahl :

> Hei hei,
>
> On Thu, Jun 22, 2017 at 07:52:37PM +0200, Fritz Emboli wrote:
> > i'm trying to use a Raspberry 2/3 with ptxdist.
> > What is the best BSP to start with?
>
> You may just have a look a DistroKit by pengutronix:
> https://git.pengutronix.de/cgit/DistroKit
>
> 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.« (Jean-Luc Picard, quoting Judge Aaron Satie)
> *** GnuPG-FP: C28E E6B9 0263 95CF 8FAF  08FA 34AD CD00 7221 5CC6 ***
>
> ___
> ptxdist mailing list
> ptxdist@pengutronix.de
>
___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH v2 2/2] ecryptfs-utils: provide option for test scripts

2017-06-23 Thread Oleksij Rempel
These scripts are desined for kernel fs/ecryptfs testing.

Signed-off-by: Oleksij Rempel 
---
 rules/ecryptfs-utils.in   | 12 
 rules/ecryptfs-utils.make |  8 +++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/rules/ecryptfs-utils.in b/rules/ecryptfs-utils.in
index e73dafdfc..fc44caf00 100644
--- a/rules/ecryptfs-utils.in
+++ b/rules/ecryptfs-utils.in
@@ -9,6 +9,16 @@ menuconfig ECRYPTFS_UTILS
select HOST_GETTEXT # needed for autogen.sh
select HOST_GLIB# needed for autogen.sh
select HOST_LIBGCRYPT   # needed for autogen.sh
+   select ATTR if ECRYPTFS_UTILS_TESTS
+   select BASH if ECRYPTFS_UTILS_TESTS
+   select COREUTILS if ECRYPTFS_UTILS_TESTS
+   select COREUTILS_DF if ECRYPTFS_UTILS_TESTS
+   select COREUTILS_MKDIR if ECRYPTFS_UTILS_TESTS
+   select COREUTILS_SLEEP if ECRYPTFS_UTILS_TESTS
+   select COREUTILS_STAT if ECRYPTFS_UTILS_TESTS
+   select COREUTILS_TR if ECRYPTFS_UTILS_TESTS
+   select COREUTILS_TRUNCATE if ECRYPTFS_UTILS_TESTS
+   select UTIL_LINUX_NG_MKFS if ECRYPTFS_UTILS_TESTS
help
  eCryptfs is a POSIX-compliant enterprise-class stacked
  cryptographic filesystem for Linux.
@@ -44,4 +54,6 @@ config ECRYPTFS_UTILS_ECRYPTFS_UNWRAP_PASSPHRASE
 config ECRYPTFS_UTILS_ECRYPTFS_WRAP_PASSPHRASE
bool "ecryptfs-wrap-passphrase"
 
+config ECRYPTFS_UTILS_TESTS
+   bool "ecryptfs-tests"
 endif
diff --git a/rules/ecryptfs-utils.make b/rules/ecryptfs-utils.make
index 371f05cbc..c7c92b89f 100644
--- a/rules/ecryptfs-utils.make
+++ b/rules/ecryptfs-utils.make
@@ -46,11 +46,12 @@ ECRYPTFS_UTILS_CONF_OPT := \
--disable-gui \
--disable-docs \
--disable-docs-gen \
-   --disable-tests \
+   --$(call ptx/endis,PTXCONF_ECRYPTFS_UTILS_TESTS)-tests \
--disable-mudflap \
$(GLOBAL_LARGE_FILE_OPTION) \
--disable-nls
 
+
 ECRYPTFS_UTILS_PROGS_y :=
 
 ECRYPTFS_UTILS_PROGS_$(PTXCONF_ECRYPTFS_UTILS_MOUNT_ECRYPTFS)  
+= /sbin/mount.ecryptfs
@@ -82,6 +83,11 @@ $(STATEDIR)/ecryptfs-utils.targetinstall:
@$(call install_lib, ecryptfs-utils, 0, 0, 0644, 
ecryptfs/libecryptfs_key_mod_passphrase)
@$(call install_lib, ecryptfs-utils, 0, 0, 0644, libecryptfs)
 
+ifdef PTXCONF_ECRYPTFS_UTILS_TESTS
+   @$(call install_glob, ecryptfs-utils, 0, 0, 
$(ECRYPTFS_UTILS_DIR)/tests, /usr/lib/ecryptfs/tests,, \
+   *Makefile* */.deps* */.libs* */.dirstamp* *.o *.c, n)
+endif
+
 ifdef PTXCONF_ECRYPTFS_UTILS_MOUNT_ECRYPTFS
@$(call install_link, ecryptfs-utils, mount.ecryptfs_private, 
/sbin/umount.ecryptfs_private)
 endif
-- 
2.11.0


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH v2 0/2] provide ecryptfs tests

2017-06-23 Thread Oleksij Rempel
changes:
v2:
 - spell fixes in the change log
 - select some dependencies needed for tests
 - use install_glob instead of install_three
 - use "call ptx/endis" to configure the tests
 - add "util-linux-ng: make mkfs configurable" patch

Oleksij Rempel (2):
  util-linux-ng: make mkfs configurable
  ecryptfs-utils: provide option for test scripts

 rules/ecryptfs-utils.in   | 12 
 rules/ecryptfs-utils.make |  8 +++-
 rules/util-linux-ng.in|  7 +++
 rules/util-linux-ng.make  |  3 +++
 4 files changed, 29 insertions(+), 1 deletion(-)

-- 
2.11.0


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH v2 1/2] util-linux-ng: make mkfs configurable

2017-06-23 Thread Oleksij Rempel
mkfs is used by ecryptfs-tools/tests.

Signed-off-by: Oleksij Rempel 
---
 rules/util-linux-ng.in   | 7 +++
 rules/util-linux-ng.make | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index 8141a392f..d936dfe56 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -400,4 +400,11 @@ config UTIL_LINUX_NG_CHMEM
  The chmem command sets a particular size or range of
   memory online or offline.
 
+config UTIL_LINUX_NG_MKFS
+   bool
+   prompt "mkfs"
+   help
+ The mkfs command is a generic wrapper for fs specific
+  mkfs.* commands.
+
 endif
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index 9905a50ed..a0915bc02 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -297,6 +297,9 @@ endif
 ifdef PTXCONF_UTIL_LINUX_NG_ZRAMCTL
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/zramctl)
 endif
+ifdef PTXCONF_UTIL_LINUX_NG_MKFS
+   @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/mkfs)
+endif
 
@$(call install_finish, util-linux-ng)
 
-- 
2.11.0


___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] Ptxdists use of pkg-config causing issues with Qt-5.9

2017-06-23 Thread Baeuerle, Florian
Hello,

I've been working on getting Qt-5.9 built with the latest ptxdist and I
encountered a bug which is related to the way, ptxdist uses pkg-config.

I already found a (hacky) workaround, but I think the root cause
actually is how ptxdist uses pkg-config.

The problem is already described in the Qt-Bug-Tracker in detail, so
I'll just refer to that:

https://bugreports.qt.io/browse/QTBUG-61593


Kindest Regards
Florian Bäuerle
___
ptxdist mailing list
ptxdist@pengutronix.de

[ptxdist] [PATCH] mesalib: version bump 17.1.1 -> 17.1.3

2017-06-23 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/mesalib.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/mesalib.make b/rules/mesalib.make
index 5d0a62ad3..268ef4f1c 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -19,8 +19,8 @@ PACKAGES-$(PTXCONF_MESALIB) += mesalib
 #
 # Paths and names
 #
-MESALIB_VERSION:= 17.1.1
-MESALIB_MD5:= a4844bc6052578574f9629458bcbb749
+MESALIB_VERSION:= 17.1.3
+MESALIB_MD5:= 1946a93d543bc219427e2bebe2ac4752
 MESALIB:= mesa-$(MESALIB_VERSION)
 MESALIB_SUFFIX := tar.xz
 MESALIB_URL:= \
-- 
2.11.0


___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] Best BSP to start with Raspberry?

2017-06-23 Thread Alexander Dahl
Hei hei,

On Thu, Jun 22, 2017 at 07:52:37PM +0200, Fritz Emboli wrote:
> i'm trying to use a Raspberry 2/3 with ptxdist.
> What is the best BSP to start with?

You may just have a look a DistroKit by pengutronix:
https://git.pengutronix.de/cgit/DistroKit

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.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: C28E E6B9 0263 95CF 8FAF  08FA 34AD CD00 7221 5CC6 ***


pgpNwVP6lMqnr.pgp
Description: PGP signature
___
ptxdist mailing list
ptxdist@pengutronix.de