From 9f10e7acc7a2324725c3002c1964a95fc112d172 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Mon, 3 May 2010 21:51:58 +0000 Subject: [PATCH] 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 --- build/jam/CommandLineArguments | 3 +++ build/jam/MiscRules | 9 +++++---- build/jam/UserBuildConfig.ReadMe | 7 +++++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/build/jam/CommandLineArguments b/build/jam/CommandLineArguments index c00ec973d8..a378652719 100644 --- a/build/jam/CommandLineArguments +++ b/build/jam/CommandLineArguments @@ -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:" ; diff --git a/build/jam/MiscRules b/build/jam/MiscRules index 2cebefecd7..eb4a0bb76c 100644 --- a/build/jam/MiscRules +++ b/build/jam/MiscRules @@ -278,10 +278,11 @@ rule DefineBuildProfile name : type : path { # # - The name of the build profile. # - 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). # - 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 diff --git a/build/jam/UserBuildConfig.ReadMe b/build/jam/UserBuildConfig.ReadMe index 4afbe970d5..24085a3268 100644 --- a/build/jam/UserBuildConfig.ReadMe +++ b/build/jam/UserBuildConfig.ReadMe @@ -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 ;