summaryrefslogtreecommitdiff
path: root/DOCS.md
blob: dcbb6aedd0cccd0e6ce73eef1ada9bb20eb44c3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## build-tools/* files

Contains helper scripts/tools and config for building/managing ShopnoOS Package
repository.

#### buildroot usage
```sh
# buildroot create [distribution] [architecture]
# Create cowbuilder chroot for cross-building packages
$ buildroot create bullseye arm64

# buildroot build [distribution] [arch]
# builds packages for [arch] architecture on [distribution] release
# * must be executed inside a dpkg source tree (with debian/ tree)
# ** buildroot for [distribution] and [arch] required to use this
$ buildroot build bullseye armhf

# buildroot update [distro] [arch]
# Update buildroot for [distro]:[arch]
$ buildroot update bullseye armel
```

#### repo usage
This is just a simple wrapper around `reprepro`, set `REPO_BASE` to the rootdir of
the reprepro repository, everything else is like `reprepro`