Compare commits

..

1 Commits

Author SHA1 Message Date
Tiago Marques
bc1c941c66 filesystem: configuration for Swarms network. 2018-03-01 10:54:46 +00:00
7 changed files with 6 additions and 68 deletions

View File

@@ -62,6 +62,12 @@ start()
arp -s "$ip" "$mac" arp -s "$ip" "$mac"
done done
fi fi
# swarms network
if [ -n "$cfg_eth_swarms_ip" ]; then
ifconfig eth0:swarms "$cfg_eth_swarms_ip" netmask "$cfg_eth_swarms_mk" up
route add -net 192.168.0.0 netmask "$cfg_eth_swarms_mk" dev eth0
fi
} }
stop() stop()

View File

@@ -1,49 +0,0 @@
version=\
(
'2.3.2'
)
url=\
(
"http://download.osgeo.org/gdal/2.3.2/gdal-2.3.2.tar.gz"
)
md5=\
(
'221e4bfe3e8e9443fd33f8fe46f8bf60'
)
maintainer=\
(
'Tiago Sá Marques <tsmarques@lsts.pt>'
)
configure()
{
"./configure" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--includedir="$cfg_dir_toolchain_sysroot/usr/include/gdal" \
--with-build-sysroot="$cfg_dir_toolchain_sysroot" \
--with-sysroot="$cfg_dir_toolchain_sysroot"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
cp -a "$cfg_dir_toolchain_sysroot/usr/lib/"libgdal*so* $cfg_dir_rootfs/lib
for f in "$cfg_dir_rootfs/lib/"libgdal*so; do
$cmd_target_strip "$f"
done
}

View File

@@ -1,2 +0,0 @@
cfg_hostname='buv-petinga-1'
cfg_eth_ext_ip='10.0.10.170'

View File

@@ -1,2 +0,0 @@
cfg_hostname='manta-rugged-2'
cfg_eth_ext_ip='10.0.30.25'

View File

@@ -1,2 +0,0 @@
cfg_hostname='manta-sabuvis'
cfg_eth_ext_ip='10.0.30.26'

View File

@@ -1,4 +0,0 @@
cfg_hostname='titan'
cfg_eth_ext_ip='10.0.20.150'
cfg_packages="$cfg_packages libjpeg-turbo v4l-utils uv4l libav"
cfg_modules="$cfg_modules ftdi_sio"

View File

@@ -1,9 +0,0 @@
cfg_hostname='x8-06-aux'
cfg_eth_ext_ip='10.0.20.109'
cfg_services1='lauv-storage-server'
cfg_packages="$cfg_packages opencv raspicam exiv2 libav uswitch nfs-utils gdal"
cfg_modules="$cfg_modules ftdi_sio"
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lauv-aux.dtb'
cfg_ptpd_interface='eth0'
cfg_terminal='ttyAMA0'
cfg_lauv_storage_dir='/opt/lsts/dune/log'