summaryrefslogtreecommitdiffstats
path: root/mkinitcpio.5.txt
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-07 02:27:27 +0200
committerDave Reisner <d@falconindy.com>2011-06-19 23:33:34 +0200
commit77beaa3018f5cacf8bc51251b50e76041c7eb6cd (patch)
treee27bc2089fc70fcc3fe781db19370a8e047e5033 /mkinitcpio.5.txt
parentf751758256ca9ab3db2b73e157542a2719296603 (diff)
downloadmkinitcpio-77beaa3018f5cacf8bc51251b50e76041c7eb6cd.tar.gz
mkinitcpio-77beaa3018f5cacf8bc51251b50e76041c7eb6cd.tar.xz
add -t option to specify alternate build directory
This requires some refactoring of how we handle TMPDIR declaration and creation, as well as protecting the way we do cleanup so that we don't error out when cleanup is called prior to TMPDIR being declared. We also add a shortcut to the build root based on the TMPDIR for convenience. Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'mkinitcpio.5.txt')
-rw-r--r--mkinitcpio.5.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkinitcpio.5.txt b/mkinitcpio.5.txt
index 1c96b8e..66bab68 100644
--- a/mkinitcpio.5.txt
+++ b/mkinitcpio.5.txt
@@ -42,6 +42,9 @@ Options
*-S* 'hooks'::
Skip 'hooks' when generating the image. Several hooks should be comma-separated.
+*-t* 'tmpdir'::
+ Use 'tmpdir' as the temporary build directory instead of /tmp. 'tmpdir' must exist.
+
*-v*::
Verbose output. Outputs more information about what's happening during creation of the ramdisk.