Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit cd883979 authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: beagle-tester depends on /usr/lib/libroboticscape.so


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent d09179b5
No related merge requests found
...@@ -296,24 +296,28 @@ install_git_repos () { ...@@ -296,24 +296,28 @@ install_git_repos () {
fi fi
fi fi
if [ ! -f /usr/lib/libroboticscape.so ] ; then
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
fi
#beagle-tester #beagle-tester
git_repo="https://github.com/jadonk/beagle-tester" git_repo="https://github.com/jadonk/beagle-tester"
git_target_dir="/opt/source/beagle-tester" git_target_dir="/opt/source/beagle-tester"
git_clone git_clone
if [ -f ${git_target_dir}/.git/config ] ; then if [ -f ${git_target_dir}/.git/config ] ; then
cd ${git_target_dir}/ if [ -f /usr/lib/libroboticscape.so ] ; then
if [ -f /usr/bin/make ] ; then cd ${git_target_dir}/
make if [ -f /usr/bin/make ] ; then
make install || true make
if [ ! "x${image_type}" = "xtester-2gb" ] ; then make install || true
systemctl disable beagle-tester.service || true if [ ! "x${image_type}" = "xtester-2gb" ] ; then
systemctl disable beagle-tester.service || true
fi
fi fi
fi fi
fi fi
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
} }
install_build_pkgs () { install_build_pkgs () {
......
...@@ -308,24 +308,28 @@ install_git_repos () { ...@@ -308,24 +308,28 @@ install_git_repos () {
fi fi
fi fi
if [ ! -f /usr/lib/libroboticscape.so ] ; then
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
fi
#beagle-tester #beagle-tester
git_repo="https://github.com/jadonk/beagle-tester" git_repo="https://github.com/jadonk/beagle-tester"
git_target_dir="/opt/source/beagle-tester" git_target_dir="/opt/source/beagle-tester"
git_clone git_clone
if [ -f ${git_target_dir}/.git/config ] ; then if [ -f ${git_target_dir}/.git/config ] ; then
cd ${git_target_dir}/ if [ -f /usr/lib/libroboticscape.so ] ; then
if [ -f /usr/bin/make ] ; then cd ${git_target_dir}/
make if [ -f /usr/bin/make ] ; then
make install || true make
# if [ ! "x${image_type}" = "xtester-2gb" ] ; then make install || true
# systemctl disable beagle-tester.service || true # if [ ! "x${image_type}" = "xtester-2gb" ] ; then
# fi # systemctl disable beagle-tester.service || true
# fi
fi
fi fi
fi fi
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
} }
install_build_pkgs () { install_build_pkgs () {
......
...@@ -307,18 +307,26 @@ install_git_repos () { ...@@ -307,18 +307,26 @@ install_git_repos () {
fi fi
fi fi
if [ ! -f /usr/lib/libroboticscape.so ] ; then
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
fi
#beagle-tester #beagle-tester
git_repo="https://github.com/jadonk/beagle-tester" git_repo="https://github.com/jadonk/beagle-tester"
git_target_dir="/opt/source/beagle-tester" git_target_dir="/opt/source/beagle-tester"
git_clone git_clone
if [ -f ${git_target_dir}/.git/config ] ; then if [ -f ${git_target_dir}/.git/config ] ; then
cd ${git_target_dir}/ if [ -f /usr/lib/libroboticscape.so ] ; then
if [ -f /usr/bin/make ] ; then cd ${git_target_dir}/
make if [ -f /usr/bin/make ] ; then
make install || true make
# if [ ! "x${image_type}" = "xtester-2gb" ] ; then make install || true
# systemctl disable beagle-tester.service || true # if [ ! "x${image_type}" = "xtester-2gb" ] ; then
# fi # systemctl disable beagle-tester.service || true
# fi
fi
fi fi
fi fi
} }
......
...@@ -319,25 +319,29 @@ install_git_repos () { ...@@ -319,25 +319,29 @@ install_git_repos () {
fi fi
fi fi
if [ ! -f /usr/lib/libroboticscape.so ] ; then
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
fi
#beagle-tester #beagle-tester
git_repo="https://github.com/jadonk/beagle-tester" git_repo="https://github.com/jadonk/beagle-tester"
git_target_dir="/opt/source/beagle-tester" git_target_dir="/opt/source/beagle-tester"
git_clone git_clone
if [ -f ${git_target_dir}/.git/config ] ; then if [ -f ${git_target_dir}/.git/config ] ; then
cd ${git_target_dir}/ if [ -f /usr/lib/libroboticscape.so ] ; then
if [ -f /usr/bin/make ] ; then cd ${git_target_dir}/
make if [ -f /usr/bin/make ] ; then
make install || true make
if [ ! "x${image_type}" = "xtester-2gb" ] ; then make install || true
systemctl disable beagle-tester.service || true if [ ! "x${image_type}" = "xtester-2gb" ] ; then
systemctl disable beagle-tester.service || true
fi
fi fi
fi fi
fi fi
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
# Build a dtc compiler that works with the 3.8.13 kernel # Build a dtc compiler that works with the 3.8.13 kernel
if [ -f /usr/bin/make ] ; then if [ -f /usr/bin/make ] ; then
if [ -f /opt/scripts/tools/dtc/dtc-3.8.x.sh ] ; then if [ -f /opt/scripts/tools/dtc/dtc-3.8.x.sh ] ; then
......
...@@ -381,24 +381,28 @@ install_git_repos () { ...@@ -381,24 +381,28 @@ install_git_repos () {
fi fi
fi fi
if [ ! -f /usr/lib/libroboticscape.so ] ; then
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
fi
#beagle-tester #beagle-tester
git_repo="https://github.com/jadonk/beagle-tester" git_repo="https://github.com/jadonk/beagle-tester"
git_target_dir="/opt/source/beagle-tester" git_target_dir="/opt/source/beagle-tester"
git_clone git_clone
if [ -f ${git_target_dir}/.git/config ] ; then if [ -f ${git_target_dir}/.git/config ] ; then
cd ${git_target_dir}/ if [ -f /usr/lib/libroboticscape.so ] ; then
if [ -f /usr/bin/make ] ; then cd ${git_target_dir}/
make if [ -f /usr/bin/make ] ; then
make install || true make
if [ ! "x${image_type}" = "xtester-2gb" ] ; then make install || true
systemctl disable beagle-tester.service || true if [ ! "x${image_type}" = "xtester-2gb" ] ; then
systemctl disable beagle-tester.service || true
fi
fi fi
fi fi
fi fi
git_repo="https://github.com/StrawsonDesign/Robotics_Cape_Installer"
git_target_dir="/opt/source/Robotics_Cape_Installer"
git_clone
} }
install_build_pkgs () { install_build_pkgs () {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment