1 Commits

Author SHA1 Message Date
Jay Larson
9163845c19 The following changes were made:
* Added REPO
  * Moved usher from bash to /bin/sh
  * Removed TARGET from usher
2018-03-27 09:24:25 -05:00
2 changed files with 7 additions and 8 deletions

View File

@@ -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')

View File

@@ -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)