Add the build-in-devfs command to builder
This commit is contained in:
parent
fa6273f0bf
commit
2f64811aa0
|
@ -36,3 +36,4 @@ repos:
|
|||
rev: 1.0.5
|
||||
hooks:
|
||||
- id: shell-lint
|
||||
args: ['-x']
|
||||
|
|
10
builder
10
builder
|
@ -365,6 +365,16 @@ function destroy-devfs() { ## Destroy the 'devfs' by unmounting the volumes and
|
|||
unmount_and_destroy_devfs "$rootfs"
|
||||
}
|
||||
|
||||
function build-in-devfs() { ## Destroy the 'devfs' by unmounting the volumes and deleting the files
|
||||
# shellcheck source=/dev/null
|
||||
source .env
|
||||
|
||||
local rootfs
|
||||
rootfs="$DEV_FS_DIR/fs"
|
||||
|
||||
rootless "$rootfs" ./builder build
|
||||
}
|
||||
|
||||
function devfs_root_shell() { ## Get a bash shell as root on the devfs
|
||||
# shellcheck source=/dev/null
|
||||
source .env
|
||||
|
|
Loading…
Reference in New Issue