Files
clr-installer/scripts/installer-post.sh
T
George T Kramer c2773b0e78 Chroot when enabling clr-installer service
When using the --root option with systemctl, libsystemd for the systemd
in the chroot will be resolved on the host.  In cases where the systemd
in the chroot is a different version from the systemd on the host, this
will result in a library not found error.  Need to chroot when eanbling
clr-installer service to avoid this problem.

Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-03-05 18:17:33 -08:00

12 lines
229 B
Bash
Executable File

#!/bin/bash
CHROOTPATH=$1
# Force Telemetry to use local host server
scripts/local-telemetry-post.sh ${CHROOTPATH}
# Delay booting to give user a change to change boot params
scripts/wait-to-boot-post.sh ${CHROOTPATH}
exit 0