1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-09 16:48:05 +01:00

docs: tutorial for adding repo

This commit is contained in:
Jozef Steinhübl 2024-06-23 09:29:08 +02:00
parent 588eb6deaf
commit bc8ca12103
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -2,6 +2,19 @@
This repository contains my personal, non-upstreamed packages. This repository contains my personal, non-upstreamed packages.
## Adding the repository
```
$ sudo nano /etc/xbps.d/10-xhyrom-dev.conf
repository=https://void-repo.xhyrom.dev
```
Synchronize the repository index and import the public key:
```
sudo xbps-install -S
```
## Basic build instructions ## Basic build instructions
``` ```
@ -37,25 +50,35 @@ See [Contributing](./CONTRIBUTING.md) for a general overview of how to contribut
### Table of Contents ### Table of Contents
- [Requirements](#requirements) - [Hyro's XBPS source packages collection](#hyros-xbps-source-packages-collection)
- [Quick start](#quick-start) - [Adding the repository](#adding-the-repository)
- [chroot methods](#chroot-methods) - [Basic build instructions](#basic-build-instructions)
- [Install the bootstrap packages](#install-bootstrap) - [Packages](#packages)
- [Configuration](#configuration) - [Table of Contents](#table-of-contents)
- [Directory hierarchy](#directory-hierarchy) - [Requirements](#requirements)
- [Building packages](#building-packages) - [Quick start](#quick-start)
- [Package build options](#build-options) - [chroot methods](#chroot-methods)
- [Sharing and signing your local repositories](#sharing-and-signing) - [xbps-uunshare(1) (default)](#xbps-uunshare1-default)
- [Rebuilding and overwriting existing local packages](#rebuilding) - [xbps-uchroot(1)](#xbps-uchroot1)
- [Enabling distcc for distributed compilation](#distcc) - [bwrap(1)](#bwrap1)
- [Distfiles mirrors](#distfiles-mirrors) - [ethereal](#ethereal)
- [Cross compiling packages for a target architecture](#cross-compiling) - [Install the bootstrap packages](#install-the-bootstrap-packages)
- [Using xbps-src in a foreign Linux distribution](#foreign) - [Configuration](#configuration)
- [Remaking the masterdir](#remaking-masterdir) - [Virtual packages](#virtual-packages)
- [Keeping your masterdir uptodate](#updating-masterdir) - [Directory hierarchy](#directory-hierarchy)
- [Building 32bit packages on x86_64](#building-32bit) - [Building packages](#building-packages)
- [Building packages natively for the musl C library](#building-for-musl) - [Package build options](#package-build-options)
- [Building void base-system from scratch](#building-base-system) - [Sharing and signing your local repositories](#sharing-and-signing-your-local-repositories)
- [Rebuilding and overwriting existing local packages](#rebuilding-and-overwriting-existing-local-packages)
- [Enabling distcc for distributed compilation](#enabling-distcc-for-distributed-compilation)
- [Distfiles mirror(s)](#distfiles-mirrors)
- [Cross compiling packages for a target architecture](#cross-compiling-packages-for-a-target-architecture)
- [Using xbps-src in a foreign Linux distribution](#using-xbps-src-in-a-foreign-linux-distribution)
- [Remaking the masterdir](#remaking-the-masterdir)
- [Keeping your masterdir uptodate](#keeping-your-masterdir-uptodate)
- [Building 32bit packages on x86\_64](#building-32bit-packages-on-x86_64)
- [Building packages natively for the musl C library](#building-packages-natively-for-the-musl-c-library)
- [Building void base-system from scratch](#building-void-base-system-from-scratch)
### Requirements ### Requirements