Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] zynqmp/post-image.sh: support dots in DTS file names
@ 2018-10-25 10:05 francois.beerten at colabti.org
  2018-10-26 18:54 ` Thomas Petazzoni
  2018-11-13 22:53 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: francois.beerten at colabti.org @ 2018-10-25 10:05 UTC (permalink / raw)
  To: buildroot

From: Francois Beerten <fbeerten.git@colabti.org>

Some ZynqMP device trees in the kernel have a dot in their name,
for example "zynqmp-zcu102-rev1.0". The post image script
left out the part after the dot and created an invalid symlink.

Signed-off-by: Francois Beerten <fbeerten.git@colabti.org>
---
 board/zynqmp/post-image.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/zynqmp/post-image.sh b/board/zynqmp/post-image.sh
index 2e7bcbaab6..b2b99fed01 100755
--- a/board/zynqmp/post-image.sh
+++ b/board/zynqmp/post-image.sh
@@ -5,7 +5,7 @@
 # devicetree listed in the config.
 
 FIRST_DT=$(sed -nr \
-               -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/([-_/[:alnum:]]*).*"$|\1|p' \
+               -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/([-_/[:alnum:]\\.]*).*"$|\1|p' \
                ${BR2_CONFIG})
 
 [ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/system.dtb
-- 
2.11.0

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

* [Buildroot] [PATCH] zynqmp/post-image.sh: support dots in DTS file names
  2018-10-25 10:05 [Buildroot] [PATCH] zynqmp/post-image.sh: support dots in DTS file names francois.beerten at colabti.org
@ 2018-10-26 18:54 ` Thomas Petazzoni
  2018-11-13 22:53 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-10-26 18:54 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 25 Oct 2018 12:05:28 +0200, francois.beerten at colabti.org wrote:
> From: Francois Beerten <fbeerten.git@colabti.org>
> 
> Some ZynqMP device trees in the kernel have a dot in their name,
> for example "zynqmp-zcu102-rev1.0". The post image script
> left out the part after the dot and created an invalid symlink.
> 
> Signed-off-by: Francois Beerten <fbeerten.git@colabti.org>
> ---
>  board/zynqmp/post-image.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH] zynqmp/post-image.sh: support dots in DTS file names
  2018-10-25 10:05 [Buildroot] [PATCH] zynqmp/post-image.sh: support dots in DTS file names francois.beerten at colabti.org
  2018-10-26 18:54 ` Thomas Petazzoni
@ 2018-11-13 22:53 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-11-13 22:53 UTC (permalink / raw)
  To: buildroot

>>>>> "francois" == francois beerten <francois.beerten@colabti.org> writes:

 > From: Francois Beerten <fbeerten.git@colabti.org>
 > Some ZynqMP device trees in the kernel have a dot in their name,
 > for example "zynqmp-zcu102-rev1.0". The post image script
 > left out the part after the dot and created an invalid symlink.

 > Signed-off-by: Francois Beerten <fbeerten.git@colabti.org>

Committed to 2018.08.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2018-11-13 22:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-25 10:05 [Buildroot] [PATCH] zynqmp/post-image.sh: support dots in DTS file names francois.beerten at colabti.org
2018-10-26 18:54 ` Thomas Petazzoni
2018-11-13 22:53 ` Peter Korsgaard

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