The following changes were made:
* /etc/modprobe.d added * blacklist.conf and usb.conf added * usher added to manage blacklist.conf and usb.conf
This commit is contained in:
8
Makefile
8
Makefile
@@ -15,7 +15,7 @@ BRIEF = Kernel module tools
|
||||
DESC = kmod is a set of tools to handle common tasks with Linux kernel \
|
||||
modules like insert, remove, list, check properties, resolve dependencies \
|
||||
and aliases.
|
||||
SNAPVER = 2
|
||||
SNAPVER = 3
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
@@ -74,6 +74,12 @@ $(ROOT): $(SRCDIR)/tools/kmod
|
||||
ln -sv ../bin/kmod $(ROOT)/sbin/modprobe && \
|
||||
ln -sv ../bin/kmod $(ROOT)/sbin/rmmod
|
||||
|
||||
@install -v -d -m 755 $(ROOT)/etc/modprobe.d && \
|
||||
install -v -d -m 755 $(ROOT)/usr/share/kmod && \
|
||||
install -v -m 644 $(PWD)/SNAP/blacklist.conf \
|
||||
$(ROOT)/usr/share/kmod/blacklist.conf && \
|
||||
install -v -m 644 $(PWD)/SNAP/usb.conf $(ROOT)/usr/share/kmod/usb.conf
|
||||
|
||||
clean:
|
||||
@rm -rvf $(ROOT) \
|
||||
$(SNAPINFO) \
|
||||
|
||||
Reference in New Issue
Block a user