Skip to contentSkip to conversation

xorg-fonts-minimal: Fix reproducibility

PATCH New Richard Purdie 1 participant 2 messages Feb 15, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 xorg-fonts-minimal: Fix reproducibility

When installing the font files, preserve their timestamp rather than using the current time which fixes reproducibility issues.

---
 meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb +1 -1
index 1ea08a6c99a..e1e470bf344 100644
@@ -26,7 +26,7 @@ RDEPENDS_${PN} += "font-alias"
 
 do_install() {
 	install -d ${D}/${datadir}/fonts/X11/misc
-	install -m 0644 ${S}/* ${D}/${datadir}/fonts/X11/misc/
+	install -m 0644 -p ${S}/* ${D}/${datadir}/fonts/X11/misc/
 	install -d ${D}/${libdir}/X11
 	ln -sf ${datadir}/fonts/X11/ ${D}/${libdir}/X11/fonts -s
 }
Signature · 1 line
2.27.0
#1 lore raw

PATCH 2/2 xmlto: Fix reproducibility

Don't hardcode the host's grep path into xmlto.

---
 meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +1 -1
index 7d27c43c830..5ed2709e311 100644
@@ -29,7 +29,7 @@ RDEPENDS_${PN}_append_class-target = " \
                   libxslt-bin \
                   coreutils \
 "
-CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail"
+CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail ac_cv_path_GREP=grep"
 
 BBCLASSEXTEND = "native"
 
Signature · 1 line
2.27.0