1 0 dave # 2 0 dave # CDDL HEADER START 3 0 dave # 4 0 dave # The contents of this file are subject to the terms of the 5 0 dave # Common Development and Distribution License (the "License"). 6 0 dave # You may not use this file except in compliance with the License. 7 0 dave # 8 0 dave # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 0 dave # or http://www.opensolaris.org/os/licensing. 10 0 dave # See the License for the specific language governing permissions 11 0 dave # and limitations under the License. 12 0 dave # 13 0 dave # When distributing Covered Code, include this CDDL HEADER in each 14 0 dave # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 0 dave # If applicable, add the following below this CDDL HEADER, with the 16 0 dave # fields enclosed by brackets "[]" replaced with your own identifying 17 0 dave # information: Portions Copyright [yyyy] [name of copyright owner] 18 0 dave # 19 0 dave # CDDL HEADER END 20 0 dave # 21 0 dave # 22 2 dave # Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23 0 dave # Use is subject to license terms. 24 0 dave # 25 0 dave # ident "%Z%%M% %I% %E% SMI" 26 0 dave # 27 0 dave # 28 0 dave # Configuration file for the build_live_dvd script 29 0 dave # 30 0 dave 31 0 dave # 32 2 dave # Directory where this kit resides 33 2 dave # 34 14 dminer LIVEKIT=/space/live/liveusb 35 2 dave 36 2 dave # 37 0 dave # Directory in which to build DVD 38 14 dminer # If you wish to use a ZFS dataset to contain the build process, 39 14 dminer # set PREFIX_DATASET to the name of the dataset, which will be created 40 14 dminer # if it doesn't exist already. Otherwise, just set PREFIX to a path 41 14 dminer # which will be created. 42 0 dave # 43 14 dminer PREFIX_DATASET=space/live56 44 14 dminer PREFIX=/$PREFIX_DATASET 45 0 dave 46 0 dave # 47 0 dave # Location of Solaris product image 48 2 dave # Set SOLPRODUCTISO to point to the DVD ISO image if that's what you 49 2 dave # are using, and set SOLPRODUCT to the name of the directory on which 50 2 dave # the ISO should be mounted. 51 2 dave # If you're using a netinstall image, then just set SOLPRODUCT 52 2 dave # to its location and leave SOLPRODUCTISO unset. 53 0 dave # 54 14 dminer SOLPRODUCTISO=/space/iso/56/solarisdvd.iso 55 14 dminer SOLPRODUCT=/mnt/iso 56 0 dave PKGREPOS=$SOLPRODUCT/Solaris_11/Product 57 2 dave 58 2 dave # 59 2 dave # ZFS dataset name to use for proto area. If you're not using ZFS, leave unset. 60 2 dave # 61 14 dminer PROTO_DATASET=$PREFIX_DATASET/proto 62 0 dave 63 14 dminer # 64 14 dminer # Set to true to enable installation of Studio and Netbeans tools 65 14 dminer # 66 14 dminer INSTALL_DEVTOOLS=false 67 14 dminer 68 14 dminer # 69 14 dminer # Set to true to enable auto-generation of image for USB key 70 14 dminer # 71 14 dminer GEN_USB_IMG=true 72 14 dminer 73 14 dminer # 74 14 dminer # Set one of the following: 75 14 dminer # USB_ZVOL if you want to use a ZFS volume for the USB image 76 14 dminer # USB_FILE if you want to use a mkfile file for the USB image 77 14 dminer USB_ZVOL=space/live56/usb 78 14 dminer USB_FILE= 79 14 dminer 80 14 dminer # 81 14 dminer # Size of USB image 82 14 dminer USB_SIZE=1800m 83 0 dave # 84 0 dave # The proto directory where the filesystem hierarchy for the 85 0 dave # CDROM is created. 86 0 dave # 87 2 dave BOOTCD_PROTO=/$PROTO_DATASET 88 0 dave 89 0 dave # 90 0 dave # Name of the boot archive (minimal root fs image) within the 91 0 dave # CDROM's proto directory. 92 0 dave # 93 14 dminer BOOT_ARCHIVE=$BOOTCD_PROTO/boot/x86.microroot 94 0 dave 95 0 dave # 96 0 dave # The directory where the skeleton customization files are 97 0 dave # present. These are copied into BOOTCD_PROTO. 98 0 dave # 99 2 dave BOOTCD_SKEL=$LIVEKIT/bootcd_skel 100 0 dave 101 0 dave # 102 0 dave # The size of the root filesystem image in RAM. A file of this 103 0 dave # size is created using mkfile and the root fs image is created 104 0 dave # in that file. The size should allow for some several MB free 105 29 dave # space to be present in the root fs after Solaris has booted. 106 40 dave RAMDISK_SIZE=74000 107 0 dave 108 0 dave # 109 0 dave # Directory where trees of add-on software packages are stored 110 0 dave # 111 2 dave PACKAGEDIR=$LIVEKIT/packages 112 0 dave 113 0 dave # 114 0 dave # The CDROM volumeid that is set in the iso image. This enables 115 14 dminer # the filesystem/root SMF service to find the LiveCD and mount it, so the value 116 14 dminer # here must also be reflected in bootcd_skel/lib/svc/method/fs-root. 117 0 dave # 118 0 dave VOLUMEID=solaris_live 119 0 dave 120 0 dave # 121 0 dave # The full pathname of the ISO image to generate 122 0 dave # 123 0 dave ISO_FILE=$PREFIX/$VOLUMEID.iso 124 0 dave 125 0 dave # 126 0 dave # Temporary working storage for build process 127 0 dave # 128 0 dave TMPDIR=/tmp/livekit;export TMPDIR 129 0 dave 130