Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Improve Fedora Linux Support #36

Open
goshansp opened this issue Jul 26, 2022 · 0 comments
Open

WIP: Improve Fedora Linux Support #36

goshansp opened this issue Jul 26, 2022 · 0 comments

Comments

@goshansp
Copy link

goshansp commented Jul 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant