From 3f8ff7550d8ed0ea254f3f3b3a5955a6f8fec441 Mon Sep 17 00:00:00 2001 From: Manuel YGUEL Date: Fri, 19 Apr 2024 18:31:06 +0200 Subject: [PATCH] Provides more helpful tips in case of kernel update. --- .../sphinx/quickstart/installation.rst | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/ethercat_driver_ros2/sphinx/quickstart/installation.rst b/ethercat_driver_ros2/sphinx/quickstart/installation.rst index 36676f1..504b845 100644 --- a/ethercat_driver_ros2/sphinx/quickstart/installation.rst +++ b/ethercat_driver_ros2/sphinx/quickstart/installation.rst @@ -65,7 +65,6 @@ To do so: $ sudo make modules_install install $ sudo depmod - .. note:: This step is needed every time the Linux kernel is updated. * Configure system: .. code-block:: console @@ -75,6 +74,28 @@ To do so: $ sudo mkdir -p /etc/sysconfig $ sudo cp /usr/local/etherlab/etc/sysconfig/ethercat /etc/sysconfig/ethercat + .. note:: + + These 4 steps may be needed every time the Linux kernel is updated. + Before re-doing the 4 steps, you can try the following lighter steps: + + Go in the folder where the ethercat project was cloned, from step 2 (Setup sources) do: + + .. code-block:: console + + cd ethercat + sudo rm /usr/bin/ethercat /etc/init.d/ethercat + ./bootstrap + + Do integrally step 3 (Configure, build and install ...) + From Step 4 (Configure system) + + .. code-block:: console + + sudo ln -s /usr/local/etherlab/bin/ethercat /usr/bin/ + sudo ln -s /usr/local/etherlab/etc/init.d/ethercat /etc/init.d/ethercat + + * Create a new :code:`udev` rule: .. code-block:: console