mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
xorg-minimal-fonts: Really fix determinism
My previous fix wasn't correct as the file timestamps do vary by git checkout or modification time and aren't correct here. Instead use a specific date/time for the files to be deterministic. (From OE-Core rev: 21d69df3e22bea3331833a9c439b1fd6571831e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 725a30a30052540a4b7fc2933396fe9eb946eeac) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3c79df1465
commit
51c48e60f3
|
|
@ -10,8 +10,12 @@ LIC_FILES_CHKSUM = "file://../misc/fonts.dir;md5=82a143d94d6a974aafe97132d2d519a
|
|||
|
||||
SRC_URI = "file://misc"
|
||||
|
||||
SOURCE_DATE_EPOCH = "1613559011"
|
||||
|
||||
PE = "1"
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
HASHEQUIV_HASH_VERSION .= ".1"
|
||||
|
||||
|
||||
inherit allarch features_check
|
||||
|
||||
|
|
@ -26,7 +30,9 @@ RDEPENDS_${PN} += "font-alias"
|
|||
|
||||
do_install() {
|
||||
install -d ${D}/${datadir}/fonts/X11/misc
|
||||
install -m 0644 -p ${S}/* ${D}/${datadir}/fonts/X11/misc/
|
||||
install -m 0644 ${S}/* ${D}/${datadir}/fonts/X11/misc/
|
||||
# Pick a date/time as otherwise it would be the git checkout/modify time
|
||||
touch -d @1613559011 ${D}/${datadir}/fonts/X11/misc/*
|
||||
install -d ${D}/${libdir}/X11
|
||||
ln -sf ${datadir}/fonts/X11/ ${D}/${libdir}/X11/fonts -s
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user