Skip to content

fix corrupted plain_unit_concat function#117

Open
Curly060 wants to merge 1 commit intorandom-archer:masterfrom
Curly060:fix-corrupted-plain_unit_concat
Open

fix corrupted plain_unit_concat function#117
Curly060 wants to merge 1 commit intorandom-archer:masterfrom
Curly060:fix-corrupted-plain_unit_concat

Conversation

@Curly060
Copy link
Copy Markdown

In environments where "systemctl cat" is not available the fallback function plain_unit_concat is being used. That function corrupts the generated unit file because it does print "using synthetic concat for " to stdout which will then be the first line in the generated unit file,, see this code in mkinitcpio-install.sh:
plain "using synthetic concat for $unit_name"

This makes the syntax of the unit file invalid and thus breaks it. Since this is only a technical message with very low value, I have opted to remove it.

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.

1 participant