The following changes were made:
* Added REPO * usher now uses /bin/sh * Removed TARGET from usher * moved modules to /lib/modules/zfs
This commit is contained in:
10
Makefile
10
Makefile
@@ -9,13 +9,14 @@
|
||||
# GNU General Public License for more details.
|
||||
|
||||
export SRCPKG = zfs
|
||||
export DEPENDS = glibc,libzfs,util-linux,zlib
|
||||
export DEPENDS = glibc,libzfs,util-linux,spl,zlib
|
||||
export ARCH = x86_64
|
||||
export URL = http://zfsonlinux.org/
|
||||
REPO = main
|
||||
BRIEF = Module and utilities for the ZFS file system
|
||||
DESC = ZFS is an advanced file system and volume manager which was originally \
|
||||
developed for Solaris and is now maintained by the Illumos community.
|
||||
SNAPVER = 5
|
||||
SNAPVER = 7
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
@@ -78,7 +79,10 @@ $(ROOT): $(SRCDIR)/module/zfs/zfs.ko
|
||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||
mv $(ROOT)/etc/default/zfs $(ROOT)/usr/share/zfs/zfs.default && \
|
||||
rmdir $(ROOT)/etc/default && \
|
||||
install -v -d -m 755 $(ROOT)/etc/zfs
|
||||
install -v -d -m 755 $(ROOT)/etc/zfs && \
|
||||
install -v -d -m 755 $(ROOT)/lib/modules/$(PACKAGE) && \
|
||||
mv -v $(ROOT)/lib/modules/*/* $(ROOT)/lib/modules/$(PACKAGE) && \
|
||||
rm -vrf $(ROOT)/usr/share/initramfs-tools
|
||||
|
||||
@install -v -d $(LIB)/SNAP && \
|
||||
install -v -d $(LIBROOT) && \
|
||||
|
||||
Reference in New Issue
Block a user