Signed-off-by: m2 <69128853+m2Giles@users.noreply.github.com> Co-authored-by: Benjamin Sherman <benjamin@holyarmy.org>
8 lines
233 B
Bash
Executable file
8 lines
233 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -eoux pipefail
|
|
|
|
# alternatives cannot create symlinks on its own during a container build
|
|
if [[ -f /usr/bin/ld.bfd ]]; then
|
|
ln -sf /usr/bin/ld.bfd /etc/alternatives/ld && ln -sf /etc/alternatives/ld /usr/bin/ld
|
|
fi
|