summaryrefslogtreecommitdiffstats
path: root/builder/build-initramfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/build-initramfs.sh')
-rwxr-xr-xbuilder/build-initramfs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index b3d43015..0ceef33f 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -78,11 +78,11 @@ declare -A core_dependencies=(
[dmsetup]='create a (temporary) writable layer during boot' \
[grep]='retrieve right boot partition during boot' \
[mktemp]='create save temporary files and dictionaries' \
+ [tee]='read from standard input and write to standard output and files' \
[readlink]="connect dracut module with dracut's module system" \
[rm]='remove (temporary) files' \
[shift]='parse command line' \
[sed]='process strings' \
- [tee]='write stdout to file' \
['cmake gcc make']='dynamically compile needed resources against current or given kernel')
# shellcheck disable=SC2034
declare -A optional_dependencies=(
@@ -557,7 +557,7 @@ main() {
if ! ln --symbolic --force "$_dracut_modules_source" \
"$_dracut_modules_target" 2>/dev/null; then
logging.warn \
- "Link \"$_dracut_modules_source\" to \"$_dracut_modules_target\" fails. We will copy them. So we have to recopy it every time to ensure that recompiled things take effect."
+ "Linking \"$_dracut_modules_source\" to \"$_dracut_modules_target\" failed. We will copy them. So we have to recopy it every time to ensure that recompiled things take effect."
cp --recursive --force --no-target-directory \
"$(dirname "${BASH_SOURCE[0]}")/$(basename "$_dracut_modules_source")" \
"$_dracut_modules_target"
@@ -603,7 +603,7 @@ main() {
logging.set_commands_level "$_commands_log_level_backup"
logging.set_level "$_log_level_backup"
if [[ "$_return_code" != 0 ]]; then
- logging.error 'Building initial ram file system fails.'
+ logging.error 'Building initial ram file system failed.'
exit 1
fi
exceptions.activate