Skip to content

Commit

Permalink
fix: /usr/bin/ld linking
Browse files Browse the repository at this point in the history
  • Loading branch information
maximmaxim345 committed Dec 20, 2023
1 parent 37d3747 commit 1b1bd63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/common/aero15xv8/scripts.yml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions config/scripts/workarounds.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1b1bd63

Please sign in to comment.