]> git.e2factory.org Git - e2factory.git/commitdiff
update documentation and templates to use E2_TMPDIR instead of TMPDIR.
authorGordon Hecker <gh@emlix.com>
Wed, 18 Mar 2009 22:15:04 +0000 (23:15 +0100)
committerGordon Hecker <gh@emlix.com>
Wed, 18 Mar 2009 22:15:17 +0000 (23:15 +0100)
Patch by Matthias Kaehlcke

Signed-off-by: Gordon Hecker <gh@emlix.com>
doc/manual/results.text
templates/local/build-script

index 7dea4de422f2e6b29305e7ca4de0876f5ffd7537..9a55da5e0e68bbd3f7da702bd3fbe7a9b39b0d29 100644 (file)
@@ -21,9 +21,9 @@ In addition creating a `build-script` is required. The build script must
 be stored in `./res/<name>/build-script` and runs in the build environment.
 
 The `collect_project` flag provides a tree holding everything to rebuild
-the result configured in `collect_project_default_result` in $TMPDIR/project.
+the result configured in `collect_project_default_result` in $E2_TMPDIR/project.
 The user must write a build-script to package that tree to a file in 
-$TMPDIR/out
+$E2_TMPDIR/out
 
 All configuration options can be combined. And even a configuration with 
 no keys is valid: The `base` chroot group is used automatically, and the 
@@ -56,10 +56,10 @@ Example (using the `collect_project` flag)
 
 Example build script:
 
-    DESTDIR=$TMPDIR/root
+    DESTDIR=$E2_TMPDIR/root
     make hello
     make DESTDIR=$DESTDIR install
-    tar -C $DESTDIR -czf $TMPDIR/out/$RESULT.tar.gz .
+    tar -C $DESTDIR -czf $E2_TMPDIR/out/$E2_RESULT.tar.gz .
 
 prev [sources](sources.html)
 next [release](release.html)
index de85a852af28239deb3e93dca092b4de9d5c0b58..c6a69a7112c6027e65aa9781870d2d49c64408c8 100644 (file)
@@ -9,7 +9,7 @@
 # Additional variables can be provided in init files.
 # Variables are not exported unless the init files do.
 #
-# The following directory structure is available, relative to TMPDIR
+# The following directory structure is available, relative to E2_TMPDIR
 #
 # ./build/<sourcename> sources are located here
 # ./root               shall be used as the destination directory when