blob: 1b4404c8cada314cc946a10f3983d471aca43cc6 [file] [log] [blame]
Patrick Williamsb58112e2024-03-07 11:16:36 -06001From 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
Andrew Geissler90fd73c2021-03-05 15:25:55 -06006We 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
Patrick Williamsb58112e2024-03-07 11:16:36 -060012---
13 lib/ephy-profile-utils.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
Andrew Geissler90fd73c2021-03-05 15:25:55 -060015
Patrick Williamsb58112e2024-03-07 11:16:36 -060016diff --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,
Andrew Geissler90fd73c2021-03-05 15:25:55 -060021 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,