4
0

added option disable default boot counter reset

This commit is contained in:
Benjamin Böhmke
2019-12-15 19:42:43 +01:00
parent 00bda84713
commit c2a7e71bd5
2 changed files with 23 additions and 20 deletions

View File

@@ -55,22 +55,23 @@ chroot_exec rc-update add example_daemon default
The following variables can be used to modify the base behaviour of the image
builder.
| Variable | Default Value | Description |
| ------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------------- |
| ALPINE_BRANCH | 3.10 | [Alpine Branch](https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases) to use for image |
| ALPINE_MIRROR | http://dl-cdn.alpinelinux.org/alpine | Mirror used for package download |
| CUSTOM_IMAGE_SCRIPT | image.sh | Name of script for image customizations (relative to input dir) |
| DEFAULT_DROPBEAR_ENABLED | true | True to enable SSH server by default |
| DEFAULT_HOSTNAME | alpine | Default hostname |
| DEFAULT_ROOT_PASSWORD | alpine | Default password for root user |
| DEFAULT_TIMEZONE | Etc/UTC | Default [Timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) to use for image |
| IMG_NAME | sdcard | Base name of created image file |
| INPUT_PATH | /input | Input directory inside container |
| OUTPUT_PATH | /output | Output directory inside container |
| SIZE_BOOT | 100M | Size of boot partition |
| SIZE_DATA | 20M | Initial Size of data partition |
| SIZE_ROOT_FS | 200M | Size of root file system |
| SIZE_ROOT_PART | 500M | Size of root partition |
| Variable | Default Value | Description |
| --------------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |
| ALPINE_BRANCH | 3.10 | [Alpine Branch](https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases) to use for image |
| ALPINE_MIRROR | http://dl-cdn.alpinelinux.org/alpine | Mirror used for package download |
| CUSTOM_IMAGE_SCRIPT | image.sh | Name of script for image customizations (relative to input dir) |
| DEFAULT_DROPBEAR_ENABLED | true | True to enable SSH server by default |
| DEFAULT_HOSTNAME | alpine | Default hostname |
| DEFAULT_ROOT_PASSWORD | alpine | Default password for root user |
| DEFAULT_TIMEZONE | Etc/UTC | Default [Timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) to use for image |
| IMG_NAME | sdcard | Base name of created image file |
| INPUT_PATH | /input | Input directory inside container |
| OUTPUT_PATH | /output | Output directory inside container |
| SIZE_BOOT | 100M | Size of boot partition |
| SIZE_DATA | 20M | Initial Size of data partition |
| SIZE_ROOT_FS | 200M | Size of root file system |
| SIZE_ROOT_PART | 500M | Size of root partition |
| UBOOT_COUNTER_RESET_ENABLED | true | True to enable simple boot counter reset service |
### Update running system