Skip to contentSkip to conversation

zynqmp/post-image.sh: support dots in DTS file names

PATCH New francois.beerten at colabti.org 3 participants 3 messages Oct 25, 2018 – Nov 13, 2018 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zynqmp/post-image.sh: support dots in DTS file names

From: Francois Beerten <[email protected]>

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.

---
 board/zynqmp/post-image.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/zynqmp/post-image.sh +1 -1
index 2e7bcbaab6..b2b99fed01 100755
@@ -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
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 zynqmp/post-image.sh: support dots in DTS file names

Hello,

Quoted 10 lines · francois.beerten at colabti.org

From: Francois Beerten <[email protected]>

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.

---
 board/zynqmp/post-image.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 zynqmp/post-image.sh: support dots in DTS file names

In reply to francois.beerten at colabti.org
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"francois" == francois beerten <[email protected]> writes:

From: Francois Beerten <[email protected]>
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.

Committed to 2018.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard