Browse Source

x86_64: Make sure /lib64 directory/symlink exists.

Changelog: None
Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
2.1.x
Drew Moseley 4 years ago
parent
commit
901a933e5c
  1. 11
      configs/generic_x86-64_hdd_config

11
configs/generic_x86-64_hdd_config

@ -38,3 +38,14 @@ MENDER_STORAGE_TOTAL_SIZE_MB=16000
# Nothing to copy
MENDER_COPY_BOOT_GAP="n"
function platform_modify() {
#
# Make sure /lib64 exists since the Mender binary requires it.
# Some systems put everything under /lib (ie Yocto) and a simple
# symlink is enough to find everything Mender needs.
#
if [ ! -e work/rootfs/lib64 ]; then
run_and_log_cmd "ln -s /lib work/rootfs/lib64"
fi
}

Loading…
Cancel
Save