projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
98b48d4
)
Add missing vim folding markers
author
Michael Prokop
<mika@grml.org>
Sun, 22 Jul 2018 17:19:14 +0000
(19:19 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 23 Jul 2018 06:16:10 +0000
(08:16 +0200)
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
7e88c11
..
78e6dc4
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-925,6
+925,7
@@
Do you want to stop now?" 0 0 2>/dev/null
}
# }}}
}
# }}}
+# format efi partition {{{
format_efi_partition() {
if [ -z "$EFI" ] ; then
return 0
format_efi_partition() {
if [ -z "$EFI" ] ; then
return 0
@@
-950,6
+951,7
@@
format_efi_partition() {
fi
fi
}
fi
fi
}
+# }}}
# check for EFI support or try to enable it {{{
efi_support() {
# check for EFI support or try to enable it {{{
efi_support() {
@@
-1284,6
+1286,7
@@
mkfs() {
}
# }}}
}
# }}}
+# retrieve ID_FS_UUID {{{
identify_target_uuid() {
local device="$1"
identify_target_uuid() {
local device="$1"
@@
-1299,7
+1302,9
@@
identify_target_uuid() {
return 1
fi
}
return 1
fi
}
+# }}}
+# identify TARGET_UUID {{{
mountpoint_to_blockdevice() {
TARGET_UUID=''
mountpoint_to_blockdevice() {
TARGET_UUID=''
@@
-1324,6
+1329,7
@@
mountpoint_to_blockdevice() {
fi
done
}
fi
done
}
+# }}}
# modify filesystem settings {{{
tunefs() {
# modify filesystem settings {{{
tunefs() {
@@
-1751,6
+1757,7
@@
execute_post_scripts() {
}
# }}}
}
# }}}
+# unmount mountpoint {{{
try_umount() {
local tries=$1
local mountpoint="$2"
try_umount() {
local tries=$1
local mountpoint="$2"
@@
-1770,6
+1777,7
@@
try_umount() {
done
return 1 # Tried enough
}
done
return 1 # Tried enough
}
+# }}}
# execute chroot-script {{{
chrootscript() {
# execute chroot-script {{{
chrootscript() {