From 23e6e36bbedf9f96e2f137f315b6099996b34f07 Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Wed, 18 Mar 2009 23:15:04 +0100 Subject: [PATCH] update documentation and templates to use E2_TMPDIR instead of TMPDIR. Patch by Matthias Kaehlcke Signed-off-by: Gordon Hecker --- doc/manual/results.text | 8 ++++---- templates/local/build-script | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/manual/results.text b/doc/manual/results.text index 7dea4de..9a55da5 100644 --- a/doc/manual/results.text +++ b/doc/manual/results.text @@ -21,9 +21,9 @@ In addition creating a `build-script` is required. The build script must be stored in `./res//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) diff --git a/templates/local/build-script b/templates/local/build-script index de85a85..c6a69a7 100644 --- a/templates/local/build-script +++ b/templates/local/build-script @@ -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/ sources are located here # ./root shall be used as the destination directory when -- 2.39.5