summaryrefslogtreecommitdiffstats
path: root/petitboot-paths.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2007-06-27 11:02:38 +1000
committerJeremy Kerr <jk@ozlabs.org>2007-06-27 11:02:38 +1000
commit7d7c328016aca3e14aee6268a2e7881d3440e226 (patch)
tree16ace6763c938c66980d16ce248e7608fdb45b89 /petitboot-paths.h
parentc24a319cec4c563845ddfe269ed7f2d9b962d922 (diff)
downloadtalos-petitboot-7d7c328016aca3e14aee6268a2e7881d3440e226.tar.gz
talos-petitboot-7d7c328016aca3e14aee6268a2e7881d3440e226.zip
Resolve device paths in kernel and initrd locations.
Instead of mounting in random locations, create a fixed mapping between device and mountpoint. This allows the parsers to refer to files outside the current partition. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'petitboot-paths.h')
-rw-r--r--petitboot-paths.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/petitboot-paths.h b/petitboot-paths.h
index 114d0b2..f8c5964 100644
--- a/petitboot-paths.h
+++ b/petitboot-paths.h
@@ -10,7 +10,7 @@
#endif
#ifndef TMP_DIR
-#define TMP_DIR "/var/tmp"
+#define TMP_DIR "/var/tmp/mnt/"
#endif
#define PBOOT_DEVICE_SOCKET "/var/tmp/petitboot-dev"
OpenPOWER on IntegriCloud