mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
epiphany: Fix distributor contamination from /etc/os-release
Set our own distro string rather than using the value from /etc/os-release. (From OE-Core rev: 77f23ece471e8855bfd8be06951f21cabce25545) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -14,6 +14,7 @@ REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
|
||||
file://0002-help-meson.build-disable-the-use-of-yelp.patch \
|
||||
file://migrator.patch \
|
||||
file://distributor.patch \
|
||||
"
|
||||
SRC_URI[archive.sha256sum] = "8b05f2bcc1e80ecf4a10f6f01b3285087eb4cbdf5741dffb8c0355715ef5116d"
|
||||
|
||||
|
||||
17
meta/recipes-gnome/epiphany/files/distributor.patch
Normal file
17
meta/recipes-gnome/epiphany/files/distributor.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Don't encode the distro from /etc/os-release into the binaries.
|
||||
|
||||
Upstream-Status: Pending
|
||||
RP 2021/2/26
|
||||
|
||||
Index: epiphany-3.38.2/meson.build
|
||||
===================================================================
|
||||
--- epiphany-3.38.2.orig/meson.build
|
||||
+++ epiphany-3.38.2/meson.build
|
||||
@@ -15,6 +15,7 @@ if r.returncode() == 0
|
||||
else
|
||||
distributor_name = 'GNOME Web'
|
||||
endif
|
||||
+distributor_name = 'OpenEmbedded'
|
||||
|
||||
prefix = get_option('prefix')
|
||||
datadir = join_paths(prefix, get_option('datadir'))
|
||||
Reference in New Issue
Block a user