From d4615d38b2ccbf47642457887d2f4b1a514ee456 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 14 Jul 2015 08:57:44 +0200 Subject: [PATCH 3/7] docs: Use F<> for filenames instead of C<> --- src/supermin.pod | 60 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/supermin.pod b/src/supermin.pod index f9b7395..53d1b11 100644 --- a/src/supermin.pod +++ b/src/supermin.pod @@ -46,7 +46,7 @@ For example: creates a supermin appliance containing the packages C and C. Specifically, it creates some files in directory -C. This directory I the supermin appliance. (See +F. This directory I the supermin appliance. (See L below). It is intended that the I<--prepare> step is done on a central build @@ -60,8 +60,8 @@ builds the full appliance from the supermin appliance: supermin --build --format ext2 supermin.d -o appliance.d -This will create files called C, -C etc, which is the full sized bootable appliance. +This will create files called F, +F etc, which is the full sized bootable appliance. It is intended that the I<--build> step is done on the end user's machine at the last second before the appliance is needed. The @@ -112,7 +112,7 @@ a separate program called C. (I<--build> mode only) Copy the kernel (and device tree, if created) instead of symlinking to -the kernel in C. +the kernel in F. This is fractionally slower, but is necessary if you want to change the permissions or SELinux label on the kernel or device tree. @@ -124,7 +124,7 @@ the permissions or SELinux label on the kernel or device tree. If specified, search for a device tree which is compatible with the selected kernel and the name of which matches the given wildcard. You can use a wildcard such as C which would match -C. +F. Notes: @@ -170,7 +170,7 @@ Possible formats are: A directory tree in the host filesystem. -The filesystem tree is written to C (ie. the I<-o> option). +The filesystem tree is written to F (ie. the I<-o> option). This is called a C because you could literally L into this directory afterwards, although it's a better idea to use a @@ -183,13 +183,13 @@ assumed that you will be running the appliance using the host kernel. An ext2 filesystem disk image. -The output kernel is written to C, the device tree -(if using) to C, a small initramfs which can mount the -appliance to C, and the ext2 filesystem image to -C. (Where C is specified by the I<-o> +The output kernel is written to F, the device tree +(if using) to F, a small initramfs which can mount the +appliance to F, and the ext2 filesystem image to +F. (Where F is specified by the I<-o> option). -The filesystem (C) has a default size of 4 GB +The filesystem (F) has a default size of 4 GB (see also the I<--size> option). =back @@ -210,7 +210,7 @@ The output directory is checked and it is I rebuilt unless it needs to be. This is done by consulting the dates of the host package database -(C etc), the input supermin files, and the output +(F etc), the input supermin files, and the output directory. The operation is only carried out if either the host package database or the input supermin files are newer than the output directory. @@ -248,9 +248,9 @@ B, and a new output directory is created. The output directory is created (nearly) atomically by constructing a -temporary directory called something like C, then +temporary directory called something like F, then renaming the old output directory (if present) and deleting it, and -then renaming the temporary directory to C. By combining +then renaming the temporary directory to F. By combining this option with I<--lock> you can ensure that multiple parallel runs of supermin do not conflict with each other. @@ -262,10 +262,10 @@ Set the configuration file for the package manager. This allows you to specify alternate software repositories. For ArchLinux, this sets the pacman configuration file (default -C). See L. +F). See L. For Yum/RPM distributions, this sets the yum configuration file -(default C). See L. +(default F). See L. =item B<--prepare> @@ -336,8 +336,8 @@ Print the package name and version number, and exit. Supermin appliances consist of just enough information to be able to build an appliance containing the same operating system (Linux version, distro, release etc) as the host OS. Since the host and -appliance share many common files such as C and -C there is no reason to ship these files in the +appliance share many common files such as F and +F there is no reason to ship these files in the appliance. They can simply be read from the host on demand when the appliance is launched. Therefore to save space we just store the names of the packages we want from the host, and copy those in (plus @@ -350,20 +350,20 @@ skeleton base image which contains these files and the outline directory structure. Therefore the supermin appliance normally consists of at least two -control files (C and C). +control files (F and F). =over 4 -=item B +=item F The list of packages to be copied from the host. Dependencies are resolved automatically. The file is plain text, one package name per line. -=item B +=item F -=item B +=item F This tar file (which may be compressed) contains the skeleton filesystem. Mostly it contains directories and a few configuration @@ -372,7 +372,7 @@ files. All paths in the tar file should be relative to the root directory of the appliance. -=item B +=item F Any other files that are to be copied from the host. This is a plain text file with one pathname per line. @@ -382,7 +382,7 @@ is created, eg: /etc/yum.repos.d/*.repo -would copy all of the C<*.repo> files into the appliance. +would copy all of the F<*.repo> files into the appliance. Each pathname in the file should start with a C character. @@ -392,7 +392,7 @@ However you may drop one or more of these files into the supermin appliance directory if you want to copy random unpackaged files into the full appliance. -=item B +=item F A list of filenames, directory names, or wildcards prefixed by C<-> which are excluded from the final appliance. @@ -427,9 +427,9 @@ directories passed to it. A common layout could look like this: supermin.d/zz-hostfiles In this way extra files can be added to the appliance just by creating -another tar file (C in the example above) and dropping +another tar file (F in the example above) and dropping it into the directory, and additional host files can be added -(C in the example above). When the appliance is +(F in the example above). When the appliance is constructed, the extra files will appear in the appliance. =head2 MINIMIZING THE SUPERMIN APPLIANCE @@ -481,7 +481,7 @@ then you should do something like this: =head2 ENFORCING AVAILABILITY OF PACKAGES Supermin builds the appliance by copying in the packages listed in -C. For this to work those packages must be available. We +F. For this to work those packages must be available. We usually enforce this by adding requirements (eg. RPM C lines) on the package that uses the supermin appliance, so that package cannot be installed without pulling in the dependent packages @@ -497,14 +497,14 @@ 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 +eg. F =item SUPERMIN_MODULES This specifies the kernel modules directory to use. The environment variable should point to a module directory, -eg. C +eg. F =item SUPERMIN_DTB -- 2.5.0