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:
Colin Walters 2015-06-15 12:48:35 -04:00
parent e90c579023
commit 84d2d51576
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 900b25f7018878ab64bd04751d8f15c6d83ba823
Subproject commit 91875459cdc9e61c2ea8c5831c7593ec7641fd2b

View File

@ -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;
}