[ptxdist] [PATCH] image-rauc: allow selecting the bundle type (plain or verity)

2021-09-30 Thread Roland Hieber
Newer setups probably want to use the improved 'verity' format, while
existing setups probably need to stay with 'plain' to provide an upgrade
path. See the discussion of the differences between the formats in
.

Reported-by: Alexander Dahl 
Signed-off-by: Roland Hieber 
---
 config/images/rauc.config |  5 -
 platforms/image-rauc.in   | 15 +++
 rules/image-rauc.make |  1 +
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/config/images/rauc.config b/config/images/rauc.config
index 0c824f00e5d3..ddf40fb17054 100644
--- a/config/images/rauc.config
+++ b/config/images/rauc.config
@@ -7,7 +7,10 @@ image @IMAGE@ {
version=@RAUC_BUNDLE_VERSION@
build=@RAUC_BUNDLE_BUILD@
description=@RAUC_BUNDLE_DESCRIPTION@
-
+   
+   [bundle]
+   format=@RAUC_BUNDLE_FORMAT@
+   
[image.rootfs]
filename=root.tar.gz
"
diff --git a/platforms/image-rauc.in b/platforms/image-rauc.in
index 1f9427b40f42..3fa5dfc8c13a 100644
--- a/platforms/image-rauc.in
+++ b/platforms/image-rauc.in
@@ -26,4 +26,19 @@ config IMAGE_RAUC_DESCRIPTION
help
  Optional description that will be placed in the Bundles metadata.
 
+choice
+   prompt "Bundle format"
+
+config IMAGE_RAUC_BUNDLE_FORMAT_PLAIN
+   bool "plain"
+   help
+ The old bundle format, which since rauc 1.5 is now known as 'plain'.
+
+config IMAGE_RAUC_BUNDLE_FORMAT_VERITY
+   bool "verity"
+   help
+ The improved 'verity' bundle format
+
+endchoice
+
 endif
diff --git a/rules/image-rauc.make b/rules/image-rauc.make
index fe1b0e89be7c..d70114aa2b85 100644
--- a/rules/image-rauc.make
+++ b/rules/image-rauc.make
@@ -29,6 +29,7 @@ ifdef PTXCONF_IMAGE_RAUC
 IMAGE_RAUC_ENV = \
$(CODE_SIGNING_ENV) \
RAUC_BUNDLE_COMPATIBLE="$(call 
remove_quotes,$(PTXCONF_RAUC_COMPATIBLE))" \
+   RAUC_BUNDLE_FORMAT="$(call 
ptx/ifdef,PTXCONF_IMAGE_RAUC_BUNDLE_FORMAT_VERITY,verity,plain)" \
RAUC_BUNDLE_VERSION="$(call remove_quotes, 
$(PTXCONF_RAUC_BUNDLE_VERSION))" \
RAUC_BUNDLE_BUILD=$(call ptx/sh, date +%FT%T%z) \
RAUC_BUNDLE_DESCRIPTION=$(PTXCONF_IMAGE_RAUC_DESCRIPTION) \
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] image-rauc: fix typos and improve clarity of help texts

2021-09-30 Thread Roland Hieber
Signed-off-by: Roland Hieber 
---
 platforms/image-rauc.in | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/platforms/image-rauc.in b/platforms/image-rauc.in
index 3fa5dfc8c13a..1c59670925d3 100644
--- a/platforms/image-rauc.in
+++ b/platforms/image-rauc.in
@@ -8,14 +8,14 @@ menuconfig IMAGE_RAUC
select IMAGE_ROOT_TGZ
select CODE_SIGNING
help
- This generates a RAUC update Bundle for the selected platform using
+ This generates a RAUC update bundle for the selected platform using
  genimage.
 
- By default, this will create a simple Bundle for updating a 'rootfs'
+ By default, this will create a simple bundle for updating a 'rootfs'
  slot with the content from PTXdist's root file system .tgz image.
 
  To customize the bundle, copy and adapt the genimage configuration
- file rauc.config.
+ in configs/images/rauc.config.
 
 if IMAGE_RAUC
 
@@ -24,7 +24,7 @@ config IMAGE_RAUC_DESCRIPTION
string
default ""
help
- Optional description that will be placed in the Bundles metadata.
+ Optional description that will be placed in the bundle's metadata.
 
 choice
prompt "Bundle format"
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] rootfs: /dev/null creation fails with 'Operation not permitted'

2021-09-30 Thread Koch, Alexander
Am Thu, 30 Sep 2021 12:00:50 +
schrieb "Koch, Alexander" :

