diff options
Diffstat (limited to 'meta/recipes-gnome/epiphany/files/migrator.patch')
-rw-r--r-- | meta/recipes-gnome/epiphany/files/migrator.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-gnome/epiphany/files/migrator.patch b/meta/recipes-gnome/epiphany/files/migrator.patch new file mode 100644 index 0000000000..1b4404c8ca --- /dev/null +++ b/meta/recipes-gnome/epiphany/files/migrator.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From b38a4ceaeec05efb1b822d52c43590e7fd518113 Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Thu, 25 Feb 2021 14:52:32 +0000 | ||
4 | Subject: [PATCH] epiphany: Fix reproducibility issue | ||
5 | |||
6 | We don't want to encide BUILD_ROOT into target packages. This is used | ||
7 | for build time tests but in our case those would be on target anyway | ||
8 | do use the target paths. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | RP 2021/2/25 | ||
12 | --- | ||
13 | lib/ephy-profile-utils.c | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c | ||
17 | index a2f6181..5218077 100644 | ||
18 | --- a/lib/ephy-profile-utils.c | ||
19 | +++ b/lib/ephy-profile-utils.c | ||
20 | @@ -130,10 +130,10 @@ ephy_profile_utils_do_migration (const char *profile_directory, | ||
21 | argv[i++] = NULL; | ||
22 | |||
23 | #if DEVELOPER_MODE | ||
24 | - argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR; | ||
25 | + argv[0] = PKGLIBEXECDIR "/" EPHY_PROFILE_MIGRATOR; | ||
26 | #else | ||
27 | if (debug) | ||
28 | - argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR; | ||
29 | + argv[0] = PKGLIBEXECDIR "/" EPHY_PROFILE_MIGRATOR; | ||
30 | #endif | ||
31 | |||
32 | g_spawn_sync (NULL, (char **)argv, envp, G_SPAWN_SEARCH_PATH, | ||