mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-12-25 04:42:52 +00:00
Compare commits
3 Commits
v0.6.6
...
dmsetup-re
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6751d7421f | ||
|
|
a868346eac | ||
|
|
f533e5e10e |
@@ -103,6 +103,7 @@ usage()
|
||||
echo " --model: (optional) The board model"
|
||||
echo " --efi-dir: (optional) A directory with files which will be added to the efi partition"
|
||||
echo " --disable-lvm: (optional- no arguments) LVM for the recovery and oem partitions will be disabled"
|
||||
echo " --use-lvm: (deprecated and ignored. Kept for backwards compatibility)"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -192,6 +193,9 @@ while [ "$#" -gt 0 ]; do
|
||||
--disable-lvm)
|
||||
disable_lvm=true
|
||||
;;
|
||||
--use-lvm)
|
||||
disable_lvm=false
|
||||
;;
|
||||
-h)
|
||||
usage
|
||||
;;
|
||||
@@ -442,6 +446,8 @@ sync
|
||||
echo ">> Performing $model specific bits.."
|
||||
/arm/boards/$model.sh ${DRIVE}
|
||||
|
||||
dmsetup remove $DRIVE
|
||||
|
||||
sync
|
||||
sleep 5
|
||||
sync
|
||||
|
||||
Reference in New Issue
Block a user