* [PATCH][meta-browser] firefox-l10n.inc: mangle download filename instead of DL_DIR
@ 2017-06-13 8:06 Martin Jansa
0 siblings, 0 replies; only message in thread
From: Martin Jansa @ 2017-06-13 8:06 UTC (permalink / raw)
To: openembedded-devel
* it causes unnecessary directories on premirrors, which imho aren't even used
because fetcher will search for ${LANGUAGE}.xpi in the top level directories
not in ${PN}-${PV} subdirectories.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
recipes-mozilla/firefox-l10n/firefox-l10n.inc | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/recipes-mozilla/firefox-l10n/firefox-l10n.inc b/recipes-mozilla/firefox-l10n/firefox-l10n.inc
index 1be15ba..961cf3c 100644
--- a/recipes-mozilla/firefox-l10n/firefox-l10n.inc
+++ b/recipes-mozilla/firefox-l10n/firefox-l10n.inc
@@ -13,10 +13,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
LANGUAGE = "${@get_language_name('${PN}')}"
PR = "r3"
-# Mangle place where to store the file
-DL_DIR_append = "/${PN}-${PV}"
-
-SRC_URI = "https://archive.mozilla.org/pub/firefox/releases/${PV}/linux-i686/xpi/${LANGUAGE}.xpi"
+SRC_URI = "https://archive.mozilla.org/pub/firefox/releases/${PV}/linux-i686/xpi/${LANGUAGE}.xpi;downloadfilename=${PN}-${PV}-${LANGUAGE}.xpi"
S = "${WORKDIR}"
inherit allarch
@@ -31,7 +28,7 @@ def get_language_name(package):
return lang
do_configure() {
- xpi-unpack ${LANGUAGE}.xpi ${LANGUAGE}
+ xpi-unpack ${PN}-${PV}-${LANGUAGE}.xpi ${LANGUAGE}
}
do_install() {
--
2.13.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-13 10:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13 8:06 [PATCH][meta-browser] firefox-l10n.inc: mangle download filename instead of DL_DIR Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox