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 * Default file that contains command names to be used 34 * by the installer. 35 * File syntax must be Bourne Shell compatible, all paths 36 * should be relative to the installation media. 37 */ 38 #ifndef DEFAULT_CMDNAMES_FILE 39 #define DEFAULT_CMDNAMES_FILE "usr/share/installer/cmdnames.conf" 40 #endif 41 42 /* 43 * Directory from which to copy 'pristine' files over the 44 * installed files after the main installation phase is done. 45 * This is actually something of a misnomer now, as these 46 * files would typically be 3rd-party customizations. 47 */ 48 #ifndef PRISTINE_DIR 49 #define PRISTINE_DIR ".pristine" 50 #endif 51 52 #ifndef PRISTINE_DIR_ROOT 53 #define PRISTINE_DIR_ROOT ".pristineroot" 54 #endif 55 56 #endif /* !__PATHNAMES_H_ */ 57