zynqmp/post-image.sh: support dots in DTS file names
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
@@ -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
Thomas Petazzoni
AppliedPATCH 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.
Signed-off-by Francois Beerten <[email protected]>--- 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
PATCH 1/1 zynqmp/post-image.sh: support dots in DTS file names
In reply to francois.beerten at colabti.orgQuoted 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.Signed-off-by Francois Beerten <[email protected]>
Committed to 2018.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard