git.annexia.org
/
febootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gnulib: Ignore another gnulib generated file.
[febootstrap.git]
/
febootstrap.sh
diff --git
a/febootstrap.sh
b/febootstrap.sh
index
48b8fd9
..
2965a7e
100755
(executable)
--- a/
febootstrap.sh
+++ b/
febootstrap.sh
@@
-168,7
+168,7
@@
export FAKECHROOT_EXCLUDE_PATH=/proc
# Substitute some statically-linked commands. This is only supported
# in fakechroot > 2.9. For previous versions of fakechroot it is
# ignored.
# Substitute some statically-linked commands. This is only supported
# in fakechroot > 2.9. For previous versions of fakechroot it is
# ignored.
-export FAKECHROOT_CMD_SUBST=/sbin/ldconfig=/bin/true:/usr/sbin/glibc_post_upgrade.i686=/bin/true:/usr/sbin/glibc_post_upgrade.x86_64=/bin/true:/usr/sbin/build-locale-archive=/bin/true:/usr/sbin/libgcc_post_upgrade=/bin/true
+export FAKECHROOT_CMD_SUBST=/sbin/ldconfig=/bin/true:/usr/sbin/glibc_post_upgrade.i686=/bin/true:/usr/sbin/glibc_post_upgrade.x86_64=/bin/true:/usr/sbin/build-locale-archive=/bin/true:/usr/sbin/libgcc_post_upgrade=/bin/true
:/sbin/new-kernel-pkg=/bin/true:/usr/sbin/nscd=/bin/true
# Use the libraries inside the chroot.
export LD_LIBRARY_PATH="$target"/usr/lib64:"$target"/usr/lib:"$target"/lib64:"$target"/usr/lib
# Use the libraries inside the chroot.
export LD_LIBRARY_PATH="$target"/usr/lib64:"$target"/usr/lib:"$target"/lib64:"$target"/usr/lib
@@
-240,5
+240,6
@@
fi
# Clean up the yum repository.
if [ "$clean" = "yes" ]; then
# Clean up the yum repository.
if [ "$clean" = "yes" ]; then
- rm -rf "$target"/var/cache/yum/febootstrap
+ febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap
+ febootstrap-run "$target" -- rm -rf /var/cache/yum/febootstrap-updates
fi
fi