From fa319699526cf91a2478c456cf1212fd7f3abee7 Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Sep 18 2024 11:00:26 +0000 Subject: Simplify build tooling docs Use `centos-get-sources` and `centos-lookaside-upload-sig` from `centos-packager` Signed-off-by: Michel Lind --- diff --git a/docs/internal/building.md b/docs/internal/building.md index ce5cdbc..fbd5cd1 100644 --- a/docs/internal/building.md +++ b/docs/internal/building.md @@ -1,8 +1,8 @@ # Prerequisites * For local test builds: `mock` and `mock-centos-sig-configs` -* To interact with the lookaside: `get_sources.sh` and `lookaside-upload` from [centos-git-common](https://git.centos.org/centos-git-common) -* To interact with CBS: `centos-packager` +* To interact with the lookaside: `centos-get-sources` and `centos-lookaside-upload-sig` from `centos-packager` +* To interact with CBS: `cbs` from `centos-packager` # Working with git @@ -21,7 +21,7 @@ To clone an existing package: $ git clone ssh://git@git.centos.org/rpms/systemd.git ``` -To fetch the sources from lookaside, run `get_sources.sh` from inside the checkout. +To fetch the sources from lookaside, run `centos-get-sources` from inside the checkout. To do a local test build, make sure `mock-centos-sig-configs` is installed, then do: ``` @@ -37,12 +37,12 @@ $ git checkout --orphan c9s-sig-hyperscale If you need to add new source tarballs: ``` -$ lookaside_upload_sig -f systemd-249.4.tar.gz -n systemd +$ centos-lookaside-upload-sig -f systemd-249.4.tar.gz -n systemd ``` to push them to lookaside, then update gitignore and metadata ([example](https://git.centos.org/rpms/systemd/c/1c4d83f9061e38d08c8fcb4c43b5ba3a96d8cd0a?branch=c9s-sig-hyperscale)) -Note that `lookaside_upload_sig` requires a valid CentOS certificate. See the [CentOS SIG Guide](https://sigs.centos.org/guide/git/) for more information. +Note that `centos-lookaside-upload-sig` requires a valid CentOS certificate. See the [CentOS SIG Guide](https://sigs.centos.org/guide/git/) for more information. # Build tags