mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 17:43:55 +00:00
uefi: Don't leak the application build path into the binary
This can be set at runtime if needed using environment variables.
This commit is contained in:
parent
8fada51919
commit
a50b02faf2
@ -88,8 +88,6 @@ fu_uefi_get_built_app_path (GError **error)
|
||||
g_autofree gchar *prefix = NULL;
|
||||
if (fu_uefi_secure_boot_enabled ())
|
||||
extension = ".signed";
|
||||
if (g_file_test (EFI_APP_LOCATION_BUILD, G_FILE_TEST_EXISTS))
|
||||
return g_strdup_printf ("%s%s", EFI_APP_LOCATION_BUILD, extension);
|
||||
suffix = fu_uefi_bootmgr_get_suffix (error);
|
||||
if (suffix == NULL)
|
||||
return NULL;
|
||||
|
@ -1,7 +1,6 @@
|
||||
subdir('efi')
|
||||
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginUefi"']
|
||||
cargs += '-DEFI_APP_LOCATION_BUILD="' + app.full_path() + '"'
|
||||
|
||||
efi_os_dir = get_option('efi_os_dir')
|
||||
if efi_os_dir != ''
|
||||
|
Loading…
Reference in New Issue
Block a user