> Am Thu, 30 Sep 2021 12:44:34 +0200
> schrieb Michael Olbrich :
> 
> > On Thu, Sep 30, 2021 at 07:59:45AM +, Koch, Alexander wrote:  
> > > Hi #PTXdist,
> > > 
> > > I'm currently facing the issue that all my PTXdist builds fail in 
> > > 'rootfs.make' during the creation of the /dev/null device node:
> > > 
> > > 
> > > --( ... )--
> > > 
> > > install directory:
> > >    dir=/dev
> > >    owner=0
> > >    group=0
> > >    permissions=0755
> > > 
> > > install device node:
> > >    owner=0
> > >    group=0
> > >    permissions=0666
> > >    type=c
> > >    major=1
> > >    minor=3
> > >    name=/dev/null
> > > 
> > > mknod:
> > > /mnt/work/ptxdist/platform-pm3/packages/rootfs.tmp/dev/null:
> > > Operation not permitted Error: install_node failed!
> > > 
> > > xpkg_finish: failed.
> > > 
> > > make: *** [/usr/lib/ptxdist-2020.01.0/rules/rootfs.make:93: 
> > > /mnt/work/ptxdist/platform-pm3/state/rootfs.targetinstall] Error 1
> > > 
> > > 
> > > 
> > > 
> > > As you can see I'm using ptxdist-2020.01.0 for this but I've taken
> > > a look at the current release code base and can't see any
> > > substantial changes to the device node creation part in
> > > `install_node()`. So I doubt it's an issue of that particular
> > > version.
> > > 
> > > I've also checked I'm not using any fancy mount options for the 
> > > filesystem I'm building on (btrfs) and I do not use
> > > SELinux/AppArmor or any other restriction framework.
> > > 
> > > Builds used to work fine for years, so I'm running out of clues
> > > what could be causing this issue.
> > > 
> > > 
> > > Does anybody have an idea what I could check?
> > 
> > mknod is run with fakeroot specifically to avoid permissions errors
> > like this. So either fakeroot is not working properly or there is
> > some bad interaction with btrfs.
> > Can you run mknod with platform-*/sysroot-host/bin/fakeroot to see
> > if it works manually?
> > Try to create a device file on the same filesystem but also on a
> > tmpfs. Do you get the same errors?  
> 
> Thanks for the hint with `fakeroot`.
> 
> It seems that one is not working at all, I get the exact same
> permission error as when running without it.
> 
> And I do even get it on a fresh tmpfs:
> 
>   $ mkdir /tmp/test-fs
>   $ sudo mount -t tmpfs -o dev none /tmp/test-fs
>   $ ./platform-pm3/sysroot-host/bin/fakeroot -- mknod \
>   /tmp/test-fs/null c 1 3
>   mknod: /tmp/test-fs/null: Operation not permitted
> 
> 
> Maybe I should backport the latest 'fakeroot' package into my PTXdist
> project?
> 

Confirmed: upgrading 'host-fakeroot' to the latest package version
1.25.3 fixes the issue.

Upstream (as well as Arch) has 1.26 but it seems that's not a trivial
upgrade so I'll stick with 1.25.3.

Thanks again for the hint!


Best regards,

Alex
___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] rootfs: /dev/null creation fails with 'Operation not permitted'

2021-09-30 Thread Koch, Alexander
Am Thu, 30 Sep 2021 12:44:34 +0200
schrieb Michael Olbrich :

> On Thu, Sep 30, 2021 at 07:59:45AM +, Koch, Alexander wrote:
> > Hi #PTXdist,
> > 
> > I'm currently facing the issue that all my PTXdist builds fail in 
> > 'rootfs.make' during the creation of the /dev/null device node:
> > 
> > 
> > --( ... )--
> > 
> > install directory:
> >    dir=/dev
> >    owner=0
> >    group=0
> >    permissions=0755
> > 
> > install device node:
> >    owner=0
> >    group=0
> >    permissions=0666
> >    type=c
> >    major=1
> >    minor=3
> >    name=/dev/null
> > 
> > mknod: /mnt/work/ptxdist/platform-pm3/packages/rootfs.tmp/dev/null: 
> > Operation not permitted
> > Error: install_node failed!
> > 
> > xpkg_finish: failed.
> > 
> > make: *** [/usr/lib/ptxdist-2020.01.0/rules/rootfs.make:93: 
> > /mnt/work/ptxdist/platform-pm3/state/rootfs.targetinstall] Error 1
> > 
> > 
> > 
> > 
> > As you can see I'm using ptxdist-2020.01.0 for this but I've taken
> > a look at the current release code base and can't see any
> > substantial changes to the device node creation part in
> > `install_node()`. So I doubt it's an issue of that particular
> > version.
> > 
> > I've also checked I'm not using any fancy mount options for the 
> > filesystem I'm building on (btrfs) and I do not use
> > SELinux/AppArmor or any other restriction framework.
> > 
> > Builds used to work fine for years, so I'm running out of clues
> > what could be causing this issue.
> > 
> > 
> > Does anybody have an idea what I could check?  
> 
> mknod is run with fakeroot specifically to avoid permissions errors
> like this. So either fakeroot is not working properly or there is
> some bad interaction with btrfs.
> Can you run mknod with platform-*/sysroot-host/bin/fakeroot to see if
> it works manually?
> Try to create a device file on the same filesystem but also on a
> tmpfs. Do you get the same errors?

Thanks for the hint with `fakeroot`.

It seems that one is not working at all, I get the exact same
permission error as when running without it.

And I do even get it on a fresh tmpfs:

  $ mkdir /tmp/test-fs
  $ sudo mount -t tmpfs -o dev none /tmp/test-fs
  $ ./platform-pm3/sysroot-host/bin/fakeroot -- mknod \
  /tmp/test-fs/null c 1 3
  mknod: /tmp/test-fs/null: Operation not permitted


Maybe I should backport the latest 'fakeroot' package into my PTXdist
project?

I've also noticed on our buildserver everything still works fine so
it's definitely an issue with my local machine. It's an up-to-date Arch
Linux so maybe there's something new that breaks `fakeroot`...


Cheers,

Alex
___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH v2] libgpiod: version bump 1.3 -> 1.6.3

2021-09-30 Thread Thorsten Scherer
- bump version
- reflect change in libgpiod commit 0dd2125 ("tests: remove make check
  target") and remove '--disable-install-tests'
- fix linking of cxx bindings

Signed-off-by: Thorsten Scherer 
---
 rules/libgpiod.make | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/rules/libgpiod.make b/rules/libgpiod.make
index a30a03f87..7a05d1fd1 100644
--- a/rules/libgpiod.make
+++ b/rules/libgpiod.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBGPIOD) += libgpiod
 #
 # Paths and names
 #
