haiku/build/jam/repositories/HaikuPorts
Alexander von Gluck IV c085f38639 riscv64: Fill in more bulk architecture items around libroot/kernel
Change-Id: Ia2a86d8814d06950ea2d2d19d966c642d26f81d6
Reviewed-on: https://review.haiku-os.org/c/1302
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-03-25 17:16:03 +00:00
..
arm build_packages: Now update arm and ppc after hardlinks (oops) 2018-08-08 10:27:49 -05:00
m68k Update the ca_root_certificates package. 2015-03-30 20:59:58 +02:00
ppc build_packages: Now update arm and ppc after hardlinks (oops) 2018-08-08 10:27:49 -05:00
README.md x86_64: Update build_package to include missing llvm7 for mesa_swpipe 2019-02-18 13:44:56 -06:00
riscv64 riscv64: Fill in more bulk architecture items around libroot/kernel 2019-03-25 17:16:03 +00:00
sparc sparc: add defines and minimum set of required files 2019-02-23 16:30:50 +00:00
x86 HaikuPorts/x86: Fix x86 build_packages repo url 2018-05-21 13:32:49 -05:00
x86_64 x86_64: Update build_package to include missing llvm7 for mesa_swpipe 2019-02-18 13:44:56 -06:00
x86_gcc2 HaikuPorts: Update build-packages again to pull in new Mesa. 2018-09-27 00:37:43 -04:00

HaikuPorts repository files

This directory contains RemotePackageRepository files which detail packages and repositories leveraged during Haiku's build process.

Warning: The URL packages are obtained from are determined by the sha256sum of the repository file.

Updating

Each RemotePackageRepository jam file in this directory is processed by src/tools/hardlink_packages.py on the HaikuPorts package server.

  1. Latest RemotePackageRepository jam file in git is downloaded on package server.
  2. Packages are added to HaikuPorts by automatic or manual means.
  3. hardlink_packages is provided all the relevant directories and RemotePackageRepository file
  4. hardlink_packages performs additional modification of the RemotePackageRepository and creates build repositories (https://eu.hpkg.haiku-os.org/haikuports/master/build-packages/)
  5. The modified RemotePackageRepository file is copied back to the developers system and checked in to git.

Process

Here is the fastest way to update this as of today. Improvements are needed. Replace (ARCH) with architecture, (USER) with your non-root user.

  1. (as root) wget https://git.haiku-os.org/haiku/plain/build/jam/repositories/HaikuPorts/(ARCH) -O /var/lib/docker/volumes/buildmaster_data_master_(ARCH)/_data/
  2. Enter the buildmaster container: docker exec -it $(docker ps | grep buildmaster_buildmaster_master_(ARCH) | awk '{ print $1 }') /bin/bash -l
  3. apt install vim python3
  4. edit the repository define, add the needed packages, _devel packages, and add base package to source section.
  5. ln -s /var/buildmaster/package_tools/package_repo /usr/bin/package_tools
  6. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/var/buildmaster/package_tools
  7. ./package_tools/hardlink_packages.py (ARCH) ./(ARCH) /var/packages/repository/master/(ARCH)/current/packages/ /var/packages/build-packages/master/
  8. exit; cp /var/lib/docker/volumes/buildmaster_data_master_(ARCH)/_data/(ARCH) /home/(USER)/(ARCH); chown (USER) /home/(USER)/(ARCH);
  9. scp -P2222 (USER)@walter.haikuos.org:./(ARCH) .
  10. commit the updated repostory define without modifying it