Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odroid-xu4 workaround #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM balenalib/%%RESIN_MACHINE_NAME%%-debian

RUN apt-get update && apt-get install -y curl wget build-essential libelf-dev awscli bc flex libssl-dev python
RUN apt-get update && apt-get install -y curl wget build-essential libelf-dev awscli bc flex libssl-dev python bison
COPY . /usr/src/app
WORKDIR /usr/src/app

Expand Down
6 changes: 6 additions & 0 deletions workarounds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ if [[ "$device" == beagle* ]] ; then
wget https://raw.githubusercontent.com/beagleboard/linux/4.14/arch/arm/kernel/module.lds -O "$PWD"/arch/arm/kernel/module.lds
fi

if [[ "$device" == odroid-xu4 ]] ; then
echo Workaround odroid
# Fetch from 4.19.1 linux-stable
wget https://raw.githubusercontent.com/gregkh/linux/cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65/arch/arm/kernel/module.lds -O "$PWD"/arch/arm/kernel/module.lds
fi

if [[ "$device" == intel-nuc ]] ; then
echo Workaround nuc
# Workaround for the nuc image. Tools compiled expecting /lib/ld-linux-x86-64.so.2 while it is in /lib64
Expand Down