-LIBGPIOD_VERSION   := 1.3
-LIBGPIOD_MD5   := 70a3d4738495f4ec0c5f3fa6aeb999ed
+LIBGPIOD_VERSION   := 1.6.3
+LIBGPIOD_MD5   := 25b6d8e7ebda37bb9b55aa290af0f062
 LIBGPIOD   := libgpiod-$(LIBGPIOD_VERSION)
 LIBGPIOD_SUFFIX:= tar.gz
 LIBGPIOD_URL   := 
https://www.kernel.org/pub/software/libs/libgpiod/$(LIBGPIOD).$(LIBGPIOD_SUFFIX)
@@ -32,7 +32,6 @@ LIBGPIOD_CONF_TOOL:= autoconf
 LIBGPIOD_CONF_OPT  := \
$(CROSS_AUTOCONF_USR) \
--$(call ptx/endis, PTXCONF_LIBGPIOD_TOOLS)-tools \
-   --disable-install-tests \
--disable-tests \
--$(call ptx/endis, PTXCONF_LIBGPIOD_CXX)-bindings-cxx \
--$(call ptx/endis, PTXCONF_LIBGPIOD_PYTHON3)-bindings-python
@@ -47,6 +46,8 @@ LIBGPIOD_CPPFLAGS := \
-isystem $(KERNEL_HEADERS_INCLUDE_DIR)
 endif
 
+LIBGPIOD_LDFLAGS:= -Wl,-rpath-link,$(LIBGPIOD_DIR)/lib/.libs
+
 LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIODETECT)  += gpiodetect
 LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOINFO)+= gpioinfo
 LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOGET) += gpioget
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH] libgpiod: version bump 1.3 -> 1.6.3

2021-09-30 Thread Thorsten Scherer
forgot the -v2 option. Will resend. Sorry for the noise.

On Thu, Sep 30, 2021 at 05:09:45PM +0200, Thorsten Scherer wrote:
> - bump version
> - reflect change in libgpiod commit 0dd2125 ("tests: remove make check
>   target") and remove '--disable-install-tests'
> - fix linking of cxx bindings
> 
> Signed-off-by: Thorsten Scherer 
> ---
>  rules/libgpiod.make | 7 ---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/rules/libgpiod.make b/rules/libgpiod.make
> index a30a03f87..7a05d1fd1 100644
> --- a/rules/libgpiod.make
> +++ b/rules/libgpiod.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBGPIOD) += libgpiod
>  #
>  # Paths and names
>  #
> -LIBGPIOD_VERSION := 1.3
> -LIBGPIOD_MD5 := 70a3d4738495f4ec0c5f3fa6aeb999ed
> +LIBGPIOD_VERSION := 1.6.3
> +LIBGPIOD_MD5 := 25b6d8e7ebda37bb9b55aa290af0f062
>  LIBGPIOD := libgpiod-$(LIBGPIOD_VERSION)
>  LIBGPIOD_SUFFIX  := tar.gz
>  LIBGPIOD_URL := 
> https://www.kernel.org/pub/software/libs/libgpiod/$(LIBGPIOD).$(LIBGPIOD_SUFFIX)
> @@ -32,7 +32,6 @@ LIBGPIOD_CONF_TOOL  := autoconf
>  LIBGPIOD_CONF_OPT:= \
>   $(CROSS_AUTOCONF_USR) \
>   --$(call ptx/endis, PTXCONF_LIBGPIOD_TOOLS)-tools \
> - --disable-install-tests \
>   --disable-tests \
>   --$(call ptx/endis, PTXCONF_LIBGPIOD_CXX)-bindings-cxx \
>   --$(call ptx/endis, PTXCONF_LIBGPIOD_PYTHON3)-bindings-python
> @@ -47,6 +46,8 @@ LIBGPIOD_CPPFLAGS   := \
>   -isystem $(KERNEL_HEADERS_INCLUDE_DIR)
>  endif
>  
> +LIBGPIOD_LDFLAGS:= -Wl,-rpath-link,$(LIBGPIOD_DIR)/lib/.libs
> +
>  LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIODETECT)+= gpiodetect
>  LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOINFO)  += gpioinfo
>  LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOGET)   += gpioget
> -- 
> 2.30.2
> 

Kind regards
Thorsten

--
Thorsten Scherer | Eckelmann AG | www.eckelmann.de |

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 10/10] gstreamer-vaapi1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gstreamer-vaapi1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gstreamer-vaapi1.make b/rules/gstreamer-vaapi1.make
index f4142ea974e2..92995d7d750d 100644
--- a/rules/gstreamer-vaapi1.make
+++ b/rules/gstreamer-vaapi1.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GSTREAMER_VAAPI1) += gstreamer-vaapi1
 #
 # Paths and names
 #
-GSTREAMER_VAAPI1_VERSION   := 1.18.4
-GSTREAMER_VAAPI1_MD5   := 07d334476b3a7195033692fdb42b78d5
+GSTREAMER_VAAPI1_VERSION   := 1.18.5
+GSTREAMER_VAAPI1_MD5   := aae78428770dd3cc3673b2e3b50931f6
 GSTREAMER_VAAPI1   := gstreamer-vaapi-$(GSTREAMER_VAAPI1_VERSION)
 GSTREAMER_VAAPI1_SUFFIX:= tar.xz
 GSTREAMER_VAAPI1_URL   := 
http://gstreamer.freedesktop.org/src/gstreamer-vaapi/$(GSTREAMER_VAAPI1).$(GSTREAMER_VAAPI1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 09/10] gst-rtsp-server1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gst-rtsp-server1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gst-rtsp-server1.make b/rules/gst-rtsp-server1.make
index b475238a45ad..73e22891899a 100644
--- a/rules/gst-rtsp-server1.make
+++ b/rules/gst-rtsp-server1.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_RTSP_SERVER1) += gst-rtsp-server1
 #
 # Paths and names
 #
