xref: /haiku/build/jam/images/definitions/bootstrap (revision a629567a9001547736cfe892cdf992be16868fed)
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