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

Bug fixes and verious improments #69

Merged
merged 4 commits into from
Aug 21, 2024
Merged

Conversation

NeroReflex
Copy link
Contributor

@NeroReflex NeroReflex commented Aug 18, 2024

The following has been implemented

  1. Fix permissions errors on the tracker file
  2. Move the tracker file as part of "1"
  3. Introduce a test for what was failing before
  4. remove frzr kernel
  5. Change tests to use the makefile installation
  6. Fix whiptail being the default: SHOW_UI was
    not being set to zero when unspecified

@BoukeHaarsma23
Copy link
Contributor

could you please split this out to multiple commits?

@NeroReflex
Copy link
Contributor Author

could you please split this out to multiple commits?

Multiple commits or multiple PRs ?

@BoukeHaarsma23
Copy link
Contributor

commits

The following has been implemented
- Introduce a test for the permission error
- Change tests to use the makefile installation
frzr would fail if the tracker file is created by a user and overwritten by another user, even if such user is root.

Solve the problem by:
- moving the file into a directory the whole frzr group has read+write access to
- make the file owned by the frzr group
Fix the improper whiptail usage by ensuring SHOW_UI variable is set to 0 as stated into the command help
@BoukeHaarsma23
Copy link
Contributor

Re: whiptail usage. That should only be used for the installer. For CLI use we just want to print to stdout and for steam use we have the special mode.

Everything else is OK for me.

@NeroReflex
Copy link
Contributor Author

Re: whiptail usage. That should only be used for the installer. For CLI use we just want to print to stdout and for steam use we have the special mode.

Everything else is OK for me.

This patch makes whiptail only used when SHOW_UI is set to 1 (the installer).
When unset, so for CLI, it will use curl.
Using whiptail on CLI was an oversight from me that this patchset fixes

@NeroReflex NeroReflex merged commit 90bd045 into ChimeraOS:master Aug 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants