mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-02 19:51:30 +00:00
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>
12 lines
229 B
Bash
Executable File
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
|