Added some documentation about the anyboot images. Verification appreciated.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36601 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia 2010-05-03 21:51:58 +00:00
parent 853ce54845
commit 9f10e7acc7
3 changed files with 15 additions and 4 deletions

View File

@ -32,7 +32,10 @@ rule ProcessCommandLineArguments
Echo ;
Echo "Default build profiles:" ;
Echo " image - A raw disk image." ;
Echo " anyboot-image - A custom image for either CD or disk" ;
Echo " cd-image - An ISO9660 CD image." ;
Echo " vmware-image - A VMware disk image." ;
Echo " disk - A partition or hard disk device." ;
Echo " install - A Haiku installation in a directory." ;
Echo ;
Echo "Build profile actions:" ;

View File

@ -278,10 +278,11 @@ rule DefineBuildProfile name : type : path {
#
# <name> - The name of the build profile.
# <type> - The type of the build profile. Must be one of "image" (plain
# disk image), "vmware-image" (VMware disk image), "disk"
# (actual partition or hard disk device), "cd-image" (ISO CD
# image), "install" (installation in a directory), or "custom"
# (user-defined).
# disk image), "anyboot-image" (custom disk image that can be
# written to CD or disk device), "cd-image" (ISO CD image),
# "vmware-image" (VMware disk image), "disk" (actual partition
# or hard disk device), "install" (installation in a directory),
# or "custom" (user-defined).
# <path> - The path associated with the profile. Depending on the profile
# type, this is the path to the disk image/VMware image, hard
# disk/partition device, or the installation directory. If the

View File

@ -181,6 +181,8 @@ AddGroupToHaikuImage party : 101 : baron walter ;
# installed. No image name or path is given, so the defaults
# ("haiku.vmdk" in the generated directory) will be used, unless the
# respective variables are set.
# anyboot - A custom image (type "anyboot-image"), its size will be 4 MB larger
# than the value of HAIKU_IMAGE_SIZE, named haiku-anyboot.image.
# crash - Similar to the vmware profile, but created at a specific location
# and 1 GB size. Furthermore a "crash-tests" directory will be copied
# to the image.
@ -189,6 +191,7 @@ AddGroupToHaikuImage party : 101 : baron walter ;
DefineBuildProfile disk : disk : "/dev/sda57" ;
DefineBuildProfile qemu : image : "haiku-qemu.image" ;
DefineBuildProfile vmware : vmware-image ;
DefineBuildProfile anyboot : anyboot-image : "haiku-anyboot.image" ;
DefineBuildProfile crash : vmware-image
: "/home/foobar/vmware/Virtual Machines/CrashOMatic/CrashOMatic.vmdk" ;
DefineBuildProfile install : install : /Haiku2 ;
@ -210,6 +213,10 @@ switch $(HAIKU_BUILD_PROFILE) {
AddOptionalHaikuImagePackages Development Pe ;
}
case "anyboot" : {
HAIKU_IMAGE_SIZE = 400 ;
}
case "crash" : {
HAIKU_IMAGE_SIZE = 1024 ;
HAIKU_DONT_CLEAR_IMAGE = 1 ;