diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-26 10:17:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-26 15:21:21 +0000 |
commit | 38f513bfc74a87e0425c0ec7d8f5b3bd20233250 (patch) | |
tree | 2b227eec0d6683a0a896b889ee71fa52aee9ca88 /meta/recipes-gnome/epiphany/files/distributor.patch | |
parent | b351f54b9ffc115720737e46a7f64a98e1f8c21a (diff) | |
download | poky-38f513bfc74a87e0425c0ec7d8f5b3bd20233250.tar.gz |
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>
Diffstat (limited to 'meta/recipes-gnome/epiphany/files/distributor.patch')
-rw-r--r-- | meta/recipes-gnome/epiphany/files/distributor.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-gnome/epiphany/files/distributor.patch b/meta/recipes-gnome/epiphany/files/distributor.patch new file mode 100644 index 0000000000..b09c9b38d2 --- /dev/null +++ b/meta/recipes-gnome/epiphany/files/distributor.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Don't encode the distro from /etc/os-release into the binaries. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | RP 2021/2/26 | ||
5 | |||
6 | Index: epiphany-3.38.2/meson.build | ||
7 | =================================================================== | ||
8 | --- epiphany-3.38.2.orig/meson.build | ||
9 | +++ epiphany-3.38.2/meson.build | ||
10 | @@ -15,6 +15,7 @@ if r.returncode() == 0 | ||
11 | else | ||
12 | distributor_name = 'GNOME Web' | ||
13 | endif | ||
14 | +distributor_name = 'OpenEmbedded' | ||
15 | |||
16 | prefix = get_option('prefix') | ||
17 | datadir = join_paths(prefix, get_option('datadir')) | ||