improving installation script
This commit is contained in:
parent
a6c5553c9a
commit
999d377679
26
install.sh
26
install.sh
|
@ -7,7 +7,7 @@
|
||||||
#
|
#
|
||||||
# local setting (must be adjusted)
|
# local setting (must be adjusted)
|
||||||
USERNAME="lukas"
|
USERNAME="lukas"
|
||||||
REPOS_PATH="/home/lukas/ros-repos/"
|
REPOS_PATH="home/lukas/ros-repos"
|
||||||
HOST_IP="192.168.7.1"
|
HOST_IP="192.168.7.1"
|
||||||
# This script does the following steps:
|
# This script does the following steps:
|
||||||
# create ssh login without password
|
# create ssh login without password
|
||||||
|
@ -15,51 +15,51 @@ HOST_IP="192.168.7.1"
|
||||||
ssh-keygen -t rsa
|
ssh-keygen -t rsa
|
||||||
cat .ssh/id_rsa.pub | ssh $USERNAME@$HOST_IP 'cat >> .ssh/authorized_keys'
|
cat .ssh/id_rsa.pub | ssh $USERNAME@$HOST_IP 'cat >> .ssh/authorized_keys'
|
||||||
# create prepared rosinstall file
|
# create prepared rosinstall file
|
||||||
|
URL="ssh://$USERNAME@$HOST_IP/$REPOS_PATH"
|
||||||
cat > fuerte-ros-base.rosinstall << EOF
|
cat > fuerte-ros-base.rosinstall << EOF
|
||||||
- git:
|
- git:
|
||||||
local-name: catkin
|
local-name: catkin
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/catkin-release
|
uri: $URL/catkin-release
|
||||||
version: debian/ros-fuerte-catkin_0.4.4_lucid
|
version: debian/ros-fuerte-catkin_0.4.4_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: common_msgs
|
local-name: common_msgs
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/common_msgs-release
|
uri: $URL/common_msgs-release
|
||||||
version: debian/ros-fuerte-common-msgs_1.8.7_lucid
|
version: debian/ros-fuerte-common-msgs_1.8.7_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: gencpp
|
local-name: gencpp
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/gencpp-release
|
uri: $URL/gencpp-release
|
||||||
version: debian/ros-fuerte-gencpp_0.3.4_lucid
|
version: debian/ros-fuerte-gencpp_0.3.4_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: genlisp
|
local-name: genlisp
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/genlisp-release
|
uri: $URL/genlisp-release
|
||||||
version: debian/ros-fuerte-genlisp_0.3.3_lucid
|
version: debian/ros-fuerte-genlisp_0.3.3_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: genmsg
|
local-name: genmsg
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/genmsg-release
|
uri: $URL/genmsg-release
|
||||||
version: debian/ros-fuerte-genmsg_0.3.10_lucid
|
version: debian/ros-fuerte-genmsg_0.3.10_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: genpy
|
local-name: genpy
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/genpy-release
|
uri: $URL/genpy-release
|
||||||
version: debian/ros-fuerte-genpy_0.3.7_lucid
|
version: debian/ros-fuerte-genpy_0.3.7_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: ros
|
local-name: ros
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/ros-release
|
uri: $URL/ros-release
|
||||||
version: debian/ros-fuerte-ros_1.8.9_lucid
|
version: debian/ros-fuerte-ros_1.8.9_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: ros_comm
|
local-name: ros_comm
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/ros_comm-release
|
uri: $URL/ros_comm-release
|
||||||
version: debian/ros-fuerte-ros-comm_1.8.12_lucid
|
version: debian/ros-fuerte-ros-comm_1.8.12_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: roscpp_core
|
local-name: roscpp_core
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/roscpp_core-release
|
uri: $URL/roscpp_core-release
|
||||||
version: debian/ros-fuerte-roscpp-core_0.2.5_lucid
|
version: debian/ros-fuerte-roscpp-core_0.2.5_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: rospack
|
local-name: rospack
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/rospack-release
|
uri: $URL/rospack-release
|
||||||
version: debian/ros-fuerte-rospack_2.0.13_lucid
|
version: debian/ros-fuerte-rospack_2.0.13_lucid
|
||||||
- git:
|
- git:
|
||||||
local-name: std_msgs
|
local-name: std_msgs
|
||||||
uri: git://$HOST_IP/$REPOS_PATH/std_msgs-release
|
uri: $URL/std_msgs-release
|
||||||
version: debian/ros-fuerte-std-msgs_0.4.8_lucid
|
version: debian/ros-fuerte-std-msgs_0.4.8_lucid
|
||||||
EOF
|
EOF
|
||||||
# run rosinstall
|
# run rosinstall
|
||||||
|
|
Loading…
Reference in New Issue