Skip to content

Ensure lib/modules-load.d exists before installing there#258

Merged
gaul merged 1 commit intolinux-on-mac:masterfrom
jackkamm:ensure-modules-load-d
Nov 19, 2022
Merged

Ensure lib/modules-load.d exists before installing there#258
gaul merged 1 commit intolinux-on-mac:masterfrom
jackkamm:ensure-modules-load-d

Conversation

@jackkamm
Copy link

@jackkamm jackkamm commented Nov 19, 2022

If $(DESTDIR)/lib/modules-load.d does not exist yet, then mbpfan.depend.conf gets installed with that file name, instead of to $(DESTDIR)/lib/modules-load.d/mbpfan.depend.conf. This patch fixes the problem by ensuring the folder exists first.

Patch from AUR [1], I am the packager there. Followup to [2]. See also [3].

[1] https://aur.archlinux.org/cgit/aur.git/commit/?h=mbpfan-git&id=03288aa0926e980fbd456665047a4bda5fc9c5fd
[2] #253
[3] #255

@gaul gaul merged commit d4473d4 into linux-on-mac:master Nov 19, 2022
@gaul
Copy link
Member

gaul commented Nov 19, 2022

Thank you for your contribution @jackkamm!

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