mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2026-02-02 17:35:08 +01:00
add support for another mountpoint than /mnt
This commit is contained in:
parent
d7e178126f
commit
af2da574be
6 changed files with 40 additions and 19 deletions
8
disko
8
disko
|
|
@ -25,6 +25,8 @@ Options:
|
|||
pass value to nix-build. can be used to set disk-names for example
|
||||
* --argstr name value
|
||||
pass value to nix-build as string
|
||||
* --root-mountpoint /mnt
|
||||
where to mount the device tree
|
||||
* --dry-run
|
||||
just show the path to the script instead of running it
|
||||
* --debug
|
||||
|
|
@ -54,7 +56,7 @@ while [[ $# -gt 0 ]]; do
|
|||
shift
|
||||
;;
|
||||
-f | --flake)
|
||||
flake="$2"
|
||||
flake=$2
|
||||
shift
|
||||
;;
|
||||
--argstr | --arg)
|
||||
|
|
@ -69,6 +71,10 @@ while [[ $# -gt 0 ]]; do
|
|||
--dry-run)
|
||||
dry_run=y
|
||||
;;
|
||||
--root-mountpoint)
|
||||
nix_args+=(--arg rootMountPoint "$2")
|
||||
shift
|
||||
;;
|
||||
--no-deps)
|
||||
nix_args+=(--arg noDeps true)
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue