summaryrefslogtreecommitdiff
path: root/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh')
-rwxr-xr-xrecipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh b/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
index a1c7244..ac79429 100755
--- a/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
+++ b/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
@@ -274,7 +274,7 @@ mount_and_boot() {
if ! $MOUNT $ROOT_RWMOUNTPARAMS $ROOT_RWMOUNT ; then
if [ -n "${ROOT_RWDEVICE}" ]; then
# fsck didn't help. Reformat the partition
- log "Could not mount read-write rootfs. Erasing ${ROOT_RWDEVICE} partition."
+ log "Could not mount user_data partition. Erasing ${ROOT_RWDEVICE}."
mkfs.ext4 -L user_data -O 64bit ${ROOT_RWDEVICE}
log "mounting user_data: $MOUNT $ROOT_RWMOUNTPARAMS $ROOT_RWMOUNT"
if ! $MOUNT $ROOT_RWMOUNTPARAMS $ROOT_RWMOUNT ; then
@@ -282,7 +282,7 @@ mount_and_boot() {
fi
log "${ROOT_RWDEVICE} partition has been erased and mounted successfully."
else
- fatal "Could not mount read-write rootfs."
+ fatal "Could not mount user_data partition."
fi
fi