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