haiku/build/jam/images/definitions/bootstrap
Oliver Tappe 5de87ca904 Copy haikuports/FormatVersions onto the bootstrap image.
* Without it, haikuporter will believe there's a version mismatch
  between itself and the haikuports tree.
2014-07-03 18:12:07 +02:00

17 lines
717 B
Plaintext

# 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 ] ;
# copy the haikuports format versions file
local formatVersionsFile = <haikuports>FormatVersions ;
SEARCH on $(formatVersionsFile) = $(HAIKU_PORTS) ;
AddFilesToHaikuImage home haikuports : $(formatVersionsFile) ;