1# This file defines the content of the bootstrap Haiku image.
2
3# import everything from the minimum image
4include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions minimum ] ;
5
6# build and add the source package directory and a haikuports.config file
7CopyDirectoryToHaikuImage home haikuports
8	: [ BuildHaikuPortsSourcePackageDirectory ]
9	: input-source-packages : -x  *_source-*.hpkg : isTarget ;
10AddFilesToHaikuImage home haikuports
11	: [ BuildHaikuPortsRepositoryConfig /boot/home/haikuports ] ;
12
13# copy the haikuports format versions file
14local formatVersionsFile = <haikuports>FormatVersions ;
15SEARCH on $(formatVersionsFile) = $(HAIKU_PORTS) ;
16AddFilesToHaikuImage home haikuports : $(formatVersionsFile) ;
17
18# bootstrap daemon
19local bootstrapDaemon = <haiku-image>bootstrap_daemon.py ;
20SEARCH on $(bootstrapDaemon) = [ FDirName $(HAIKU_TOP) build scripts ] ;
21AddFilesToHaikuImage home config settings boot launch : $(bootstrapDaemon) ;
22