summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/epiphany/files/migrator.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/epiphany/files/migrator.patch')
-rw-r--r--meta/recipes-gnome/epiphany/files/migrator.patch32
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 @@
1From b38a4ceaeec05efb1b822d52c43590e7fd518113 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Thu, 25 Feb 2021 14:52:32 +0000
4Subject: [PATCH] epiphany: Fix reproducibility issue
5
6We don't want to encide BUILD_ROOT into target packages. This is used
7for build time tests but in our case those would be on target anyway
8do use the target paths.
9
10Upstream-Status: Pending
11RP 2021/2/25
12---
13 lib/ephy-profile-utils.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
17index 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,