X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=febootstrap.pod;h=b1e512b9eb95c841af3918f8e1730a830d2b8409;hb=2cfee8d4762ffa1ec2566e8c5e94d790c62c5b30;hp=de10a58ee252ad007a8894691f757a8e33bdd737;hpb=68f63f58f0999b126c14d127e6ece499bffa51db;p=febootstrap.git diff --git a/febootstrap.pod b/febootstrap.pod index de10a58..b1e512b 100644 --- a/febootstrap.pod +++ b/febootstrap.pod @@ -64,6 +64,36 @@ RPMs and metadata. However if you give the C<--no-clean> option, then the yum repository is left. This is useful if you want to run further yum commands inside the filesystem by hand. +=item B<-p "proxyurl"> + +=item B<--proxy="proxyurl"> + +URL to the proxy server that yum should use. + +=item B<-u source> + +=item B<--updates=source> + +Pull in updates from an additional updates repository. The possible +sources are: + +=over 4 + +=item -u C (a URL) + +Get updates from the specific URL. + +=item -u C (an updates repository name) + +Get updates from the public mirrors of the named repository +(eg. C). See REPOSITORIES below. + +=item -u C (default) + +Don't add an updates repository. This is the default. + +=back + =back =head1 REPOSITORIES @@ -99,13 +129,24 @@ so that yum thinks it is running as root. Fakeroot keeps track of directory as C/fakeroot.log>. This logfile is indexed by inode number, which makes certain -operations safe and other operations unsafe. For example, deleting -files is usually safe. Files should be replaced only by doing: +operations safe and other operations unsafe. +Files should be replaced only by doing: echo updated-content > old-file -(since that preserves the original inode). In most cases it's usually -safest to use C. +(since that preserves the original inode). + +Deleting files and then creating new ones (even with a different name) +is usually unsafe, because the new files might reuse inodes claimed by +the old files, and so appear with peculiar permissions +(eg. unreadable, or as a symbolic link). + +Deleting files is also usually unsafe, although the reasons are more +subtle. If you just use C then the inode number is not deleted +from C which means it can be reused by another file +later on. + +In most cases it's usually safest to use C. You can use the fakeroot logfile in a number of ways: @@ -118,11 +159,21 @@ permissions. =item * +Use L to install a file with permissions +in the root filesystem. + +=item * + Generate an initramfs (compressed cpio) file containing the correct permissions using the tool C. =item * +Generate a supermin appliance using the tool +C. + +=item * + Apply the permissions to the target directory using the forthcoming tool C (requires root). @@ -148,10 +199,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 @@ -159,13 +224,15 @@ we should provide a way to cache the repository. =head1 HOME PAGE -L +L =head1 SEE ALSO L, L, L, +L, +L, L, L, L, @@ -186,7 +253,7 @@ Richard W.M. Jones =head1 COPYRIGHT (C) Copyright 2009 Red Hat Inc., -L. +L. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by