-GST_RTSP_SERVER1_VERSION   := 1.18.4
-GST_RTSP_SERVER1_MD5   := e96d617840fb534bb4e7a629db10bdef
+GST_RTSP_SERVER1_VERSION   := 1.18.5
+GST_RTSP_SERVER1_MD5   := 7f9cc2f69d0cf401fb14fe73624a28fe
 GST_RTSP_SERVER1   := gst-rtsp-server-$(GST_RTSP_SERVER1_VERSION)
 GST_RTSP_SERVER1_SUFFIX:= tar.xz
 GST_RTSP_SERVER1_URL   := 
http://gstreamer.freedesktop.org/src/gst-rtsp/$(GST_RTSP_SERVER1).$(GST_RTSP_SERVER1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 08/10] gst-python1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gst-python1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gst-python1.make b/rules/gst-python1.make
index 1a942bff9ac1..327d20014e40 100644
--- a/rules/gst-python1.make
+++ b/rules/gst-python1.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_PYTHON1) += gst-python1
 #
 # Paths and names
 #
-GST_PYTHON1_VERSION:= 1.18.4
-GST_PYTHON1_MD5:= 19696a9c0b0b5a3131ac1299acb2b97b
+GST_PYTHON1_VERSION:= 1.18.5
+GST_PYTHON1_MD5:= eb19229f72f61506e33182a6fbce4a2e
 GST_PYTHON1:= gst-python-$(GST_PYTHON1_VERSION)
 GST_PYTHON1_SUFFIX := tar.xz
 GST_PYTHON1_URL:= 
http://gstreamer.freedesktop.org/src/gst-python/$(GST_PYTHON1).$(GST_PYTHON1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 07/10] gst-libav1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gst-libav1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gst-libav1.make b/rules/gst-libav1.make
index b96841e8171e..599e5d93eecf 100644
--- a/rules/gst-libav1.make
+++ b/rules/gst-libav1.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_LIBAV1) += gst-libav1
 #
 # Paths and names
 #
-GST_LIBAV1_VERSION := 1.18.4
-GST_LIBAV1_MD5 := 71bd312207411fb69364b19b4b249331
+GST_LIBAV1_VERSION := 1.18.5
+GST_LIBAV1_MD5 := 9a49ce948d4e400b6e1b073d0e034080
 GST_LIBAV1 := gst-libav-$(GST_LIBAV1_VERSION)
 GST_LIBAV1_SUFFIX  := tar.xz
 GST_LIBAV1_URL := 
http://gstreamer.freedesktop.org/src/gst-libav/$(GST_LIBAV1).$(GST_LIBAV1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 06/10] gst-plugins-ugly1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gst-plugins-ugly1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gst-plugins-ugly1.make b/rules/gst-plugins-ugly1.make
index 95de6df0af40..0050c51782ac 100644
--- a/rules/gst-plugins-ugly1.make
+++ b/rules/gst-plugins-ugly1.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_UGLY1) += gst-plugins-ugly1
 #
 # Paths and names
 #
-GST_PLUGINS_UGLY1_VERSION  := 1.18.4
-GST_PLUGINS_UGLY1_MD5  := e5fbd9a8a05632cfb9d0afd0ad856d52
+GST_PLUGINS_UGLY1_VERSION  := 1.18.5
+GST_PLUGINS_UGLY1_MD5  := 049f90b7a3a72e241ad47564b5cd7a7a
 GST_PLUGINS_UGLY1  := gst-plugins-ugly-$(GST_PLUGINS_UGLY1_VERSION)
 GST_PLUGINS_UGLY1_SUFFIX   := tar.xz
 GST_PLUGINS_UGLY1_URL  := 
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/$(GST_PLUGINS_UGLY1).$(GST_PLUGINS_UGLY1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 05/10] gst-plugins-bad1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gst-plugins-bad1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gst-plugins-bad1.make b/rules/gst-plugins-bad1.make
index 1dd999c55827..0a30177d293f 100644
--- a/rules/gst-plugins-bad1.make
+++ b/rules/gst-plugins-bad1.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_BAD1) += gst-plugins-bad1
 #
 # Paths and names
 #
-GST_PLUGINS_BAD1_VERSION   := 1.18.4
-GST_PLUGINS_BAD1_MD5   := 8a73b497613a9f778e880b8a9eb9c1a3
+GST_PLUGINS_BAD1_VERSION   := 1.18.5
+GST_PLUGINS_BAD1_MD5   := 4ab1c19c3cf1ba79c20c65f6be78e7fd
 GST_PLUGINS_BAD1   := gst-plugins-bad-$(GST_PLUGINS_BAD1_VERSION)
 GST_PLUGINS_BAD1_SUFFIX:= tar.xz
 GST_PLUGINS_BAD1_URL   := 
http://gstreamer.freedesktop.org/src/gst-plugins-bad/$(GST_PLUGINS_BAD1).$(GST_PLUGINS_BAD1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 03/10] gst-plugins-base1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gst-plugins-base1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gst-plugins-base1.make b/rules/gst-plugins-base1.make
index 25e4f20e75d6..f84bb6653c6c 100644
--- a/rules/gst-plugins-base1.make
+++ b/rules/gst-plugins-base1.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_BASE1) += gst-plugins-base1
 #
 # Paths and names
 #
-GST_PLUGINS_BASE1_VERSION  := 1.18.4
-GST_PLUGINS_BASE1_MD5  := 523336ed6938b8b1004847cbbd5e31cb
+GST_PLUGINS_BASE1_VERSION  := 1.18.5
+GST_PLUGINS_BASE1_MD5  := 69b23213a6bb79d6d1b8371a9dd3e82e
 GST_PLUGINS_BASE1  := gst-plugins-base-$(GST_PLUGINS_BASE1_VERSION)
 GST_PLUGINS_BASE1_SUFFIX   := tar.xz
 GST_PLUGINS_BASE1_URL  := 
http://gstreamer.freedesktop.org/src/gst-plugins-base/$(GST_PLUGINS_BASE1).$(GST_PLUGINS_BASE1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 04/10] gst-plugins-good1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gst-plugins-good1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gst-plugins-good1.make b/rules/gst-plugins-good1.make
index c7beedfd04fe..07939c27ec54 100644
--- a/rules/gst-plugins-good1.make
+++ b/rules/gst-plugins-good1.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_PLUGINS_GOOD1) += gst-plugins-good1
 #
 # Paths and names
 #
-GST_PLUGINS_GOOD1_VERSION  := 1.18.4
-GST_PLUGINS_GOOD1_MD5  := 4ecf1ac5cd422d9c13fe05dbf5e3df26
+GST_PLUGINS_GOOD1_VERSION  := 1.18.5
+GST_PLUGINS_GOOD1_MD5  := 1c8ec6b14d166d7affbb216e863c9e42
 GST_PLUGINS_GOOD1  := gst-plugins-good-$(GST_PLUGINS_GOOD1_VERSION)
 GST_PLUGINS_GOOD1_SUFFIX   := tar.xz
 GST_PLUGINS_GOOD1_URL  := 
http://gstreamer.freedesktop.org/src/gst-plugins-good/$(GST_PLUGINS_GOOD1).$(GST_PLUGINS_GOOD1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 02/10] gst-devtools1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gst-devtools1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gst-devtools1.make b/rules/gst-devtools1.make
index 3943d0da3932..0307b938bd86 100644
--- a/rules/gst-devtools1.make
+++ b/rules/gst-devtools1.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_GST_DEVTOOLS1) += gst-devtools1
 #
 # Paths and names
 #
-GST_DEVTOOLS1_VERSION  := 1.18.4
-GST_DEVTOOLS1_MD5  := ef26ae2311be44127243dc99ff475059
+GST_DEVTOOLS1_VERSION  := 1.18.5
+GST_DEVTOOLS1_MD5  := 12656dc06805c4de8e3ee48d80545785
 GST_DEVTOOLS1  := gst-devtools-$(GST_DEVTOOLS1_VERSION)
 GST_DEVTOOLS1_SUFFIX   := tar.xz
 GST_DEVTOOLS1_URL  := 
http://gstreamer.freedesktop.org/data/src/gst-devtools/$(GST_DEVTOOLS1).$(GST_DEVTOOLS1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH 01/10] gstreamer1: version bump 1.18.4 -> 1.18.5

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/gstreamer1.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/gstreamer1.make b/rules/gstreamer1.make
index e1433d31f744..d6c4eff1006a 100644
--- a/rules/gstreamer1.make
+++ b/rules/gstreamer1.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_GSTREAMER1) += gstreamer1
 #
 # Paths and names
 #
-GSTREAMER1_VERSION := 1.18.4
-GSTREAMER1_MD5 := fe381e1e910e622fee44692e865f7229
+GSTREAMER1_VERSION := 1.18.5
+GSTREAMER1_MD5 := d7e7ba88a1ccb431d754bd9474728c22
 GSTREAMER1 := gstreamer-$(GSTREAMER1_VERSION)
 GSTREAMER1_SUFFIX  := tar.xz
 GSTREAMER1_URL := 
http://gstreamer.freedesktop.org/src/gstreamer/$(GSTREAMER1).$(GSTREAMER1_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] libgpiod: version bump 1.3 -> 1.6.3

2021-09-30 Thread Thorsten Scherer
- bump version
- reflect change in libgpiod commit 0dd2125 ("tests: remove make check
  target") and remove '--disable-install-tests'
- fix linking of cxx bindings

Signed-off-by: Thorsten Scherer 
---
 rules/libgpiod.make | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/rules/libgpiod.make b/rules/libgpiod.make
index a30a03f87..7a05d1fd1 100644
--- a/rules/libgpiod.make
+++ b/rules/libgpiod.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBGPIOD) += libgpiod
 #
 # Paths and names
 #
-LIBGPIOD_VERSION   := 1.3
-LIBGPIOD_MD5   := 70a3d4738495f4ec0c5f3fa6aeb999ed
+LIBGPIOD_VERSION   := 1.6.3
+LIBGPIOD_MD5   := 25b6d8e7ebda37bb9b55aa290af0f062
 LIBGPIOD   := libgpiod-$(LIBGPIOD_VERSION)
 LIBGPIOD_SUFFIX:= tar.gz
 LIBGPIOD_URL   := 
https://www.kernel.org/pub/software/libs/libgpiod/$(LIBGPIOD).$(LIBGPIOD_SUFFIX)
@@ -32,7 +32,6 @@ LIBGPIOD_CONF_TOOL:= autoconf
 LIBGPIOD_CONF_OPT  := \
$(CROSS_AUTOCONF_USR) \
--$(call ptx/endis, PTXCONF_LIBGPIOD_TOOLS)-tools \
-   --disable-install-tests \
--disable-tests \
--$(call ptx/endis, PTXCONF_LIBGPIOD_CXX)-bindings-cxx \
--$(call ptx/endis, PTXCONF_LIBGPIOD_PYTHON3)-bindings-python
@@ -47,6 +46,8 @@ LIBGPIOD_CPPFLAGS := \
-isystem $(KERNEL_HEADERS_INCLUDE_DIR)
 endif
 
