DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/2] scripts: p-all: allow overriding ptxdist via $PTXDIST
@ 2019-03-13 10:33 Roland Hieber
  2019-03-13 10:33 ` [DistroKit] [PATCH 2/2] ptxdist: version bump 2019.03.0 → 2019.03.1 Roland Hieber
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2019-03-13 10:33 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

This actually makes it possible to call specific versions of PTXdist,
e.g. when migrating to a specific version.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 scripts/p-all | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/scripts/p-all b/scripts/p-all
index 238a6a7..bdef601 100755
--- a/scripts/p-all
+++ b/scripts/p-all
@@ -1,6 +1,13 @@
 #!/bin/sh
 # Run ptxdist on all platformconfigs
+if [ -z "$PTXDIST" ]; then
+	PTXDIST=ptxdist
+else
+	tput setaf 3 # yellow
+	echo Note: using PTXDIST=$PTXDIST
+	tput sgr 0   # back to normal
+fi
 PLATFORMS="v7a v8a rpi"
 for p in $PLATFORMS; do
-	ptxdist --platformconfig=configs/platform-${p}/platformconfig "$@"
+	$PTXDIST --platformconfig=configs/platform-${p}/platformconfig "$@"
 done
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [DistroKit] [PATCH 2/2] ptxdist: version bump 2019.03.0 → 2019.03.1
  2019-03-13 10:33 [DistroKit] [PATCH 1/2] scripts: p-all: allow overriding ptxdist via $PTXDIST Roland Hieber
@ 2019-03-13 10:33 ` Roland Hieber
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Hieber @ 2019-03-13 10:33 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

This fixes an errors in systemd.get, which only happened when that
systemd tarball was not already downloaded previously:

    ptxdist: error: Wrong md5sum for 'systemd' (.../src/systemd-241-7-ga09c170122cf.tar.gz)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 configs/platform-rpi/platformconfig | 4 ++--
 configs/platform-v7a/platformconfig | 4 ++--
 configs/platform-v8a/platformconfig | 4 ++--
 configs/ptxconfig                   | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/configs/platform-rpi/platformconfig b/configs/platform-rpi/platformconfig
index d6808b5..510fb93 100644
--- a/configs/platform-rpi/platformconfig
+++ b/configs/platform-rpi/platformconfig
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# PTXdist 2019.03.0
+# PTXdist 2019.03.1
 #
 PTXCONF__platformconfig_MAGIC__=y
 
@@ -19,7 +19,7 @@ PTXCONF_PLATFORM="rpi"
 PTXCONF_PLATFORM_VERSION="-${PTXDIST_BSP_AUTOVERSION}"
 PTXCONF_RUNTIME=y
 PTXCONF_BUILDTIME=y
-PTXCONF_PLATFORMCONFIG_VERSION="2019.03.0"
+PTXCONF_PLATFORMCONFIG_VERSION="2019.03.1"
 
 #
 # architecture                  
diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index ed852e4..da564de 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# PTXdist 2019.03.0
+# PTXdist 2019.03.1
 #
 PTXCONF__platformconfig_MAGIC__=y
 
@@ -19,7 +19,7 @@ PTXCONF_PLATFORM="v7a"
 PTXCONF_PLATFORM_VERSION="-${PTXDIST_BSP_AUTOVERSION}"
 PTXCONF_RUNTIME=y
 PTXCONF_BUILDTIME=y
-PTXCONF_PLATFORMCONFIG_VERSION="2019.03.0"
+PTXCONF_PLATFORMCONFIG_VERSION="2019.03.1"
 
 #
 # architecture                  
diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
index 0755c55..e7de928 100644
--- a/configs/platform-v8a/platformconfig
+++ b/configs/platform-v8a/platformconfig
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# PTXdist 2019.03.0
+# PTXdist 2019.03.1
 #
 PTXCONF__platformconfig_MAGIC__=y
 
@@ -19,7 +19,7 @@ PTXCONF_PLATFORM="v8a"
 PTXCONF_PLATFORM_VERSION="-${PTXDIST_BSP_AUTOVERSION}"
 PTXCONF_RUNTIME=y
 PTXCONF_BUILDTIME=y
-PTXCONF_PLATFORMCONFIG_VERSION="2019.03.0"
+PTXCONF_PLATFORMCONFIG_VERSION="2019.03.1"
 
 #
 # architecture                  
diff --git a/configs/ptxconfig b/configs/ptxconfig
index c738939..468072c 100644
--- a/configs/ptxconfig
+++ b/configs/ptxconfig
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# PTXdist 2019.03.0
+# PTXdist 2019.03.1
 #
 PTXCONF_DATAPARTITION=y
 
@@ -48,7 +48,7 @@ PTXCONF_PROJECT_CHECK_LICENSES=y
 PTXCONF_RUNTIME=y
 PTXCONF_BUILDTIME=y
 PTXCONF_VIRTUAL=y
-PTXCONF_CONFIGFILE_VERSION="2019.03.0"
+PTXCONF_CONFIGFILE_VERSION="2019.03.1"
 PTXCONF__ptxconfig_MAGIC__=y
 
 #
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-13 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13 10:33 [DistroKit] [PATCH 1/2] scripts: p-all: allow overriding ptxdist via $PTXDIST Roland Hieber
2019-03-13 10:33 ` [DistroKit] [PATCH 2/2] ptxdist: version bump 2019.03.0 → 2019.03.1 Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox