Ports: Document build_{all,installed}.sh

This commit is contained in:
Linus Groh 2021-02-14 18:51:44 +01:00 committed by Andreas Kling
parent 96943ab07c
commit e8ff61e64b
Notes: sideshowbarker 2024-07-18 22:15:49 +09:00

View file

@ -18,7 +18,13 @@ its dependencies, the required files that will be downloaded as well as
configuration/compilation options, and some other things (see configuration/compilation options, and some other things (see
[Writing ports scripts](#writing-ports-scripts) for details). [Writing ports scripts](#writing-ports-scripts) for details).
To install a certain port, `cd` into its directory and run `./package.sh` - To install a certain port, `cd` into its directory and run `./package.sh`
- To install all available ports, run the `build_all.sh` script in this
directory. Pass `clean` as first argument to remove old build files
beforehand.
- To reinstall all currently installed ports, run the `build_installed.sh`
script in this directory. This is sometimes required when LibC changes, for
example. Pass `clean` as first argument to remove old build files beforehand.
Installed ports are being tracked in `Build/packages.db` (a simple text file). Installed ports are being tracked in `Build/packages.db` (a simple text file).
You can delete this file at any time, in fact it must be edited or removed You can delete this file at any time, in fact it must be edited or removed