summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2025-10-22 08:05:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-27 11:37:43 +0000
commit87fd09a18114ca41f3a14d4022e048643756d105 (patch)
tree5c687f5420c7cdfb4c0f650e59482e88e1e6a082 /meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch
parent7bc47fdf3b2f6eda97575e3c570664fe379cc8cf (diff)
downloadpoky-87fd09a18114ca41f3a14d4022e048643756d105.tar.gz
systemd.bbclass: support template files with dotsHEADmaster
If the SYSTEMD_SERVICE variable contains a template instance that has dots in the name such as "xyz.openbmc_project.my@instance.service", the regex splits on all the dots resulting in the following python exception: Exception: ValueError: too many values to unpack (expected 3) To continue to support service files with dots in the name, this changes to first split only on the '@' to isolate the name, then split the second half on the last dot to get the remaining two parameters. Splitting on the last dot allows dots in the instance name, as well. Confirmed when building that the three parameters for template instances without dots came out the same and that template instances with dots include the full name with dots in the first parameter. Confirmed when using an instance name with dots that the full instance name came out correctly with dots. CC: Ross Burton <Ross.Burton@arm.com> (From OE-Core rev: 09a37ecf0aeff674e49d7bddd5421011a885da2e) Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/syslinux/files/syslinux-libupload-depend-lib.patch')
0 files changed, 0 insertions, 0 deletions