Compare commits
1 Commits
v0.6.5.8-3
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b8e66fec4 |
9
Makefile
9
Makefile
@@ -10,10 +10,13 @@
|
|||||||
|
|
||||||
export SRCPKG = spl
|
export SRCPKG = spl
|
||||||
export DEPENDS = glibc
|
export DEPENDS = glibc
|
||||||
|
export BUILDDEPS = gcc
|
||||||
export ARCH = x86_64
|
export ARCH = x86_64
|
||||||
export URL = http://zfsonlinux.org/
|
export URL = http://zfsonlinux.org/
|
||||||
|
REPO = main
|
||||||
|
BRIEF = Interface for OpenZFS
|
||||||
DESC = A shim layer which adds the core interfaces required 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)
|
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')
|
||||||
@@ -69,7 +72,9 @@ $(ROOT): $(SRCDIR)/module/spl/spl.ko
|
|||||||
mkdir -v $(ROOT); \
|
mkdir -v $(ROOT); \
|
||||||
fi
|
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 $(DEV)/SNAP && \
|
||||||
install -d -v $(DEVROOT)/usr && \
|
install -d -v $(DEVROOT)/usr && \
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
DEPENDS = spl
|
DEPENDS = spl
|
||||||
|
REPO = dev
|
||||||
BRIEF = Development files for spl
|
BRIEF = Development files for spl
|
||||||
DESC = Development files for spl
|
DESC = Development files for spl
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@@ -7,11 +7,7 @@ case $1 in
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
postinst)
|
postinst)
|
||||||
if [[ ${TARGET} ]]; then
|
depmod
|
||||||
chroot ${TARGET} depmod
|
|
||||||
else
|
|
||||||
depmod
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
prerm)
|
prerm)
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user