postprocess: Don't use absolute paths for helpers like dracut
It moved from `/usr/sbin` -> `/usr/bin`, which obviously broke rpm-ostree. No reason to hardcode absolute paths here.
This commit is contained in:
parent
e90c579023
commit
84d2d51576
2
libglnx
2
libglnx
@ -1 +1 @@
|
||||
Subproject commit 900b25f7018878ab64bd04751d8f15c6d83ba823
|
||||
Subproject commit 91875459cdc9e61c2ea8c5831c7593ec7641fd2b
|
@ -320,7 +320,7 @@ do_kernel_prep (GFile *yumroot,
|
||||
|
||||
{
|
||||
char *child_argv[] = { "depmod", (char*)kver, NULL };
|
||||
if (!run_sync_in_root (yumroot, "/usr/sbin/depmod", child_argv, error))
|
||||
if (!run_sync_in_root (yumroot, "depmod", child_argv, error))
|
||||
goto out;
|
||||
}
|
||||
|
||||
@ -368,7 +368,7 @@ do_kernel_prep (GFile *yumroot,
|
||||
|
||||
g_ptr_array_add (dracut_argv, NULL);
|
||||
|
||||
if (!run_sync_in_root (yumroot, "/usr/sbin/dracut", (char**)dracut_argv->pdata, error))
|
||||
if (!run_sync_in_root (yumroot, "dracut", (char**)dracut_argv->pdata, error))
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user