From 7251a76315106b6560601ea0e70c723ecb55bd52 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Fri, 3 Nov 2023 06:27:32 +0300 Subject: [PATCH] image: symlink assets instead of copying in documentation to save space --- builder/image-ros.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/image-ros.sh b/builder/image-ros.sh index c3f6dd934..8acd9e170 100755 --- a/builder/image-ros.sh +++ b/builder/image-ros.sh @@ -125,6 +125,8 @@ cd /home/pi/catkin_ws/src/clover builder/assets/install_gitbook.sh gitbook install gitbook build +# replace assets copy to assets symlink to save space +rm -rf _book/assets && ln -s ../docs/assets _book/assets touch node_modules/CATKIN_IGNORE docs/CATKIN_IGNORE _book/CATKIN_IGNORE clover/www/CATKIN_IGNORE apps/CATKIN_IGNORE # ignore documentation files by catkin echo_stamp "Installing additional ROS packages"