Browse Source

Merge pull request #332 from tranchitella/men-4578

Add hook to create the Mender Configure state folder in the data partition
2.5.x
Fabio Tranchitella 4 years ago
committed by GitHub
parent
commit
bc0b086bb0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      configs/images/raspberrypi_raspbian_config

11
configs/images/raspberrypi_raspbian_config

@ -47,6 +47,17 @@ EOF
PLATFORM_MODIFY_HOOKS+=(grow_data_partition)
#
# Create the Mender Configure state folder in the data partition and symlink it
#
function create_mender_configure_state_folder_data_partition() {
log_info "Creating the Mender Configure state folder in the data partition"
run_and_log_cmd "sudo mkdir -p work/rootfs/data/mender-configure"
run_and_log_cmd "sudo ln -sf /data/mender-configure work/rootfs/var/lib/mender-configure"
}
PLATFORM_MODIFY_HOOKS+=(create_mender_configure_state_folder_data_partition)
#
# Remove /etc/mender/artifact_info from image, expected to be populated at setup time
#

Loading…
Cancel
Save