Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/guysoft/OctoPi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Sheffer <guysoft@gmail.com>2021-07-27 00:25:59 +0300
committerGuy Sheffer <guysoft@gmail.com>2021-07-27 00:25:59 +0300
commit55344968198c4ebcf22599835069837feb82c659 (patch)
treefd15d048b9c7f4254b8976e6c38a7b769ad08ad8
parent9bec6e6ad9dc61fe188c0e3d842d3d30ad656584 (diff)
Fixes #746
-rwxr-xr-xsrc/modules/octopi/start_chroot_script5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/octopi/start_chroot_script b/src/modules/octopi/start_chroot_script
index 65eb08e..4d37aa2 100755
--- a/src/modules/octopi/start_chroot_script
+++ b/src/modules/octopi/start_chroot_script
@@ -25,6 +25,11 @@ WEBCAM_USER=webcam
unpack /filesystem/home/pi /home/"${BASE_USER}" "${BASE_USER}"
unpack /filesystem/home/root /root root
unpack /filesystem/boot /boot
+
+if [ "${BASE_DISTRO}" == "ubuntu" ]; then
+ ln -s /boot/firmware/octopi.txt /boot/octopi.txt
+fi
+
apt-get update
# in case we are building from a regular raspbian image instead of the lite one...