LukeShortCloud / winesapOS

winesapOS - Game with Linux anywhere, no installation required!
GNU General Public License v3.0
889 stars 30 forks source link

[install][setup][tests][upgrade] Add optional systemd-boot support #899

Closed GuestSneezeOSDev closed 1 month ago

GuestSneezeOSDev commented 1 month ago

Describe the bug or feature An image type which uses systemd

Issue Type

To Reproduce Steps to reproduce the behavior:

  1. Not an issue

Expected behavior Not an issue

Screenshots If applicable, add screenshots to help explain your problem.

System information (please complete the following information):

Additional context Add any other context about the problem here.

LukeShortCloud commented 1 month ago

Do you mean to use systemd-boot instead of grub for the bootloader? We use systemd for managing our services already.

GuestSneezeOSDev commented 1 month ago

I meant for the bootloader I am more used to Arch Linux than other Linux Distro's

LukeShortCloud commented 1 month ago

I'll look into adding it. I'm thinking it'll be configured by a new environment variable: WINESAPOS_BOOTLOADER=grub (default) or WINESAPOS_BOOTLOADER=systemd-boot.

GuestSneezeOSDev commented 1 month ago

Thanks

GuestSneezeOSDev commented 1 month ago

Use bootctl

GuestSneezeOSDev commented 1 month ago

I think i can implement it in my latest PR