Skip to content

xbps-triggers: Add *_uname variable for system_accounts#61273

Open
oreo639 wants to merge 1 commit into
void-linux:masterfrom
oreo639:system-accounts
Open

xbps-triggers: Add *_uname variable for system_accounts#61273
oreo639 wants to merge 1 commit into
void-linux:masterfrom
oreo639:system-accounts

Conversation

@oreo639

@oreo639 oreo639 commented Jun 28, 2026

Copy link
Copy Markdown
Member

Account names may require characters such as dashes, however these characters are not legal as bash variables.

This works around the issue by allowing you to do: system_accounts="myaccount"
gdmgreeter_name="my-account"
gdmgreeter_pgroup="my-account"

A real-world example is present with gdm 49+, which depends on a user named gdm-greeter.
This PR allows for the gdm-greeter account (and successfully loading into gdm 49+) as seen here: oreo639@86188bd

Let me know if there is a better way to handle this.

Testing the changes

  • I tested the changes in this PR: YES

Account names may require characters such as dashes, however these
characters are not legal as bash variables.

This works around the issue by allowing you to do:
system_accounts="myaccount"
gdmgreeter_name="my-account"
gdmgreeter_pgroup="my-account"
@classabbyamp classabbyamp added the xbps-src xbps-src related label Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

xbps-src xbps-src related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants