The "build/jam/repositories/HaikuPorts" directory contains RemotePackageRepository files which detail packages and repositories leveraged during Haiku’s build process. While in the standard Haiku/HaikuPorts package repositories, older package builds are purged at intervals, the build package repositories have a stable set of packages required during the building and running of Haiku. This makes sure that non-recent source trees can be continued to build and run.
Warning: The URL packages are obtained from are determined by the sha256sum of the repository file. This means that when the hardlink_packages.py script is used to generate a new RemotePackageRepository jam file, it must not be modified in any way when committing it to the Haiku repository.
The actions require server access to Haiku’s kubernetes environment by a Haiku system administrator. Please contact the Haiku system administrators when it is necessary to create a new set of build packages.
Each RemotePackageRepository jam file in this directory is processed by src/tools/hardlink_packages.py on the HaikuPorts package server.
=> https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/
)
Here is the fastest way to update this as of today. Improvements are needed. Replace (BUILDMASTER) and (ARCH) with the architecture you are creating the build-packages packages for.
(BUILDMASTER) is one of:
(ARCH) corresponds with the architectures. Note that where an ARCH like x86_64 might use an underscore, the BUILDMASTER will use dashes.
Run the following steps from the shell.
kubectl exec -it deployment/haikuporter -c buildmaster-(BUILDMASTER) -- sh
wget https://git.haiku-os.org/haiku/plain/build/jam/repositories/HaikuPorts/(ARCH)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
/var/sources/haiku/src/tools/hardlink_packages.py \ (ARCH) \ /var/packages/repository/master/(ARCH)/current/packages/ \ /var/packages/build-packages/master/
exit
When the build-packages repository is created, and the RemotePackageRepository file is updated, it can be pulled to the local machine and be committed to the Haiku repository.
Run the following steps from the shell.
kubectl cp -c buildmaster-(BUILDMASTER) \ $(kubectl get pods | grep haikuporter | awk ‘{ print $1 }’):./(ARCH) \ (ARCH)
text/gemini;lang=en
This content has been proxied by September (ba2dc).