2014-03-17 00:21:41 +04:00
|
|
|
# This file defines the content of the bootstrap Haiku image.
|
|
|
|
|
|
|
|
# import everything from the minimum image
|
|
|
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions minimum ] ;
|
|
|
|
|
|
|
|
# build and add the source package directory and a haikuports.config file
|
|
|
|
CopyDirectoryToHaikuImage home haikuports
|
|
|
|
: [ BuildHaikuPortsSourcePackageDirectory ]
|
|
|
|
: input-source-packages : -x *_source-*.hpkg : isTarget ;
|
|
|
|
AddFilesToHaikuImage home haikuports
|
|
|
|
: [ BuildHaikuPortsRepositoryConfig /boot/home/haikuports ] ;
|
2014-07-03 19:45:53 +04:00
|
|
|
|
|
|
|
# copy the haikuports format versions file
|
|
|
|
local formatVersionsFile = <haikuports>FormatVersions ;
|
|
|
|
SEARCH on $(formatVersionsFile) = $(HAIKU_PORTS) ;
|
|
|
|
AddFilesToHaikuImage home haikuports : $(formatVersionsFile) ;
|
2014-10-30 18:17:54 +03:00
|
|
|
|
|
|
|
# bootstrap daemon
|
|
|
|
local bootstrapDaemon = <haiku-image>bootstrap_daemon.py ;
|
|
|
|
SEARCH on $(bootstrapDaemon) = [ FDirName $(HAIKU_TOP) build scripts ] ;
|
|
|
|
AddFilesToHaikuImage home config settings boot launch : $(bootstrapDaemon) ;
|