diff options
Diffstat (limited to 'functions.sh')
-rwxr-xr-x | functions.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/functions.sh b/functions.sh index 7df8d67..1b70c0e 100755 --- a/functions.sh +++ b/functions.sh @@ -69,7 +69,7 @@ function check_environment() { error "dnf is missing." fi fi - list_of_tools="/usr/bin/qemu-arm-static /usr/bin/qemu-img" + list_of_tools="/usr/bin/qemu-arm-static /usr/bin/qemu-img /usr/bin/udisksctl" ### TODO add other environmnet things, like : from function createchroot() for tool in ${list_of_tools} ; do hash ${tool} @@ -547,11 +547,6 @@ function partitionningimage() { function loopingImage() { title "Looping image ..." - if ! [ -x /usr/bin/udisksctl ]; then - error "Error, udisks2 is missing." - cleanExit ${ERR_1} - fi - # Mettre en place et contrôler des périphériques boucle. # -f, --find trouver le premier périphérique inutilisé # --show afficher le nom du périphérique après configuration (avec -f) |