From 0926817326843d6a61b28080ff7eb1180cfad746 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 30 Mar 2009 22:14:38 +0100 Subject: Clear up more warnings during installs. --- febootstrap.pod | 22 ++++++++++++++++++---- febootstrap.sh | 2 +- 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 and C 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 (from many packages) + +=item C (from C) + +=item C (from C) + +=item C (from C) + +=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 -- cgit