projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore non-zero exist codes of `modprobe loop` and `modprobe dm-mod`
[grml-debootstrap.git]
/
grml-debootstrap
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
bac28b0
..
3c6ef2f
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-1451,7
+1451,7
@@
prepare_vm() {
fi
# make sure loop module is present and a usable loop device exists
fi
# make sure loop module is present and a usable loop device exists
- modprobe
-q loop
+ modprobe
loop || true
if ! losetup -f >/dev/null 2>&1; then
eerror "Error finding usable loop device"
bailout 1
if ! losetup -f >/dev/null 2>&1; then
eerror "Error finding usable loop device"
bailout 1
@@
-1459,7
+1459,7
@@
prepare_vm() {
# if dm-mod isn't available then kpartx will fail with
# "Is device-mapper driver missing from kernel? [...]"
# if dm-mod isn't available then kpartx will fail with
# "Is device-mapper driver missing from kernel? [...]"
- modprobe
-q dm-mod
+ modprobe
dm-mod || true
if ! grep -q 'device-mapper' /proc/misc >/dev/null 2>&1 ; then
eerror "Device-mapper support missing in kernel."
bailout 1
if ! grep -q 'device-mapper' /proc/misc >/dev/null 2>&1 ; then
eerror "Device-mapper support missing in kernel."
bailout 1