diff --git a/config/common/aero15xv8/scripts.yml b/config/common/aero15xv8/scripts.yml index b757700b30..e02085961c 100644 --- a/config/common/aero15xv8/scripts.yml +++ b/config/common/aero15xv8/scripts.yml @@ -1,5 +1,6 @@ type: script scripts: # this sets up the proper policy & signing files for signed images to work - - signing.sh + - workarounds.sh - build-kmods.sh + - signing.sh diff --git a/config/scripts/workarounds.sh b/config/scripts/workarounds.sh new file mode 100644 index 0000000000..6b469a3b13 --- /dev/null +++ b/config/scripts/workarounds.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +set -oeux pipefail + +# alternatives cannot create symlinks on its own during a container build +ln -sf /usr/bin/ld.bfd /etc/alternatives/ld && ln -sf /etc/alternatives/ld /usr/bin/ld