Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9163845c19 |
3
Makefile
3
Makefile
@@ -11,11 +11,12 @@
|
|||||||
DEPENDS = glibc
|
DEPENDS = glibc
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/about/
|
URL = http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/about/
|
||||||
|
REPO = core
|
||||||
BRIEF = Kernel module tools
|
BRIEF = Kernel module tools
|
||||||
DESC = kmod is a set of tools to handle common tasks with Linux kernel \
|
DESC = kmod is a set of tools to handle common tasks with Linux kernel \
|
||||||
modules like insert, remove, list, check properties, resolve dependencies \
|
modules like insert, remove, list, check properties, resolve dependencies \
|
||||||
and aliases.
|
and aliases.
|
||||||
SNAPVER = 3
|
SNAPVER = 4
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
|
|||||||
12
SNAP/usher
12
SNAP/usher
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@@ -7,14 +7,12 @@ case $1 in
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
postinst)
|
postinst)
|
||||||
if [ ! -f ${TARGET}/etc/modprobe.d/blacklist.conf ]; then
|
if [ ! -f /etc/modprobe.d/blacklist.conf ]; then
|
||||||
cp ${TARGET}/usr/share/kmod/blacklist.conf \
|
cp /usr/share/kmod/blacklist.conf /etc/modprobe.d/blacklist.conf
|
||||||
${TARGET}/etc/modprobe.d/blacklist.conf
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f ${TARGET}/etc/modprobe.d/usb.conf ]; then
|
if [ ! -f /etc/modprobe.d/usb.conf ]; then
|
||||||
cp ${TARGET}/usr/share/kmod/usb.conf \
|
cp /usr/share/kmod/usb.conf /etc/modprobe.d/usb.conf
|
||||||
${TARGET}/etc/modprobe.d/usb.conf
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
prerm)
|
prerm)
|
||||||
|
|||||||
Reference in New Issue
Block a user