+LIBGPIOD_LDFLAGS:= -Wl,-rpath-link,$(LIBGPIOD_DIR)/lib/.libs
+
 LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIODETECT)  += gpiodetect
 LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOINFO)+= gpioinfo
 LIBGPIOD_TOOLS-$(PTXCONF_LIBGPIOD_GPIOGET) += gpioget
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH] libgpiod: version bump 1.3 -> 1.6.3

2021-09-30 Thread Thorsten Scherer
On Wed, Sep 29, 2021 at 02:46:39PM +0200, Michael Olbrich wrote:
> >  
> > +LIBGPIOD_LDFLAGS:= -Wl,-rpath,$(LIBGPIOD_DIR)/lib/.libs
> 
> That's a build-time issue, right? In that case -rpath-link instead of
> -rpath should be used here.

Right. Will send a v2.

> Michael
> 

Kind regards
Thorsten

--
Thorsten Scherer | Eckelmann AG | www.eckelmann.de |

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] mesalib: version bump 21.2.2 -> 21.2.3

2021-09-30 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 574d7bdf97ba..1e2352225ea7 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_MESALIB) += mesalib
 #
 # Paths and names
 #
-MESALIB_VERSION:= 21.2.2
-MESALIB_MD5:= 25f4b3a8e92d20e2fc6231e253fce1ee
+MESALIB_VERSION:= 21.2.3
+MESALIB_MD5:= 3277cfd3ee15ca4b19c6c88618f60d3b
 MESALIB:= mesa-$(MESALIB_VERSION)
 MESALIB_SUFFIX := tar.xz
 MESALIB_URL:= \
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] TF-A FIP format and U-Boot

2021-09-30 Thread Guillermo Rodriguez Garcia
Hi Michael,

El jue, 30 sept 2021 a las 12:55, Michael Olbrich ()
escribió:

> Hi,
>
> On Wed, Sep 29, 2021 at 05:57:54PM +0200, Guillermo Rodriguez Garcia wrote:
> > TF-A recently introduced the FIP ("Firmware Image Package") which is a
> > format for embedding other bootloader images as payloads in a single
> > archive, which is then read and processed by TF-A.
> >
> > In platforms such as the stm32mp1 where TF-A is used in conjunction with
> > U-Boot, U-Boot is now embedded in the FIP image as part of the TF-A
> package
> > build.
> >
> > To achieve this we added a dependency in the TF-A rule files:
> >
> > select U_BOOT if TF_A_FIP
> >
> > The goal is to be able to build the fip command with a command similar to
> > this one:
> >
> > make ARM_ARCH_MAJOR=7 ARCH=aarch32 PLAT=stm32mp1 \
> >   BL33=/u-boot-nodtb.bin \
> >   BL33_CFG=/u-boot.dtb \
> >   BL32=/bl32.bin \
> >   FW_CONFIG=/fw-config.dtb \
> >   DTB_FILE_NAME=.dtb \
> >   fip
> >
> > The problem is that the dependency set in the tf-a.in file only ensures
> > that the install target of u-boot will run before the install target of
> > tf-a, but at that time the images have not yet been copied to their final
> > destination (platform/images..). Which is the proper way to work around
> > this?
>
> So, the way dependencies work in ptxdist, installing files in the
> targetinstall stage in one package and then using it in a build stage in
> another regular package (image packages are different here) is not
> possible.
> This issue has come up before and I've looked for a good solution but
> changing the dependencies is unfortunately not possible.
>

I understand.


>
> So for such a use-case, the files must be installed in the install stage.
> Note, that you cannot install the files into platform/images:
> 'ptxdist clean root' will remove that but only cleans the targetinstall
> stages, so afterwards the files will be missing.
>
> So I suggest the files are installed to
> $(_PKGDIR)/usr/lib//
> The install stage will then copy the files to sysroot-target and the next
> package can find the files there.
>

Uhm, the files themselves are not needed in the target fs; they are only
required as intermediate files to build the FIP image.
Should I still copy them to sysroot-target?

Thanks,

Guillermo
___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] rootfs: /dev/null creation fails with 'Operation not permitted'

2021-09-30 Thread Koch, Alexander
Hi #PTXdist,

I'm currently facing the issue that all my PTXdist builds fail in 
'rootfs.make' during the creation of the /dev/null device node:


--( ... )--

install directory:
   dir=/dev
   owner=0
   group=0
   permissions=0755

install device node:
   owner=0
   group=0
   permissions=0666
   type=c
   major=1
   minor=3
   name=/dev/null

mknod: /mnt/work/ptxdist/platform-pm3/packages/rootfs.tmp/dev/null: 
Operation not permitted
Error: install_node failed!

xpkg_finish: failed.

make: *** [/usr/lib/ptxdist-2020.01.0/rules/rootfs.make:93: 
/mnt/work/ptxdist/platform-pm3/state/rootfs.targetinstall] Error 1




As you can see I'm using ptxdist-2020.01.0 for this but I've taken a 
look at the current release code base and can't see any substantial 
changes to the device node creation part in `install_node()`. So I doubt 
it's an issue of that particular version.

I've also checked I'm not using any fancy mount options for the 
filesystem I'm building on (btrfs) and I do not use SELinux/AppArmor or 
any other restriction framework.

Builds used to work fine for years, so I'm running out of clues what 
could be causing this issue.


Does anybody have an idea what I could check?


Thanks in advance,

Alex
___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] [PATCH] u-boot: Add support for u-boot.dtb and u-boot-nodtb.bin

2021-09-30 Thread Michael Olbrich
On Sun, Sep 19, 2021 at 10:47:29AM +0200, avazquez@gmail.com wrote:
> From: Alejandro Vazquez 
> 
> Adds support for copying u-boot.dtb and u-boot-nodtb.bin to the
> platform image directory.
> These files might be required by external tools
> Ex: TF-A to generate FIP images.

Hmmm, are you sure this works as expected? See this[1] discussion about
that topic as well.

