summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-03-30 22:14:38 +0100
committerRichard Jones <rjones@redhat.com>2009-03-30 22:14:38 +0100
commit0926817326843d6a61b28080ff7eb1180cfad746 (patch)
tree87a38821b8d8a0ce315fef4fe4d83b1ba7a68103
parent386ca38f57247a3ec6bd78e7763e247a74c92a84 (diff)
downloadfebootstrap-0926817326843d6a61b28080ff7eb1180cfad746.tar.gz
febootstrap-0926817326843d6a61b28080ff7eb1180cfad746.tar.xz
febootstrap-0926817326843d6a61b28080ff7eb1180cfad746.zip
Clear up more warnings during installs.
-rw-r--r--febootstrap.pod22
-rwxr-xr-xfebootstrap.sh2
2 files changed, 19 insertions, 5 deletions
diff --git a/febootstrap.pod b/febootstrap.pod
index de10a58..1e4d9ff 100644
--- a/febootstrap.pod
+++ b/febootstrap.pod
@@ -148,10 +148,24 @@ C<--foreign> installs - see previous point).
=head1 OTHER RESTRICTIONS AND BUGS
-C</sbin/ldconfig> and C</usr/sbin/glibc_post_upgrade> are not run
-during C<%post> scriptlets (because they are statically linked, and
-fakechroot cannot run statically linked programs). If you wish, you
-can run them the first time you boot into the new machine.
+The following programs are not run during C<%post> scriptlets (because
+they are all statically linked, and fakechroot cannot run statically
+linked programs).
+
+=over 4
+
+=item C</sbin/ldconfig> (from many packages)
+
+=item C</usr/sbin/glibc_post_upgrade> (from C<glibc>)
+
+=item C</usr/sbin/build-locale-archive> (from C<glibc-common>)
+
+=item C</usr/sbin/libgcc_post_upgrade> (from C<libgcc>)
+
+=back
+
+If you wish, you can run them the first time you boot into the new
+machine.
febootstrap recreates the repository anew each time, and this causes
yum to download all the RPMs every time. This is very wasteful, and
diff --git a/febootstrap.sh b/febootstrap.sh
index b08e3c0..5386b2c 100755
--- a/febootstrap.sh
+++ b/febootstrap.sh
@@ -127,7 +127,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.
-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
+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
# Make the device nodes inside the fake chroot.
# (Copied from mock/backend.py) Why isn't there a base package which