| Message ID | 20251211-build-docs-container-tlmgr-v2-2-58719c103a50@bootlin.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | Add missing CentOS Stream / RockyLinux distros to the system-requirements.rst doc | expand |
Hi Antonin, On 12/11/25 10:06 AM, Antonin Godard via lists.yoctoproject.org wrote: > On some versions of rsvg-convert, capitalized formats are unknown. > > For example on CentOS Stream 9: > > $ rsvg-convert --format=Png --output=ref-manual/svg/releases.png ref-manual/svg/releases.svg > Unknown output format. > > While the same command with "png" runs fine. > > On Ubuntu 22.04, both are accepted. > > Switch to the un-capitalized options, compatible with all versions. > I already gave my R-B in v1 (albeit in the middle of some text and rambling :) ), so missing here: Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Thanks! Quentin
diff --git a/documentation/Makefile b/documentation/Makefile index bade78fe8..e144a50b4 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -43,11 +43,11 @@ PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCED # Pattern rule for converting SVG to PDF %.pdf : %.svg - $(SVG2PDF) --format=Pdf --output=$@ $< + $(SVG2PDF) --format=pdf --output=$@ $< # Pattern rule for converting SVG to PNG %.png : %.svg - $(SVG2PNG) --format=Png --output=$@ $< + $(SVG2PNG) --format=png --output=$@ $< clean: @rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js releases.rst
On some versions of rsvg-convert, capitalized formats are unknown. For example on CentOS Stream 9: $ rsvg-convert --format=Png --output=ref-manual/svg/releases.png ref-manual/svg/releases.svg Unknown output format. While the same command with "png" runs fine. On Ubuntu 22.04, both are accepted. Switch to the un-capitalized options, compatible with all versions. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- documentation/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)