6
6
# Nobu Kawauchi
7
7
#
8
8
9
- VERSION=2.0.1 .00
9
+ VERSION=2.0.2 .00
10
10
FILENAME=openrtm2_install_raspbian.sh
11
11
BIT=` getconf LONG_BIT`
12
12
@@ -77,7 +77,7 @@ pkg_tools="build-essential debhelper devscripts"
77
77
omni_devel=" libomniorb4-dev omniidl"
78
78
omni_runtime=" omniorb-nameserver"
79
79
openrtm2_devel=" openrtm2-doc openrtm2-idl openrtm2-dev"
80
- openrtm2_runtime=" openrtm2 openrtm2-example"
80
+ openrtm2_runtime=" openrtm2 openrtm2-naming openrtm2- example"
81
81
82
82
# --------------------------------------- Python
83
83
omnipy=" omniidl-python3"
@@ -507,8 +507,8 @@ u_core_pkgs="$u_src_pkgs"
507
507
python_runtime_pkgs=" $omni_runtime $python_runtime $openrtm2_py_runtime "
508
508
u_python_runtime_pkgs=" $openrtm2_py_runtime "
509
509
510
- python_dev_pkgs=" $python_runtime_pkgs $python_devel $openrtm2_py_devel "
511
- u_python_dev_pkgs=" $u_python_runtime_pkgs $openrtm2_py_devel "
510
+ python_dev_pkgs=" $python_runtime_pkgs $python_devel "
511
+ u_python_dev_pkgs=" $u_python_runtime_pkgs "
512
512
513
513
python_core_pkgs=" $omni_runtime $python_runtime $python_devel $build_tools $pkg_tools "
514
514
u_python_core_pkgs=" $omni_runtime $omnipy "
@@ -517,8 +517,8 @@ u_python_core_pkgs="$omni_runtime $omnipy"
517
517
java_runtime_pkgs=" $omni_runtime $openrtm2_j_runtime "
518
518
u_java_runtime_pkgs=" $openrtm2_j_runtime "
519
519
520
- java_dev_pkgs=" $java_runtime_pkgs $cmake_tools $base_tools $openrtm2_j_devel "
521
- u_java_dev_pkgs=" $u_java_runtime_pkgs $openrtm2_j_devel "
520
+ java_dev_pkgs=" $java_runtime_pkgs $cmake_tools $base_tools "
521
+ u_java_dev_pkgs=" $u_java_runtime_pkgs "
522
522
523
523
java_core_pkgs=" $omni_runtime $cmake_tools $base_tools $build_tools $java_build $pkg_tools "
524
524
u_java_core_pkgs=" $omni_runtime "
@@ -580,7 +580,11 @@ install_proc()
580
580
if test " x$arg_rtshell " = " xtrue" ; then
581
581
select_opt_shl=" [rtshell] install"
582
582
install_packages python3-pip
583
- rtshell_ret=` sudo python3 -m pip install rtshell-aist`
583
+ if test " x$code_name " = " xbullseye" ; then
584
+ rtshell_ret=` sudo python3 -m pip install rtshell-aist`
585
+ else
586
+ rtshell_ret=` sudo python3 -m pip install --break-system-packages rtshell-aist`
587
+ fi
584
588
if test " x$rtshell_ret " ! = " x" ; then
585
589
sudo rtshell_post_install -n
586
590
else
@@ -643,7 +647,11 @@ uninstall_proc()
643
647
644
648
if test " x$arg_rtshell " = " xtrue" ; then
645
649
select_opt_shl=" [rtshell] uninstall"
646
- rtshell_ret=` sudo python3 -m pip uninstall -y rtshell-aist rtctree-aist rtsprofile-aist`
650
+ if test " x$code_name " = " xbullseye" ; then
651
+ rtshell_ret=` sudo python3 -m pip uninstall -y rtshell-aist rtctree-aist rtsprofile-aist`
652
+ else
653
+ rtshell_ret=` sudo python3 -m pip uninstall -y --break-system-packages rtshell-aist rtctree-aist rtsprofile-aist`
654
+ fi
647
655
if test " x$rtshell_ret " = " x" ; then
648
656
msg=" \n[ERROR] Failed to uninstall rtshell-aist."
649
657
tmp=" $err_message$msg "
@@ -786,8 +794,11 @@ else
786
794
fi
787
795
788
796
# install openjdk-8-jdk
797
+ # codename=`sed -n /VERSION_CODENAME=/p /etc/os-release`
798
+ # CNAME=`echo "$codename" | sed 's/VERSION_CODENAME=//'`
789
799
if test " x$OPT_FLG " = " xtrue" &&
790
- test " x$BIT " = " x32" ; then
800
+ test " x$BIT " = " x32" &&
801
+ test " x$code_name " = " xbullseye" ; then
791
802
sudo apt -y install openjdk-8-jdk
792
803
JAVA8=` update-alternatives --list java | grep java-8`
793
804
sudo update-alternatives --set java ${JAVA8}
0 commit comments