summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.h
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-07-08 11:08:32 +0200
committerDan McGee <dan@archlinux.org>2009-07-16 13:12:04 +0200
commit2e043aae36bdb8a7591646db00a95dd21f1f368f (patch)
tree6bc63b3cb042e310aa21d6991cfdaff589fa5f14 /lib/libalpm/util.h
parent41a55d4effecfb2914e96ed4a99eb621557c6d2f (diff)
downloadpacman-2e043aae36bdb8a7591646db00a95dd21f1f368f.tar.gz
pacman-2e043aae36bdb8a7591646db00a95dd21f1f368f.tar.xz
Run ldconfig inside chroot.
This fixes FS#15294. The code to run a command inside a chroot was refactored from the _alpm_runscriptlet function to _alpm_run_chroot. Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/util.h')
-rw-r--r--lib/libalpm/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index e2d44740..4bc8b92f 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -66,6 +66,7 @@ int _alpm_lckrm();
int _alpm_unpack(const char *archive, const char *prefix, const char *fn);
int _alpm_rmrf(const char *path);
int _alpm_logaction(unsigned short usesyslog, FILE *f, const char *fmt, va_list args);
+int _alpm_run_chroot(const char *root, const char *cmd);
int _alpm_ldconfig(const char *root);
int _alpm_str_cmp(const void *s1, const void *s2);
char *_alpm_filecache_find(const char *filename);