Michael

[1] https://lore.ptxdist.org/ptxdist/20210930105515.gp18...@pengutronix.de/

> Signed-off-by: Alejandro Vazquez 
> ---
>  platforms/u-boot.in | 14 ++
>  rules/u-boot.make   |  6 ++
>  2 files changed, 20 insertions(+)
> 
> diff --git a/platforms/u-boot.in b/platforms/u-boot.in
> index 4ddf3b3fb..3422f5018 100644
> --- a/platforms/u-boot.in
> +++ b/platforms/u-boot.in
> @@ -247,5 +247,19 @@ config U_BOOT_INSTALL_U_BOOT_STM32
> platform image directory. Say yes if you are building for STM32MP1
> SOCs.
>  
> +config U_BOOT_INSTALL_U_BOOT_NO_DTB
> + prompt "install u-boot-nodtb.bin"
> + bool
> + help
> +   Installing the U-Boot binary without the device tree
> +   into platform image directory.
> +
> +config U_BOOT_INSTALL_DTB
> + prompt "install u-boot.dtb"
> + bool
> + help
> +   Installing the device tree binary into platform image directory.
> +
> +
>  endif
>  
> diff --git a/rules/u-boot.make b/rules/u-boot.make
> index 38c32bf27..bda0445f1 100644
> --- a/rules/u-boot.make
> +++ b/rules/u-boot.make
> @@ -177,6 +177,12 @@ endif
>  ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_STM32
>   @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot.stm32 
> $(IMAGEDIR)/u-boot.stm32
>  endif
> +ifdef PTXCONF_U_BOOT_INSTALL_U_BOOT_NO_DTB
> + @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot-nodtb.bin 
> $(IMAGEDIR)/u-boot-nodtb.bin
> +endif
> +ifdef PTXCONF_U_BOOT_INSTALL_DTB
> + @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot.dtb 
> $(IMAGEDIR)/u-boot.dtb
> +endif
>  ifndef PTXCONF_U_BOOT_ENV_IMAGE_NONE
>   @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot-env.img \
>   $(IMAGEDIR)/u-boot-env.img
> -- 
> 2.25.1
> 
> 
> ___
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to 
> ptxdist-requ...@pengutronix.de
> 

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] TF-A FIP format and U-Boot

2021-09-30 Thread Michael Olbrich
Hi,

On Wed, Sep 29, 2021 at 05:57:54PM +0200, Guillermo Rodriguez Garcia wrote:
> TF-A recently introduced the FIP ("Firmware Image Package") which is a
> format for embedding other bootloader images as payloads in a single
> archive, which is then read and processed by TF-A.
> 
> In platforms such as the stm32mp1 where TF-A is used in conjunction with
> U-Boot, U-Boot is now embedded in the FIP image as part of the TF-A package
> build.
> 
> To achieve this we added a dependency in the TF-A rule files:
> 
> select U_BOOT if TF_A_FIP
> 
> The goal is to be able to build the fip command with a command similar to
> this one:
> 
> make ARM_ARCH_MAJOR=7 ARCH=aarch32 PLAT=stm32mp1 \
>   BL33=/u-boot-nodtb.bin \
>   BL33_CFG=/u-boot.dtb \
>   BL32=/bl32.bin \
>   FW_CONFIG=/fw-config.dtb \
>   DTB_FILE_NAME=.dtb \
>   fip
> 
> The problem is that the dependency set in the tf-a.in file only ensures
> that the install target of u-boot will run before the install target of
> tf-a, but at that time the images have not yet been copied to their final
> destination (platform/images..). Which is the proper way to work around
> this?

So, the way dependencies work in ptxdist, installing files in the
targetinstall stage in one package and then using it in a build stage in
another regular package (image packages are different here) is not
possible.
This issue has come up before and I've looked for a good solution but
changing the dependencies is unfortunately not possible.

So for such a use-case, the files must be installed in the install stage.
Note, that you cannot install the files into platform/images:
'ptxdist clean root' will remove that but only cleans the targetinstall
stages, so afterwards the files will be missing.

So I suggest the files are installed to $(_PKGDIR)/usr/lib//
The install stage will then copy the files to sysroot-target and the next
package can find the files there.

Michael

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


Re: [ptxdist] rootfs: /dev/null creation fails with 'Operation not permitted'

2021-09-30 Thread Michael Olbrich
On Thu, Sep 30, 2021 at 07:59:45AM +, Koch, Alexander wrote:
> Hi #PTXdist,
> 
> I'm currently facing the issue that all my PTXdist builds fail in 
> 'rootfs.make' during the creation of the /dev/null device node:
> 
> 
> --( ... )--
> 
> install directory:
>    dir=/dev
>    owner=0
>    group=0
>    permissions=0755
> 
> install device node:
>    owner=0
>    group=0
>    permissions=0666
>    type=c
>    major=1
>    minor=3
>    name=/dev/null
> 
> mknod: /mnt/work/ptxdist/platform-pm3/packages/rootfs.tmp/dev/null: 
> Operation not permitted
> Error: install_node failed!
> 
> xpkg_finish: failed.
> 
> make: *** [/usr/lib/ptxdist-2020.01.0/rules/rootfs.make:93: 
> /mnt/work/ptxdist/platform-pm3/state/rootfs.targetinstall] Error 1
> 
> 
> 
> 
> As you can see I'm using ptxdist-2020.01.0 for this but I've taken a 
> look at the current release code base and can't see any substantial 
> changes to the device node creation part in `install_node()`. So I doubt 
> it's an issue of that particular version.
> 
> I've also checked I'm not using any fancy mount options for the 
> filesystem I'm building on (btrfs) and I do not use SELinux/AppArmor or 
> any other restriction framework.
> 
> Builds used to work fine for years, so I'm running out of clues what 
> could be causing this issue.
> 
> 
> Does anybody have an idea what I could check?

