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
+3
View File
@@ -32,7 +32,10 @@ rule ProcessCommandLineArguments
Echo ; Echo ;
Echo "Default build profiles:" ; Echo "Default build profiles:" ;
Echo " image - A raw disk image." ; 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 " vmware-image - A VMware disk image." ;
Echo " disk - A partition or hard disk device." ;
Echo " install - A Haiku installation in a directory." ; Echo " install - A Haiku installation in a directory." ;
Echo ; Echo ;
Echo "Build profile actions:" ; Echo "Build profile actions:" ;
+5 -4
View File
@@ -278,10 +278,11 @@ rule DefineBuildProfile name : type : path {
# #
# <name> - The name of the build profile. # <name> - The name of the build profile.
# <type> - The type of the build profile. Must be one of "image" (plain # <type> - The type of the build profile. Must be one of "image" (plain
# disk image), "vmware-image" (VMware disk image), "disk" # disk image), "anyboot-image" (custom disk image that can be
# (actual partition or hard disk device), "cd-image" (ISO CD # written to CD or disk device), "cd-image" (ISO CD image),
# image), "install" (installation in a directory), or "custom" # "vmware-image" (VMware disk image), "disk" (actual partition
# (user-defined). # or hard disk device), "install" (installation in a directory),
# or "custom" (user-defined).
# <path> - The path associated with the profile. Depending on the profile # <path> - The path associated with the profile. Depending on the profile
# type, this is the path to the disk image/VMware image, hard # type, this is the path to the disk image/VMware image, hard
# disk/partition device, or the installation directory. If the # disk/partition device, or the installation directory. If the
+7
View File
@@ -181,6 +181,8 @@ AddGroupToHaikuImage party : 101 : baron walter ;
# installed. No image name or path is given, so the defaults # installed. No image name or path is given, so the defaults
# ("haiku.vmdk" in the generated directory) will be used, unless the # ("haiku.vmdk" in the generated directory) will be used, unless the
# respective variables are set. # 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 # crash - Similar to the vmware profile, but created at a specific location
# and 1 GB size. Furthermore a "crash-tests" directory will be copied # and 1 GB size. Furthermore a "crash-tests" directory will be copied
# to the image. # to the image.
@@ -189,6 +191,7 @@ AddGroupToHaikuImage party : 101 : baron walter ;
DefineBuildProfile disk : disk : "/dev/sda57" ; DefineBuildProfile disk : disk : "/dev/sda57" ;
DefineBuildProfile qemu : image : "haiku-qemu.image" ; DefineBuildProfile qemu : image : "haiku-qemu.image" ;
DefineBuildProfile vmware : vmware-image ; DefineBuildProfile vmware : vmware-image ;
DefineBuildProfile anyboot : anyboot-image : "haiku-anyboot.image" ;
DefineBuildProfile crash : vmware-image DefineBuildProfile crash : vmware-image
: "/home/foobar/vmware/Virtual Machines/CrashOMatic/CrashOMatic.vmdk" ; : "/home/foobar/vmware/Virtual Machines/CrashOMatic/CrashOMatic.vmdk" ;
DefineBuildProfile install : install : /Haiku2 ; DefineBuildProfile install : install : /Haiku2 ;
@@ -210,6 +213,10 @@ switch $(HAIKU_BUILD_PROFILE) {
AddOptionalHaikuImagePackages Development Pe ; AddOptionalHaikuImagePackages Development Pe ;
} }
case "anyboot" : {
HAIKU_IMAGE_SIZE = 400 ;
}
case "crash" : { case "crash" : {
HAIKU_IMAGE_SIZE = 1024 ; HAIKU_IMAGE_SIZE = 1024 ;
HAIKU_DONT_CLEAR_IMAGE = 1 ; HAIKU_DONT_CLEAR_IMAGE = 1 ;