small improvements

- docs/Developer-Guide_User-Configurations.md:
  add "in"
- docs/Developer-Guide_User-Configurations.md:
  s/doesn't/don't/ where appropriate
This commit is contained in:
Rolf Leggewie
2025-05-13 17:17:16 +08:00
committed by Igor
parent 6196a9d574
commit 989e0031d9
2 changed files with 2 additions and 2 deletions

View File

@@ -297,7 +297,7 @@ Enforce building from source instead of using pre-built artifacts.
- `yes`
- `no` (default)
Enforce building without Armbian repository. Suitable for developing new releases or making custom images that doesn't need Armbian repository.
Enforce building without Armbian repository. Suitable for developing new releases or making custom images that don't need Armbian repository.
**SECTOR_SIZE** ( `value` )
- `512` (default, for SD/EMMC/...)

View File

@@ -11,7 +11,7 @@ Patches with the same file name and path in the `userpatches` directory tree ove
## User provided configuration
A configuration file named `userpatches/config-<something>.conf.sh` (`.conf` also allowed) is a bash script that is sourced during the build if `./compile.sh something` is issued. All parameters which normally are passed via command line can be used (`PARAM1=value1` `PARAM2=value`) by using the same syntax, one separate line per `PARAM`. Command-line parameters still can override what is the config file. More advanced use cases can use conditionals, define functions to implement hooks, source other/common config files, etc. A few, quite complex, examples can be found [here](https://github.com/lanefu/armbian-userpatches-example-indiedroid-nova).
A configuration file named `userpatches/config-<something>.conf.sh` (`.conf` also allowed) is a bash script that is sourced during the build if `./compile.sh something` is issued. All parameters which normally are passed via command line can be used (`PARAM1=value1` `PARAM2=value`) by using the same syntax, one separate line per `PARAM`. Command-line parameters still can override what is in the config file. More advanced use cases can use conditionals, define functions to implement hooks, source other/common config files, etc. A few, quite complex, examples can be found [here](https://github.com/lanefu/armbian-userpatches-example-indiedroid-nova).
## Legacy user provided configuration (deprecated, support for this will be removed at some point)