Compare commits
38 Commits
glued-1.9.
...
glued-1.9.
Author | SHA1 | Date | |
---|---|---|---|
|
f5bfe76a82 | ||
|
88edd69395 | ||
|
c3a875aaad | ||
|
3d61f41f13 | ||
|
a39c3c4c67 | ||
|
f09082179e | ||
|
0c5f6ca811 | ||
|
d358335097 | ||
|
f7ebc02923 | ||
|
bf874138ac | ||
|
06288b9fed | ||
|
283d09a73f | ||
|
b190ddad04 | ||
|
0fac03e798 | ||
|
3ee9754b26 | ||
|
8e4a5e8fd6 | ||
|
97d1c610c8 | ||
|
e717d722ab | ||
|
856bd832ce | ||
|
fc5685fa40 | ||
|
341d6676ad | ||
|
07f82e04f7 | ||
|
b3cd04f1e4 | ||
|
b3b2a4edfd | ||
|
eff7f5927c | ||
|
2c9888096c | ||
|
ec1bf09d1f | ||
|
09f5463715 | ||
|
ac520a9c1b | ||
|
4d32c16079 | ||
|
e9c2f389fd | ||
|
b6c34a1172 | ||
|
66c1da6d25 | ||
|
71775a3734 | ||
|
8439ec05e8 | ||
|
1368c66223 | ||
|
3e069e7027 | ||
|
11fe6069c1 |
@@ -21,7 +21,7 @@
|
||||
###########################################################################
|
||||
|
||||
# Config: GLUED version.
|
||||
cfg_glued_version='1.9.13'
|
||||
cfg_glued_version='1.9.14'
|
||||
# Config: GLUED vendor.
|
||||
cfg_glued_vendor='lsts'
|
||||
|
||||
|
@@ -26,5 +26,6 @@ build()
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_target_strip src/dnsmasq -o "$cfg_dir_rootfs/usr/sbin/dnsmasq"
|
||||
$cmd_target_strip src/dnsmasq -o "$cfg_dir_rootfs/usr/sbin/dnsmasq" &&
|
||||
tar -C "$cfg_package_spec_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
||||
|
10
packages/dnsmasq/fs/etc/rc.d/dnsmasq
Normal file
10
packages/dnsmasq/fs/etc/rc.d/dnsmasq
Normal file
@@ -0,0 +1,10 @@
|
||||
start()
|
||||
{
|
||||
mkdir -p /var/lib/misc
|
||||
dnsmasq
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall dnsmasq
|
||||
}
|
@@ -1,80 +0,0 @@
|
||||
version=\
|
||||
(
|
||||
'2.9.0'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/dtn/dtn-$version.tgz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'adfc25b561c1eeda30d9b68a6b088bd8'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'db/default'
|
||||
'tcl/default'
|
||||
'xerces-c/default'
|
||||
'oasys/default'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../dtn-$version/configure" \
|
||||
--prefix="/usr" \
|
||||
--sysconfdir="/etc/dtn" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--with-oasys="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--enable-ecl \
|
||||
--without-python \
|
||||
--disable-python
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make -j1 -C servlib &&
|
||||
$cmd_make -j1 -C applib libdtnapi.a &&
|
||||
$cmd_make -j1 -C applib libdtnapi++.a &&
|
||||
$cmd_make -j1 -C applib libdtnapisrv.a &&
|
||||
$cmd_make -j1 -C daemon &&
|
||||
$cmd_make -j1 -C apps
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
cp -a servlib/libdtnserv.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapi++.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapi++-$version.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapi-$version.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapi.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
cp -a applib/libdtnapisrv.a "$cfg_dir_toolchain_sysroot/usr/lib" &&
|
||||
|
||||
mkdir -p "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/dtn_ipc.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/dtn_errno.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/sdnv-c.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/dtn_api.h "$cfg_dir_toolchain_sysroot/usr/include/dtn" &&
|
||||
cp -a applib/dtn_types.h "$cfg_dir_toolchain_sysroot/usr/include/dtn"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_target_strip apps/dtnsend/dtnsend -o "$cfg_dir_rootfs/usr/bin/dtnsend" &&
|
||||
$cmd_target_strip apps/dtnrecv/dtnrecv -o "$cfg_dir_rootfs/usr/bin/dtnrecv" &&
|
||||
$cmd_target_strip apps/dtncp/dtncp -o "$cfg_dir_rootfs/usr/bin/dtncp" &&
|
||||
$cmd_target_strip apps/dtnping/dtnping -o "$cfg_dir_rootfs/usr/bin/dtnping" &&
|
||||
$cmd_target_strip daemon/dtnd -o "$cfg_dir_rootfs/usr/bin/dtnd" &&
|
||||
$cmd_mkdir "$cfg_dir_rootfs/etc/dtn" "$cfg_dir_rootfs/usr/share/dtn" &&
|
||||
cp servlib/conv_layers/clevent.xsd "$cfg_dir_rootfs/usr/share/dtn" &&
|
||||
tar -C "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
}
|
@@ -1,29 +0,0 @@
|
||||
# Configuration parameters
|
||||
# cfg_dtnd_config: DTN Daemon configuration file.
|
||||
# cfg_dtnd_name: DTN node name.
|
||||
|
||||
start()
|
||||
{
|
||||
export DTN_NODE="$cfg_dtnd_name"
|
||||
db="/opt/lsts/dtn/var/$DTN_NODE/db"
|
||||
|
||||
if [ -f "$cfg_dtnd_config" ]; then
|
||||
mkdir -p /opt/lsts/dtn
|
||||
|
||||
if ! [ -d "$db" ]; then
|
||||
mkdir -p "$db"
|
||||
/usr/bin/dtnd \
|
||||
-c "$cfg_dtnd_config" \
|
||||
--init-db
|
||||
fi
|
||||
|
||||
/usr/bin/dtnd -d \
|
||||
-c "$cfg_dtnd_config" \
|
||||
-o /opt/lsts/dtn/log.txt
|
||||
fi
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall dtnd > /dev/null 2>&1
|
||||
}
|
@@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'1.41.9'
|
||||
'1.42.13'
|
||||
)
|
||||
|
||||
url=\
|
||||
@@ -10,7 +10,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'52f60a9e19a02f142f5546f1b5681927'
|
||||
'bc759fc62666786f5436e2075beb3265'
|
||||
)
|
||||
|
||||
configure()
|
||||
|
@@ -1,13 +0,0 @@
|
||||
start()
|
||||
{
|
||||
/opt/lsts/dune/bin/dune-gsmux \
|
||||
/dev/ttyO1 \
|
||||
/opt/lsts/dune/log \
|
||||
< /dev/null \
|
||||
>> /opt/lsts/dune/log/gsmux.log 2>&1 &
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall dune-gsmux
|
||||
}
|
@@ -23,6 +23,7 @@ target_install()
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/run &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/log &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/lock &&
|
||||
ln -fs ../tmp "$cfg_dir_rootfs"/var/lib &&
|
||||
ln -fs /sbin/init "$cfg_dir_rootfs"/init &&
|
||||
ln -fs /tmp/resolv.conf "$cfg_dir_rootfs"/etc/resolv.conf &&
|
||||
ln -fs /proc/self/mounts "$cfg_dir_rootfs"/etc/mtab &&
|
||||
|
29
packages/iana-etc/default.bash
Normal file
29
packages/iana-etc/default.bash
Normal file
@@ -0,0 +1,29 @@
|
||||
version=\
|
||||
(
|
||||
'2.30'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://sethwklein.net/iana-etc-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'3ba3afb1d1b261383d247f46cb135ee8'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make STRIP=yes
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_make DESTDIR="$cfg_dir_rootfs" install
|
||||
}
|
56
packages/libtirpc/default.bash
Normal file
56
packages/libtirpc/default.bash
Normal file
@@ -0,0 +1,56 @@
|
||||
version=\
|
||||
(
|
||||
'0.2.5'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/libtirpc/$version/libtirpc-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'8cd41a5ef5a9b50d0fb6abb98af15368'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../libtirpc-$version/configure" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--disable-gssapi \
|
||||
--disable-ipv6 \
|
||||
--disable-static \
|
||||
--enable-shared
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_mkdir "$cfg_dir_rootfs/etc"
|
||||
$cmd_cp "doc/netconfig" "$cfg_dir_rootfs/etc/netconfig"
|
||||
|
||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libtirpc*so*; do
|
||||
if [ -L "$f" ]; then
|
||||
cp -vd "$f" "$cfg_dir_rootfs/lib"
|
||||
else
|
||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/lib/$(basename "$f")"
|
||||
fi
|
||||
done
|
||||
}
|
@@ -34,4 +34,5 @@ build()
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
cd "$cfg_dir_toolchain/bin" && ln -s make gmake
|
||||
}
|
||||
|
58
packages/nfs-utils/default.bash
Normal file
58
packages/nfs-utils/default.bash
Normal file
@@ -0,0 +1,58 @@
|
||||
version=\
|
||||
(
|
||||
'1.3.1'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/nfs/$version/nfs-utils-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'97f157f954edb6d4d4385a0c5986f36f'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'libtirpc/default'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../nfs-utils-$version/configure" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--prefix="$cfg_dir_rootfs/usr" \
|
||||
--disable-gss \
|
||||
--disable-svcgss \
|
||||
--disable-ipv6 \
|
||||
--disable-tirpc \
|
||||
--disable-uuid \
|
||||
--disable-nfsv4 \
|
||||
--without-tcp-wrappers
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_target_strip -v "utils/mount/mount.nfs" -o "$cfg_dir_rootfs/usr/bin/mount.nfs" &&
|
||||
ln -fs mount.nfs "$cfg_dir_rootfs/usr/bin/unmount.nfs" &&
|
||||
$cmd_target_strip -v "utils/exportfs/exportfs" -o "$cfg_dir_rootfs/usr/bin/exportfs" &&
|
||||
$cmd_target_strip -v "utils/mountd/mountd" -o "$cfg_dir_rootfs/usr/bin/rpc.mountd" &&
|
||||
$cmd_target_strip -v "utils/nfsd/nfsd" -o "$cfg_dir_rootfs/usr/bin/rpc.nfsd" &&
|
||||
$cmd_target_strip -v "utils/statd/statd" -o "$cfg_dir_rootfs/usr/bin/rpc.statd" &&
|
||||
if [ -d "$cfg_package_spec_dir/fs" ]; then
|
||||
tar -C "$cfg_package_spec_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
|
||||
fi
|
||||
}
|
@@ -5,7 +5,7 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz"
|
||||
"ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
@@ -1,50 +0,0 @@
|
||||
version=\
|
||||
(
|
||||
'1.6.0'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/dtn/oasys-$version.tgz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'fc52baea5fd1db8bceb3031356c7acca'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../oasys-$version/configure" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--with-dbver=4.8 \
|
||||
--disable-static \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--with-tcl="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--with-xerces-c="$cfg_dir_toolchain_sysroot/usr"
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make -j1
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make -j1 install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
cp -a "$cfg_dir_toolchain_sysroot/usr/lib/"liboasys* $cfg_dir_rootfs/lib &&
|
||||
for f in "$cfg_dir_rootfs/lib/"liboasys*so; do
|
||||
$cmd_target_strip "$f"
|
||||
done
|
||||
}
|
@@ -21,6 +21,7 @@ maintainer=\
|
||||
requires=\
|
||||
(
|
||||
'tcl/default'
|
||||
'tk/default'
|
||||
'xorg-libx11/default'
|
||||
'xorg-libxt/default'
|
||||
)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
"0.25"
|
||||
"0.28"
|
||||
)
|
||||
|
||||
url=\
|
||||
@@ -10,7 +10,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
"a3270bab3f4b69b7dc6dbdacbcae9745"
|
||||
"aa3c86e67551adc3ac865160e34a2a0d"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
@@ -23,7 +23,8 @@ configure()
|
||||
./configure \
|
||||
--prefix="${cfg_dir_toolchain}" \
|
||||
--disable-shared \
|
||||
--enable-static
|
||||
--enable-static \
|
||||
--with-internal-glib
|
||||
}
|
||||
|
||||
build()
|
||||
|
@@ -5,7 +5,7 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"ftp://ftp.samba.org/pub/ppp/ppp-$version.tar.gz"
|
||||
"https://ftp.samba.org/pub/ppp/ppp-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
62
packages/rpcbind/default.bash
Normal file
62
packages/rpcbind/default.bash
Normal file
@@ -0,0 +1,62 @@
|
||||
version=\
|
||||
(
|
||||
'0.2.2'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/rpcbind/rpcbind-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'8acf839bfef2364a05fbd6be5f8edf9a'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'libtirpc/default'
|
||||
)
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &&
|
||||
sed -i "/error = getaddrinfo/s:rpcbind:sunrpc:" src/rpcinfo.c
|
||||
}
|
||||
|
||||
configure()
|
||||
{
|
||||
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
|
||||
|
||||
"../rpcbind-$version/configure" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--with-rpcuser=root \
|
||||
--without-systemdsystemunitdir
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_mkdir "$cfg_dir_rootfs/usr/bin"
|
||||
|
||||
for f in rpcbind rpcinfo; do
|
||||
$cmd_target_strip "$f" -o "$cfg_dir_rootfs/usr/bin/$f"
|
||||
done
|
||||
}
|
@@ -5,7 +5,7 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://www.dest-unreach.org/socat/download/socat-$version.tar.bz2"
|
||||
"http://www.lsts.pt/glued/socat-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
93
rules/boost/default.bash
Normal file
93
rules/boost/default.bash
Normal file
@@ -0,0 +1,93 @@
|
||||
version=\
|
||||
(
|
||||
"1.55.0"
|
||||
)
|
||||
|
||||
vendor_version="$(echo $version | tr . _)"
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/project/boost/boost/$version/boost_$vendor_version.tar.bz2"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Jose Pinto <zepinto@fe.up.pt>'
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
"d6eef4b4cacb2183f2bf265a5a03a354"
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'bzip2/default'
|
||||
)
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$pkg_dir/patches-${version}/"*.patch)
|
||||
if [ -n "$patches" ]; then
|
||||
cd "../boost_$vendor_version" && cat $patches | patch -p1
|
||||
fi
|
||||
}
|
||||
|
||||
configure()
|
||||
{
|
||||
cd "../boost_$vendor_version" &&
|
||||
./bootstrap.sh \
|
||||
--with-icu="$cfg_dir_toolchain_sysroot/usr"
|
||||
|
||||
GXX_VER=$(${cmd_target_cxx} -dumpversion)
|
||||
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam
|
||||
echo "" >> user-config.jam
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
cd "../boost_$vendor_version" &&
|
||||
./bjam -d+2 \
|
||||
toolset=gcc \
|
||||
variant=release \
|
||||
link=shared \
|
||||
threading=multi \
|
||||
runtime-link=shared \
|
||||
-sICU_PATH="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--user-config=user-config.jam \
|
||||
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
||||
--without-python \
|
||||
--layout=tagged
|
||||
}
|
||||
|
||||
|
||||
host_install()
|
||||
{
|
||||
cd "../boost_$vendor_version" &&
|
||||
./bjam -d+2 \
|
||||
toolset=gcc \
|
||||
variant=release \
|
||||
link=shared \
|
||||
threading=multi \
|
||||
runtime-link=shared \
|
||||
-sICU_PATH="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--user-config=user-config.jam \
|
||||
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
||||
--without-python \
|
||||
--layout=tagged \
|
||||
install
|
||||
|
||||
mkdir -p "${cfg_dir_toolchain_sysroot}/usr/share"
|
||||
cp -rvd "../boost_$vendor_version/boost" \
|
||||
"${cfg_dir_toolchain_sysroot}/usr/share"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
base="$cfg_dir_toolchain_sysroot/usr/lib"
|
||||
for f in "$base/libboost_"*.so*; do
|
||||
dst="$cfg_dir_rootfs/lib/$(basename "$f")"
|
||||
cp -v -d "$f" "$dst" &&
|
||||
$cmd_target_strip "$dst"
|
||||
done
|
||||
}
|
10
systems/lauv-aux-rpi/lauv-xplore-2-aux.cfg
Normal file
10
systems/lauv-aux-rpi/lauv-xplore-2-aux.cfg
Normal file
@@ -0,0 +1,10 @@
|
||||
cfg_hostname='lauv-xplore-2-aux'
|
||||
cfg_eth_ext_ip='10.0.10.183'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_services0='network dropbear storage upgrade syslog ptpd'
|
||||
cfg_services1=''
|
||||
cfg_services2='trex'
|
||||
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
|
||||
|
@@ -2,9 +2,8 @@ cfg_hostname='lauv-simulator-1'
|
||||
cfg_eth_ext_ip='10.0.10.55'
|
||||
cfg_services0='dropbear network storage upgrade escc syslog ptpd setserial'
|
||||
cfg_services1=''
|
||||
cfg_packages='zlib dropbear rsync busybox e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp util-linux/ldattach uswitch pciutils apache-ant/host bzip2 libantlr3c boost europa dtn'
|
||||
cfg_packages='zlib dropbear rsync busybox e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp util-linux/ldattach uswitch pciutils apache-ant/host bzip2 libantlr3c boost europa'
|
||||
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
||||
cfg_ptpd_master='true'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_eth_prv_ip='192.168.0.1'
|
||||
|
||||
|
@@ -1061,15 +1061,15 @@ CONFIG_SCx200_ACB=y
|
||||
#
|
||||
# PPS support
|
||||
#
|
||||
CONFIG_PPS=m
|
||||
CONFIG_PPS_DEBUG=y
|
||||
CONFIG_PPS=y
|
||||
# CONFIG_PPS_DEBUG is not set
|
||||
CONFIG_NTP_PPS=y
|
||||
|
||||
#
|
||||
# PPS clients support
|
||||
#
|
||||
# CONFIG_PPS_CLIENT_KTIMER is not set
|
||||
CONFIG_PPS_CLIENT_LDISC=m
|
||||
CONFIG_PPS_CLIENT_LDISC=y
|
||||
# CONFIG_PPS_CLIENT_GPIO is not set
|
||||
|
||||
#
|
||||
@@ -1670,7 +1670,24 @@ CONFIG_TMPFS=y
|
||||
# CONFIG_HUGETLB_PAGE is not set
|
||||
# CONFIG_CONFIGFS_FS is not set
|
||||
# CONFIG_MISC_FILESYSTEMS is not set
|
||||
# CONFIG_NETWORK_FILESYSTEMS is not set
|
||||
CONFIG_NETWORK_FILESYSTEMS=y
|
||||
CONFIG_NFS_FS=y
|
||||
# CONFIG_NFS_V2 is not set
|
||||
CONFIG_NFS_V3=y
|
||||
# CONFIG_NFS_V3_ACL is not set
|
||||
# CONFIG_NFS_V4 is not set
|
||||
# CONFIG_NFSD is not set
|
||||
CONFIG_LOCKD=y
|
||||
CONFIG_LOCKD_V4=y
|
||||
CONFIG_NFS_COMMON=y
|
||||
CONFIG_SUNRPC=y
|
||||
# CONFIG_RPCSEC_GSS_KRB5 is not set
|
||||
# CONFIG_SUNRPC_DEBUG is not set
|
||||
# CONFIG_CEPH_FS is not set
|
||||
# CONFIG_CIFS is not set
|
||||
# CONFIG_NCP_FS is not set
|
||||
# CONFIG_CODA_FS is not set
|
||||
# CONFIG_AFS_FS is not set
|
||||
CONFIG_NLS=y
|
||||
CONFIG_NLS_DEFAULT="utf8"
|
||||
# CONFIG_NLS_CODEPAGE_437 is not set
|
||||
|
45
systems/lctr-a6xx/fs/etc/rc.d/lauv-storage-client
Normal file
45
systems/lctr-a6xx/fs/etc/rc.d/lauv-storage-client
Normal file
@@ -0,0 +1,45 @@
|
||||
mount_path()
|
||||
{
|
||||
rpath="$cfg_lauv_storage_host:$1"
|
||||
lpath="$1"
|
||||
|
||||
mkdir -p "$lpath"
|
||||
|
||||
mount -t nfs -o wsize=32768 "$rpath" "$lpath"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "* Mounted '$rpath' in '$lpath'"
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
/usr/bin/rpcbind
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR: failed to start rpcbind."
|
||||
return 1
|
||||
fi
|
||||
|
||||
for path in $cfg_lauv_storage_paths; do
|
||||
n=0; while [ $n -lt "$cfg_lauv_storage_timeout" ]; do
|
||||
mount_path "$path"
|
||||
if [ $? -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
|
||||
let n++
|
||||
sleep 1
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall rpcbind
|
||||
|
||||
for path in $cfg_lauv_storage_paths; do
|
||||
umount "$path"
|
||||
done
|
||||
}
|
2
systems/lctr-a6xx/lauv-xplore-2.cfg
Normal file
2
systems/lctr-a6xx/lauv-xplore-2.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='lauv-xplore-2'
|
||||
cfg_eth_ext_ip='10.0.10.180'
|
@@ -0,0 +1,13 @@
|
||||
diff -Nru linux-3.5.4/drivers/tty/serial/8250/8250.c linux-3.5.4.rasm/drivers/tty/serial/8250/8250.c
|
||||
--- linux-3.5.4/drivers/tty/serial/8250/8250.c 2012-09-14 23:28:08.000000000 +0100
|
||||
+++ linux-3.5.4.rasm/drivers/tty/serial/8250/8250.c 2015-03-19 14:49:54.026244446 +0000
|
||||
@@ -207,8 +207,7 @@
|
||||
.name = "ST16654",
|
||||
.fifo_size = 64,
|
||||
.tx_loadsz = 32,
|
||||
- .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
|
||||
- UART_FCR_T_TRIG_10,
|
||||
+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01,
|
||||
.flags = UART_CAP_FIFO | UART_CAP_EFR | UART_CAP_SLEEP,
|
||||
},
|
||||
[PORT_16850] = {
|
@@ -1219,10 +1219,11 @@ CONFIG_MMC_BLOCK_BOUNCE=y
|
||||
# MMC/SD/SDIO Host Controller Drivers
|
||||
#
|
||||
CONFIG_MMC_SDHCI=y
|
||||
# CONFIG_MMC_SDHCI_PCI is not set
|
||||
# CONFIG_MMC_SDHCI_PLTFM is not set
|
||||
CONFIG_MMC_WBSD=y
|
||||
CONFIG_MMC_TIFM_SD=y
|
||||
CONFIG_MMC_SDHCI_PCI=y
|
||||
# CONFIG_MMC_RICOH_MMC is not set
|
||||
CONFIG_MMC_SDHCI_PLTFM=y
|
||||
# CONFIG_MMC_WBSD is not set
|
||||
# CONFIG_MMC_TIFM_SD is not set
|
||||
# CONFIG_MMC_CB710 is not set
|
||||
# CONFIG_MMC_VIA_SDMMC is not set
|
||||
# CONFIG_MMC_VUB300 is not set
|
||||
|
@@ -1,3 +1,4 @@
|
||||
cfg_hostname="kontrol-pitx-sp"
|
||||
cfg_eth_ext_ip="192.168.0.25"
|
||||
cfg_kernel_boot_dev='b301'
|
||||
cfg_kernel_boot_dev='/dev/mmcblk0p1'
|
||||
cfg_kernel_extra_args='noacpi'
|
||||
|
@@ -8,7 +8,6 @@ cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bri
|
||||
cfg_target_linux_kernel='arch/arm/boot/uImage'
|
||||
cfg_terminal='ttyO2'
|
||||
cfg_ntpd_config='/etc/ntp/server.cfg'
|
||||
cfg_dtnd_config='/opt/lsts/dtn/etc/dtn.conf'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_eth_ext_soft_mac='true'
|
||||
|
3
systems/lctr-a9xx/fs/etc/dnsmasq.conf
Normal file
3
systems/lctr-a9xx/fs/etc/dnsmasq.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
port=53
|
||||
interface=eth0
|
||||
dhcp-range=10.0.200.1,10.0.200.50,12h
|
@@ -1,2 +0,0 @@
|
||||
cfg_hostname='manta-17'
|
||||
cfg_eth_ext_ip='10.0.30.17'
|
2
systems/lctr-a9xx/manta-18.cfg
Normal file
2
systems/lctr-a9xx/manta-18.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='manta-18'
|
||||
cfg_eth_ext_ip='10.0.30.18'
|
2
systems/lctr-a9xx/manta-19.cfg
Normal file
2
systems/lctr-a9xx/manta-19.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='manta-19'
|
||||
cfg_eth_ext_ip='10.0.30.19'
|
2
systems/lctr-a9xx/manta-21.cfg
Normal file
2
systems/lctr-a9xx/manta-21.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='manta-21'
|
||||
cfg_eth_ext_ip='10.0.30.21'
|
2
systems/lctr-a9xx/manta-23.cfg
Normal file
2
systems/lctr-a9xx/manta-23.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
cfg_hostname='manta-23'
|
||||
cfg_eth_ext_ip='10.0.30.23'
|
@@ -1,7 +0,0 @@
|
||||
cfg_hostname='gsmux'
|
||||
cfg_storage='data0:ext4:/opt'
|
||||
cfg_eth_ext_ip='10.0.200.11'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_services2='gsmux'
|
||||
cfg_ptpd_interface='eth0'
|
Reference in New Issue
Block a user