commands.sh

lbu

linux

Manage `apk` overlay files on a diskless Alpine Linux system. Note: Subcommands like `include` write to `/etc`, which is stored in RAM. You need to run `lbu commit` to save the changes.

More info →

Options (5)

boolean

Commit changes to persistent storage (only files in `/etc` by default)

Example: lbu {{[ci|commit]}}
boolean

List files that would be saved using `commit`

Example: lbu {{[st|status]}}
boolean

Include a specific file or directory in the `apk` overlay

Example: lbu {{[inc|include]}} {{path/to/file_or_directory}}
boolean

Exclude a specific file or directory in `/etc` from the `apk` overlay

Example: lbu {{[ex|exclude]}} {{path/to/file_or_directory}}
boolean

List backups (previously created overlays)

Example: lbu {{[lb|list-backup]}}

Examples (8)

Commit changes to persistent storage (only files in `/etc` by default)

lbu [ci|commit]

List files that would be saved using `commit`

lbu [st|status]

Display changes in tracked files that would be saved using `commit`

Include a specific file or directory in the `apk` overlay

lbu [inc|include] path/to/file_or_directory

Exclude a specific file or directory in `/etc` from the `apk` overlay

lbu [ex|exclude] path/to/file_or_directory

Display the list of manually included/excluded files

lbu include|exclude -l

List backups (previously created overlays)

lbu [lb|list-backup]

Revert to a backup overlay

lbu revert overlay_filename.tar.gz
made by @shridhargupta | data from tldr-pages