Files
Yoann Congal f09c477f9a hddtemp: Fix reproducibility in fr locale
hddtemp po files lack the Language header and it is derived from
Language-Team header. This process fails for FR and DE locals and an
empty default is used... but reproducibility test has shown that
sometime it succeeds[0].

Fix this non-reproducibility by forcing the Language header to the
correct value.

[0]: https://autobuilder.yoctoproject.org/typhoon/#/builders/155/builds/23/steps/32/logs/stdio
     https://autobuilder.yocto.io/pub/repro-fail-openembedded/meta-oe/oe-reproducible-20240503-9c4hilsr/packages
     (no nice HTML diffoscope output)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Alexandre Truong <alexandre.truong@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-25 10:55:33 -07:00

36 lines
1.3 KiB
BlitzBasic

SUMMARY = "Hard disk temperature monitor daemon"
SECTION = "console/network"
LICENSE = "GPL-2.0-or-later"
SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/hddtemp/hddtemp-0.3-beta15.tar.bz2 \
file://hddtemp-no-nls-support.patch \
file://hddtemp_0.3-beta15-52.diff \
file://hddtemp-0.3-beta15-autodetect-717479.patch \
file://0001-backtrace-Replace-struct-ucontext-with-ucontext_t.patch \
file://0001-configure.ac-Rename-to-configure.ac-and-use-external.patch \
file://0001-sata.c-Declare-ata_get_powermode-prototype.patch \
file://0001-po-force-Language-header-for-fr-and-de-locals.patch \
file://hddtemp.db \
file://init \
"
SRC_URI[md5sum] = "8b829339e1ae9df701684ec239021bb8"
SRC_URI[sha256sum] = "618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b"
LIC_FILES_CHKSUM = "file://GPL-2;md5=eb723b61539feef013de476e68b5c50a"
inherit autotools gettext update-rc.d
FILES:${PN} += "/usr/share/misc/hddtemp.db"
do_install:append() {
install -d ${D}/usr/share/misc/
install -m 0644 ${UNPACKDIR}/hddtemp.db ${D}/usr/share/misc/hddtemp.db
install -d ${D}${sysconfdir}/init.d
install -m 0644 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/hddtemp
}
INITSCRIPT_NAME = "hddtemp"
INITSCRIPT_PARAMS = "start 99 2 3 4 5 . stop 20 0 1 6 ."