Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
serhii-nakon committed May 21, 2022
1 parent 570e1a4 commit 7e40ea4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lxcup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ROOTAPP=$(dirname $(realpath -s $0))
cp -v $ROOTAPP/lxc.sample.conf $ROOTAPP/lxc.conf
sed -i "s@<ROOTAPP>@$ROOTAPP@g" $ROOTAPP/lxc.conf
lxc-create -t download -n u-boot -f $ROOTAPP/lxc.conf -- -d debian -r sid -a amd64 --no-validate
lxc-create -t download -n u-boot -f $ROOTAPP/lxc.conf -- -d debian -r bookworm -a amd64 --no-validate
rm -v $ROOTAPP/lxc.conf
lxc-unpriv-start u-boot
sleep 15
Expand Down
4 changes: 3 additions & 1 deletion uboot.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env bash

set -e

apt update
apt install gcc-aarch64-linux-gnu bison flex swig python-dev build-essential device-tree-compiler python3 python3-dev libssl-dev git bc python3-setuptools sed gcc-or1k-elf -y
apt install gcc-aarch64-linux-gnu bison flex swig python2-dev build-essential device-tree-compiler python3 python3-dev libssl-dev git bc python3-setuptools sed gcc-or1k-elf -y

cd /root
git clone --single-branch --branch v2022.04 https://github.com/u-boot/u-boot.git
Expand Down

0 comments on commit 7e40ea4

Please sign in to comment.