Skip to content

Commit

Permalink
Merge pull request #357 from mithro/panofix
Browse files Browse the repository at this point in the history
Set env required to build pano_logic_g2 on Travis
  • Loading branch information
mithro authored Mar 2, 2020
2 parents 75ef52f + 8da140b commit bcbf6e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis/download-xilinx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ if [ ! -z "$XILINX_PASSPHRASE" ]; then
wget --no-verbose http://xilinx.timvideos.us/Xilinx.lic.gpg
cat $XILINX_PASSPHRASE_FILE | gpg --batch --passphrase-fd 0 Xilinx.lic.gpg

sudo modprobe dummy
sudo ip link set name eth0 dev dummy0
sudo ifconfig eth0 hw ether 08:00:27:68:c9:35
#git clone https://github.com/mithro/impersonate_macaddress
#cd impersonate_macaddress
#make
Expand All @@ -66,7 +69,8 @@ if [ -z "$XILINX_DIR" ]; then
# Reserved MAC address from documentation block, see
# http://www.iana.org/assignments/ethernet-numbers/ethernet-numbers.xhtml
export LIKELY_XILINX_LICENSE_DIR=$LOCAL_XILINX_DIR
export MACADDR=90:10:00:00:00:01
#export MACADDR=90:10:00:00:00:01
export MACADDR=08:00:27:68:c9:35
#export LD_PRELOAD=$XILINX_DIR/impersonate_macaddress/impersonate_macaddress.so
#ls -l $LD_PRELOAD
export XILINX_DIR=$LOCAL_XILINX_DIR
Expand Down

0 comments on commit bcbf6e4

Please sign in to comment.