Files
Abhinav Ayyapasetti 0c210181c5 Update intel-opae-fpga for Bullseye
Aligned the package layout with the concurrent Debian packaging
conventions. Moved package files under 'debian/all/' to avoid
duplication across OS builds and removed legacy paths under 'debian/'.

Updated related build references to ensure compatibility across all
supported OS codenames.

Test Plan:
PASS  master bullseye build

Story: 2011360
Task: 53135

Change-Id: I95fe35a896259b9e69c591304ea59655d4fab455
Signed-off-by: Abhinav Ayyapasetti <ayyapasetti.abhinav@windriver.com>
2025-11-20 10:02:20 -05:00

36 lines
701 B
Bash
Executable File

#!/bin/bash
# The only parameter is the name of the folder where the source code
# is extracted to. Be aware that the extracted package should
# be put at the same path where this script is located.
# Tools needed: unzip/rpm2cpio/cpio
OPAE_PKG=OPAE_1.3.7-5_el7.zip
OPAE_DRV=opae-intel-fpga-driver-2.0.1
unzip ./${OPAE_PKG}
if [ $? -ne 0 ]
then
echo "unzip failed: OPAE source!"
exit 1
fi
cd OPAE/source_code
rpm2cpio ${OPAE_DRV}-*.src.rpm | cpio -i
if [ $? -ne 0 ]
then
echo "rpm2cpio/cpio failed: OPAE source!"
exit 1
fi
tar zxvf ${OPAE_DRV}.tar.gz
if [ $? -ne 0 ]
then
echo "tar failed: OPAE source!"
exit 1
fi
mv ${OPAE_DRV} ../../$1
cd ../../
rm OPAE ${OPAE_PKG} -rf