Skip to content

Commit

Permalink
Add info to install script and documentation about 64bit systems Micz…
Browse files Browse the repository at this point in the history
…Flor#2041 (MiczFlor#2057)

* Add info to install script and documentation about 64bit systems MiczFlor#2041

* Fix flake8 error
  • Loading branch information
pabera committed Aug 14, 2023
1 parent 37a7938 commit 99a5536
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/sphinx/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Before you can install the Phoniebox software, you need to prepare your Raspberr
1. Connect a Micro SD card to your computer (preferable an SD card with high read throughput)
2. `Download <https://www.raspberrypi.org/software/>`_
the `Raspberry Pi Imager <https://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/>`_ and open it
3. Select **Raspberry Pi OS Lite (32-bit)** (without desktop environment) as the operating system (only the 32 bit version is supported) (you can use the settings menu of the Raspberry Pi Imager to configure SSH and WiFi in a more userfriendly way, or do it manually as described in the next step)
3. Select **Raspberry Pi OS Lite (32-bit)** (without desktop environment) as the operating system. future3 does not support 64bit kernels (``aarch64``). You can use the settings menu of the Raspberry Pi Imager to configure SSH and WiFi in a more userfriendly way, or do it manually as described in the next step. In case you already have a 64bit system installed, `you can fix the issue like this <https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/2041>`_.
4. Select your Micro SD card (your card will be formatted)
5. Click *Write*
5. Click *Write*
6. Wait for the imaging process to be finished (it'll take a few minutes)


Expand Down Expand Up @@ -87,8 +87,8 @@ This will switch directly to the specified feature branch during installation.
.. attention:: For all branches *except* the current Release, you will need to build the Web App locally on the Pi.
This is not part of the installation process due to memory limitation issues.
See :ref:`developer/development_environment:Steps to install`.



If you suspect an error you can monitor the installation-process with

Expand Down
1 change: 1 addition & 0 deletions installation/includes/02_helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ check_os_type() {
echo -e " ... OK!\n" | tee /dev/fd/3
else
echo "ERROR: Only 32 bit operating systems supported. Please use a 32bit version of RaspianOS!" | tee /dev/fd/3
echo "You can fix this problem for 64bit kernels: https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/2041" | tee /dev/fd/3
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion src/jukebox/jukebox/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def rpc_call_to_str(cfg_rpc_call: Dict, with_args=True) -> str:
args_str = args
else:
try:
args_str = ", ".join([f"'{x}'" if type(x) == str else str(x) for x in args])
args_str = ", ".join([f"'{x}'" if isinstance(x, str) else str(x) for x in args])
except TypeError:
args_str = f"{args}"
if kwargs is not None:
Expand Down

0 comments on commit 99a5536

Please sign in to comment.