Makefile: install modprobe.d conf file in /lib/modprobe.d for dracut not to consider it a hostonly setting

This commit is contained in:
Silvan Calarco 2013-04-14 16:41:19 +02:00
parent 225fbef01b
commit 6c8024d433

View File

@ -18,7 +18,7 @@ backlight: backlight.c Makefile
install: backlight applesmc
install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(INITDIR) \
$(DESTDIR)$(SBIN) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(SYSCONFDIR)/modprobe.d \
$(DESTDIR)$(SBIN) $(DESTDIR)$(SBINDIR) $(DESTDIR)/lib/modprobe.d \
$(DESTDIR)$(SBIN) $(DESTDIR)$(SBINDIR) \
$(DESTDIR)$(SYSCONFDIR)/sysconfig
install -s -m 4755 applesmc $(DESTDIR)$(BINDIR)
@ -27,7 +27,7 @@ install: backlight applesmc
install -m 0755 macbook-tools-init $(DESTDIR)$(INITDIR)/macbook-tools
install -m 644 macbook-tools-sysconfig $(DESTDIR)$(SYSCONFDIR)/sysconfig/macbook-tools
install -m 0755 macbook-lightd $(DESTDIR)$(SBINDIR)/
install -m 0644 macbook-modprobe $(DESTDIR)$(SYSCONFDIR)/modprobe.d/macbook.conf
install -m 0644 macbook-modprobe $(DESTDIR)/lib/modprobe.d/macbook.conf
clean:
rm -f backlight