The following changes were made:

* Added REPO
  * usher now uses /bin/sh
  * Removed TARGET from usher
This commit is contained in:
2018-04-06 13:25:49 -05:00
parent 23bea2b413
commit 0b8e66fec4
3 changed files with 10 additions and 8 deletions

View File

@@ -10,10 +10,13 @@
export SRCPKG = spl
export DEPENDS = glibc
export BUILDDEPS = gcc
export ARCH = x86_64
export URL = http://zfsonlinux.org/
REPO = main
BRIEF = Interface for OpenZFS
DESC = A shim layer which adds the core interfaces required for OpenZFS
SNAPVER = 3
SNAPVER = 4
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
@@ -69,7 +72,9 @@ $(ROOT): $(SRCDIR)/module/spl/spl.ko
mkdir -v $(ROOT); \
fi
@cd $(SRCDIR) && make install DESTDIR=$(ROOT)
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
install -v -d -m 755 $(ROOT)/lib/modules/$(PACKAGE) && \
mv $(ROOT)/lib/modules/*/* $(ROOT)/lib/modules/$(PACKAGE)
@install -d -v $(DEV)/SNAP && \
install -d -v $(DEVROOT)/usr && \

View File

@@ -9,6 +9,7 @@
# GNU General Public License for more details.
DEPENDS = spl
REPO = dev
BRIEF = Development files for spl
DESC = Development files for spl

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e
@@ -7,11 +7,7 @@ case $1 in
exit 0
;;
postinst)
if [[ ${TARGET} ]]; then
chroot ${TARGET} depmod
else
depmod
fi
depmod
;;
prerm)
exit 0