Browse Source
Spell fixes
Minor spelling errors in user facing messages
Changelog: None
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
Spell fixes
The userfacing logging had a couple of spelling errors
Changelog: None
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
2.0.x
Ole Petter
5 years ago
No known key found for this signature in database
GPG Key ID: A7100375167A7B21
3 changed files with
7 additions and
7 deletions
mender-convert
mender-convert-extract
modules/probe.sh
@ -95,5 +95,5 @@ touch work/convert.log
./mender-convert-modify "$@"
./mender-convert-modify "$@"
./mender-convert-package "$@"
./mender-convert-package "$@"
echo "Output Artifacts and images can be found in deploy directory:"
echo "Output Artifacts and images can be found in the deploy directory:"
ls -1 deploy/*
ls -1 deploy/*
@ -72,14 +72,14 @@ if [ ${nr_of_parts} -eq 0 ]; then
log_fatal "Sorry, but could not find any valid partitions for: ${disk_image}"
log_fatal "Sorry, but could not find any valid partitions for: ${disk_image}"
fi
fi
log_info "Disk parsed succesfully"
log_info "Disk parsed success fully"
log_info "NUMBER OF PARTS: ${nr_of_parts} TYPE: $(disk_get_part_value ${disk_image} 1 SCHEME)"
log_info "NUMBER OF PARTS: ${nr_of_parts} TYPE: $(disk_get_part_value ${disk_image} 1 SCHEME)"
for ((n=1;n<=${nr_of_parts};n++)); do
for ((n=1;n<=${nr_of_parts};n++)); do
part_dst_file="work/part-${n}.fs"
part_dst_file="work/part-${n}.fs"
if [ "$(disk_get_part_value ${disk_image} ${n} TYPE)" == "0x8e" ]; then
if [ "$(disk_get_part_value ${disk_image} ${n} TYPE)" == "0x8e" ]; then
log_fatal "Detected an LVM volume group on disk. Unfortunatly this is not yet supported"
log_fatal "Detected an LVM volume group on disk. Unfortunate ly this is not yet supported"
fi
fi
log_info "PART ${n}: SIZE: $(disk_get_part_value ${disk_image} ${n} SIZE) TYPE: $(disk_get_part_value ${disk_image} ${n} TYPE)"
log_info "PART ${n}: SIZE: $(disk_get_part_value ${disk_image} ${n} SIZE) TYPE: $(disk_get_part_value ${disk_image} ${n} TYPE)"
@ -193,8 +193,8 @@ probe_kernel_in_boot_and_root() {
log_info " Found Linux kernel image: \n\n\t ${ kernel_imagetype_path } \n "
log_info " Found Linux kernel image: \n\n\t ${ kernel_imagetype_path } \n "
kernel_imagetype = $( basename ${ kernel_imagetype_path } )
kernel_imagetype = $( basename ${ kernel_imagetype_path } )
else
else
log_warn "Unfortunatly we where not able to find the Linux kernel image."
log_warn "Unfortunate ly we where not able to find the Linux kernel image."
log_fatal "Please specifc the image name using MENDER_GRUB_KERNEL_IMAGETYPE"
log_fatal "Please specify the image name using MENDER_GRUB_KERNEL_IMAGETYPE"
fi
fi
echo " ${ kernel_imagetype } "
echo " ${ kernel_imagetype } "
}
}
@ -227,8 +227,8 @@ probe_initrd_in_boot_and_root() {
log_info " Found initramfs image: \n\n\t ${ initrd_image_path } \n "
log_info " Found initramfs image: \n\n\t ${ initrd_image_path } \n "
initrd_imagetype = $( basename ${ initrd_image_path } )
initrd_imagetype = $( basename ${ initrd_image_path } )
else
else
log_info "Unfortunatly we where not able to find the initrd image."
log_info "Unfortunate ly we where not able to find the initrd image."
log_info " Please specifc the image name using MENDER_GRUB_INITRD_IMAGETYPE \
log_info " Please specify the image name using MENDER_GRUB_INITRD_IMAGETYPE \
( only required if your board is using this) "
( only required if your board is using this) "
initrd_imagetype = ""
initrd_imagetype = ""
fi
fi