mknod is run with fakeroot specifically to avoid permissions errors like
this. So either fakeroot is not working properly or there is some bad
interaction with btrfs.
Can you run mknod with platform-*/sysroot-host/bin/fakeroot to see if it
works manually?
Try to create a device file on the same filesystem but also on a tmpfs.
Do you get the same errors?

Regards,
Michael

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] waffle: install wflinfo

2021-09-30 Thread Philipp Zabel
wflinfo is used by piglit sanity checks.

Signed-off-by: Philipp Zabel 
---
 rules/waffle.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/waffle.make b/rules/waffle.make
index 003ed8c0c9f9..108f5a7d3221 100644
--- a/rules/waffle.make
+++ b/rules/waffle.make
@@ -62,6 +62,7 @@ $(STATEDIR)/waffle.targetinstall:
@$(call install_fixup, waffle,DESCRIPTION,missing)
 
@$(call install_lib, waffle, 0, 0, 0644, libwaffle-1)
+   @$(call install_copy, waffle, 0, 0, 0755, -, /usr/bin/wflinfo)
 
@$(call install_finish, waffle)
 
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] wlroots: version bump 0.11.0 -> 0.14.1

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/wlroots.in   | 1 +
 rules/wlroots.make | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/rules/wlroots.in b/rules/wlroots.in
index f1ae225ec5d0..14260a521a00 100644
--- a/rules/wlroots.in
+++ b/rules/wlroots.in
@@ -15,6 +15,7 @@ menuconfig WLROOTS
select UDEV
select UDEV_LIBUDEV
select PIXMAN
+   select SEATD
select SYSTEMD  if WLROOTS_SYSTEMD
select SYSTEMD_LOGIND   if WLROOTS_SYSTEMD_LOGIND
prompt "wlroots   "
diff --git a/rules/wlroots.make b/rules/wlroots.make
index d866e14a7551..133b9365c0e8 100644
--- a/rules/wlroots.make
+++ b/rules/wlroots.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_WLROOTS) += wlroots
 #
 # Paths and names
 #
-WLROOTS_VERSION:= 0.11.0
-WLROOTS_MD5:= 3ed69ea05c4d3a05f96a9a859cb5f333
+WLROOTS_VERSION:= 0.14.1
+WLROOTS_MD5:= 3fbe8f81d2ba59362f041940869ed1e2
 WLROOTS:= wlroots-$(WLROOTS_VERSION)
 WLROOTS_SUFFIX := tar.gz
 WLROOTS_URL:= 
https://github.com/swaywm/wlroots/archive/$(WLROOTS_VERSION).$(WLROOTS_SUFFIX)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de


[ptxdist] [PATCH] pipewire: version bump 0.3.34 -> 0.3.37

2021-09-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/pipewire.make | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/rules/pipewire.make b/rules/pipewire.make
index 0058a11f053e..341f7141a6ec 100644
--- a/rules/pipewire.make
+++ b/rules/pipewire.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PIPEWIRE) += pipewire
 #
 # Paths and names
 #
-PIPEWIRE_VERSION   := 0.3.34
-PIPEWIRE_MD5   := 1da6f0e53dc8aa138f450e400a358b55
+PIPEWIRE_VERSION   := 0.3.37
+PIPEWIRE_MD5   := 7e69099ca3763761acca33bdc3e28e8d
 PIPEWIRE   := pipewire-$(PIPEWIRE_VERSION)
 PIPEWIRE_SUFFIX:= tar.bz2
 PIPEWIRE_URL   := 
https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION)/$(PIPEWIRE).$(PIPEWIRE_SUFFIX)
@@ -53,7 +53,6 @@ PIPEWIRE_CONF_OPT := \
-Dbluez5-codec-aptx=disabled \
-Dbluez5-codec-ldac=disabled \
-Dcontrol=enabled \
-   -Ddefault-session-manager=media-session \
-Ddocdir= \
-Ddocs=disabled \
-Decho-cancel-webrtc=disabled \
@@ -166,6 +165,7 @@ endif
@$(call install_copy, pipewire, 0, 0, 755, -, /usr/bin/spa-monitor)
@$(call install_copy, pipewire, 0, 0, 755, -, /usr/bin/spa-resample)
 
+   @$(call install_link, pipewire, pw-cat, /usr/bin/pw-dsdplay)
@$(call install_link, pipewire, pw-cat, /usr/bin/pw-midiplay)
@$(call install_link, pipewire, pw-cat, /usr/bin/pw-midirecord)
@$(call install_link, pipewire, pw-cat, /usr/bin/pw-play)
@@ -182,17 +182,17 @@ endif
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/client.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/client-rt.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/filter-chain/demonic.conf)
-   @$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/filter-chain/sink-convolver.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/filter-chain/sink-dolby-surround.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/filter-chain/sink-eq6.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/filter-chain/sink-matrix-spatialiser.conf)
+   @$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/filter-chain/sink-virtual-surround-5.1-kemar.conf)
+   @$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/filter-chain/sink-virtual-surround-7.1-hesuvi.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/filter-chain/source-rnnoise.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/pipewire.conf)
 ifdef PTXCONF_PIPEWIRE_PULSEAUDIO
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/pipewire-pulse.conf)
 endif
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/media-session.d/alsa-monitor.conf)
-   @$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/media-session.d/bluez-hardware.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/media-session.d/bluez-monitor.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/media-session.d/media-session.conf)
@$(call install_alternative, pipewire, 0, 0, 644, 
/usr/share/pipewire/media-session.d/v4l2-monitor.conf)
-- 
2.30.2


___
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de