1 /*
2  * Pathnames for DragonFly installer backend.
3  * $Id: pathnames.h,v 1.12 2004/10/12 06:31:32 den Exp $
4  */
5 
6 #ifndef __PATHNAMES_H_
7 #define __PATHNAMES_H_
8 
9 /*
10  * Default location where the files to copy onto the disk
11  * reside and generally where the installation is mounted.
12  * Normally this will be "/", when booting from a live CD,
13  * but for testing purposes we can set it to (say) "/cdrom/",
14  * so that we needn't boot from a CD in development.
15  * Note that this must include the trailing slash.
16  */
17 #ifndef DEFAULT_OS_ROOT
18 #define	DEFAULT_OS_ROOT		"/"
19 #endif
20 
21 /*
22  * Default directory in which temporary files are placed.
23  * /tmp/ is generally TMPFS mounted when booting from a live CD,
24  * so we can use it both in development and in production.
25  * Note that this must include the trailing slash.
26  * Note that this is NOT relative to the source file root dir.
27  */
28 #ifndef DEFAULT_INSTALLER_TEMP
29 #define	DEFAULT_INSTALLER_TEMP	"/tmp/"
30 #endif
31 
32 /*
33  * Directory from which to copy 'pristine' files over the
34  * installed files after the main installation phase is done.
35  * This is actually something of a misnomer now, as these
36  * files would typically be 3rd-party customizations.
37  */
38 #ifndef PRISTINE_DIR
39 #define	PRISTINE_DIR	".pristine"
40 #endif
41 
42 #ifndef PRISTINE_DIR_ROOT
43 #define PRISTINE_DIR_ROOT	".pristineroot"
44 #endif
45 
46 #endif /* !__PATHNAMES_H_ */
47