Added support for "optional packages". Those can be defined in
HaikuImage and enabled individually using the AddOptionalHaikuImagePackages rule or all at once by setting HAIKU_ADD_ALL_OPTIONAL_PACKAGES. In principle an optional package can be any kind of addition to the Haiku image, but usually a zip file will be downloaded from somewhere and unzipped onto the image. I've added a WonderBrush package as an example. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22184 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -412,9 +412,23 @@ AddDirectoryToHaikuImage home config settings printers "Save as PDF"
|
||||
: home-config-settings-printers-save-as-pdf.rdef ;
|
||||
|
||||
|
||||
#pragma mark - Optional Packages
|
||||
|
||||
|
||||
# WonderBrush
|
||||
if [ IsOptionalHaikuImagePackageAdded WonderBrush ] {
|
||||
InstallOptionalHaikuImagePackage WonderBrush
|
||||
: http://www.yellowbites.com/downloads/WonderBrush-2.0.2-demo-x86-R5.zip
|
||||
: apps
|
||||
;
|
||||
AddSymlinkToHaikuImage home config be Applications
|
||||
: /boot/apps/WonderBrush/WonderBrush ;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Build The Image
|
||||
|
||||
|
||||
# Set image name and directory defaults and locate the image.
|
||||
HAIKU_IMAGE_NAME ?= haiku.image ;
|
||||
HAIKU_IMAGE_DIR ?= $(HAIKU_OUTPUT_DIR) ;
|
||||
|
||||
Reference in New Issue
Block a user