X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=helper%2Ffebootstrap-supermin-helper.pod;h=b2a687ed682c0fac7741545a5b0620ed2c839b0d;hb=50742fae18d8dd699ac6aaa7fe0800b6a6ec55cf;hp=c6c551cee5828636005769f8351e0c0ba340ae38;hpb=0f89ba0654de234429042ffcc91c8a0de94ec98b;p=febootstrap.git diff --git a/helper/febootstrap-supermin-helper.pod b/helper/febootstrap-supermin-helper.pod index c6c551c..b2a687e 100644 --- a/helper/febootstrap-supermin-helper.pod +++ b/helper/febootstrap-supermin-helper.pod @@ -15,8 +15,7 @@ febootstrap-supermin-helper - Reconstruct initramfs from supermin appliance. I reconstructs a bootable kernel and initramfs from a supermin appliance. First you should be familiar -with L, L and -L. +with L. =head1 PARAMETERS @@ -94,6 +93,19 @@ If this option is not specified, then every kernel module from the host will be included. This is safer, but can produce rather large appliances which need a lot more memory to boot. +=item B<-u user> | B<--user user> | B<-g group> | B<--group group> + +Run febootstrap-supermin-helper as an alternate user and/or group. +C and C can be specified as either a name, which will +be resolved using the system name service, or a uid/gid. Use of these +options requires root privileges. + +Use of these options is required if running febootstrap-supermin-helper +as root with the effective uid/gid set to non-root. Bash will reset +the effective uid/gid to the real uid/gid when invoked. As +febootstrap-supermin-helper uses bash in parts, this will result in the +creation of an appliance with a mixture of ownerships. + =back =head1 SPEED @@ -116,17 +128,39 @@ list the kernel modules you really need. Minimize the appliance, removing as much extraneous junk as possible. -As well as using L it is worth checking for -anything that is not necessary for your particular application and -removing it by hand. +=back + +=head1 ENVIRONMENT VARIABLES + +=over 4 + +=item FEBOOTSTRAP_KERNEL + +If this environment variable is set, then automatic selection of the +kernel is bypassed and this kernel is used. + +The environment variable should point to a kernel file, +eg. C + +The corresponding module path is guessed from the kernel name, but you +can override that by setting C. + +=item FEBOOTSTRAP_MODULES + +If C and C are both set, then +automatic selection of the kernel is bypassed and the kernel and +module path are set to these values. + +The environment variable should point to a module directory, +eg. C + +This has no effect if C is not set. =back =head1 SEE ALSO -L, -L, -L. +L. =head1 AUTHORS @@ -134,7 +168,7 @@ Richard W.M. Jones =head1 COPYRIGHT -(C) Copyright 2009-2010 Red Hat Inc., +(C) Copyright 2009-2011 Red Hat Inc., L. This program is free software; you can redistribute it and/or modify