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

Fails on Fedora SilverBlue / Project BlueFin / Immutable #83

Open
StudioLE opened this issue Jun 20, 2024 · 3 comments
Open

Fails on Fedora SilverBlue / Project BlueFin / Immutable #83

StudioLE opened this issue Jun 20, 2024 · 3 comments

Comments

@StudioLE
Copy link

Tried running ./matter.py on Project BlueFin but it fails as /usr/sbin is read-only

[I] Prepare installation directory
[I] Clean install directory
[I] Copy built theme to installation directory
[I] Patch /etc/default/grub with Matter Theme Overrides
[I] Begin /boot/grub2/grub.cfg patch
[I] 11 icons successfully patched onto /boot/grub2/grub.cfg
[I] Begin /usr/sbin/grub2-mkconfig patch
[I] Clean old /usr/sbin/grub2-mkconfig patch if any
Traceback (most recent call last):
  File "/var/home/**USER**/matter/./matter.py", line 876, in <module>
    do_install()
  File "/var/home/**USER**/matter/./matter.py", line 548, in do_install
    do_set_icons(patch_grubcfg=True)
  File "/var/home/**USER**/matter/./matter.py", line 693, in do_set_icons
    with open(GRUB_MKCONFIG_PATH, "w") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 30] Read-only file system: '/usr/sbin/grub2-mkconfig'
@heyzec
Copy link
Collaborator

heyzec commented Jun 20, 2024

Not too familiar with BlueFin OS, but since it is container-based looks like it mounts /usr/sbin/ as readonly, so patching grub2-mkconfig is not really possible.

Ignoring the error, have the grub changes been applied?

@StudioLE
Copy link
Author

I believe it was able to modify /etc/default/grub sucessfully but didn't check as I was concerned about grub being broken. I ran ./matter.py -u which I believe was able to remove the changes to /etc/default/grub but again failed on opening /usr/sbin/grub2-mkconfig

@heyzec
Copy link
Collaborator

heyzec commented Jun 22, 2024

If you're concerned about the error you can try running it again with the --seticons_once flag.

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

2 participants