Skip to content

Commit

Permalink
Test architecture arm/v6 (part 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
mansuf committed Jun 7, 2024
1 parent 5a00471 commit fa442c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arm_v6_workaround.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ export ARCHITECTURE=$(lscpu | grep Architecture | sed -e 's/Architecture:\s//g')
echo $ARCHITECTURE
if [ $ARCHITECTURE = "armv7l" ]; then
apt install libc6-armhf-cross
ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /usr/lib/ld-linux-armhf.so.3
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib
ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
# ln -s /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /usr/lib/ld-linux-armhf.so.3
# export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi
else
raise_error_lol_command_not_found;
Expand Down

0 comments on commit fa442c9

Please sign in to comment.