diff options
author | Guy Sheffer <guysoft@gmail.com> | 2021-07-27 00:25:59 +0300 |
---|---|---|
committer | Guy Sheffer <guysoft@gmail.com> | 2021-07-27 00:25:59 +0300 |
commit | 55344968198c4ebcf22599835069837feb82c659 (patch) | |
tree | fd15d048b9c7f4254b8976e6c38a7b769ad08ad8 | |
parent | 9bec6e6ad9dc61fe188c0e3d842d3d30ad656584 (diff) |
Fixes #746
-rwxr-xr-x | src/modules/octopi/start_chroot_script | 5 |
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... |