1 Commits

Author SHA1 Message Date
Jay Larson
0c6f5455b8 Added depmod to usher 2017-05-31 13:42:38 +00:00
2 changed files with 7 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ export URL = http://zfsonlinux.org/
BRIEF = Module and utilities for the ZFS file system BRIEF = Module and utilities for the ZFS file system
DESC = ZFS is an advanced file system and volume manager which was originally \ DESC = ZFS is an advanced file system and volume manager which was originally \
developed for Solaris and is now maintained by the Illumos community. developed for Solaris and is now maintained by the Illumos community.
SNAPVER = 4 SNAPVER = 5
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

@@ -10,6 +10,12 @@ case $1 in
if [ ! -f ${TARGET}/etc/default/zfs ]; then if [ ! -f ${TARGET}/etc/default/zfs ]; then
cp ${TARGET}/usr/share/zfs/zfs.default /etc/default/zfs cp ${TARGET}/usr/share/zfs/zfs.default /etc/default/zfs
fi fi
if [[ ${TARGET} ]]; then
chroot ${TARGET} depmod
else
depmod
fi
;; ;;
prerm) prerm)
exit 0 exit 0