build newer e2fsprogs for firemarshal

This commit is contained in:
Abraham Gonzalez 2019-11-05 01:27:39 +00:00
parent b4468444e5
commit b27900b727
1 changed files with 10 additions and 1 deletions

View File

@ -138,10 +138,19 @@ if wget -T 1 -t 3 -O /dev/null http://169.254.169.254/; then
cd "$RDIR/platforms/f1/aws-fpga/sdk/linux_kernel_drivers/xdma"
make
# Install firesim-software dependencies
# Install firesim-software dependencies
cd $RDIR
sudo pip3 install -r sw/firesim-software/python-requirements.txt
cat sw/firesim-software/centos-requirements.txt | sudo xargs yum install -y
wget https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/snapshot/e2fsprogs-1.45.4.tar.gz
tar xvzf e2fsprogs-1.45.4.tar.gz
cd e2fsprogs-1.45.4/
mkdir build && cd build
../configure
make
sudo make install
cd ../..
rm -rf e2fsprogs*
# run sourceme-f1-full.sh once on this machine to build aws libraries and
# pull down some IP, so we don't have to waste time doing it each time on