-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Issue
The information in this issue is still a work in progress. The instructions on https://jira.iais.fraunhofer.de/wiki/display/ORInfo/Set+Up+NXT on Fedora 36 lead install.sh
to fail. There may have been further issues besides the missing java-17-openjdk
. Using the below hacks gets it working for us and we are extremely happy to be able to use NXT with Fedora 36 as well as with Fedora 36 Silverblue.
F36 Classic - Install missing dependency java-17-openjdk
The installation of OpenRobertaUSBNXTLinux_1.0.0.tar.gz
will succeed under Fedora 36 (classic) when executing dnf install java-17-openjdk
beforehand. Perhaps this missing dependency could also be added to install.sh
.
todo: document error message
some awt lib was missing
WIP: F36 Silverblue Support
Furthermore I would like to understand what is missing to establish Fedora Silverblue
support. FYI, Silverblue
is based on ostree
and parts of the filesystem are read-only. The following changes have made the application to start successfully.
Change install.sh from dnf to rpm-ostree
rpm-ostree install glibc libXext libXrender libXtst libXi libusb java-17-openjdk --apply-live --allow-inactive
Add groups to user
sudo su -
grep -E '^dialout:' /usr/lib/group >> /etc/group
vim /etc/group
# add your user to the dialout line
# logout / login
groups # check if you have lego and dialout groups
Workaround: Desktop Shortcut / Manual Start
install.sh: line 32: /usr/share/applications/ORUSBNXT.desktop: Read-only file system
manual start java -jar -Dfile.encoding=utf-8 $dir/OpenRobertaUSBNXT.jar
Reboot
There have been issues with sssd
and others but after a reboot the above lead to success.
Preliminary Conclusion
install.sh
could be extended, implementing the above. Alternatively wrapping the installer into an .rpm
or into a flatpak may be the best way to go forward here but it will require further study.