Upgrade zfs 2.2.0
This commit is contained in:
parent
c409e42c2e
commit
d387d74dbb
1 changed files with 4 additions and 11 deletions
15
debian/rules
vendored
15
debian/rules
vendored
|
@ -43,11 +43,11 @@ override_dh_quilt_unpatch:
|
||||||
cd ${KERNEL_SRC}; \
|
cd ${KERNEL_SRC}; \
|
||||||
QUILT_PATCHES=../debian/patches \
|
QUILT_PATCHES=../debian/patches \
|
||||||
QUILT_SERIES=series.linux \
|
QUILT_SERIES=series.linux \
|
||||||
quilt --quiltrc /dev/null pop -a || test $$? = 2
|
quilt --quiltrc /dev/null pop -fa || test $$? = 2
|
||||||
cd ${ZFS_SRC}; \
|
cd ${ZFS_SRC}; \
|
||||||
QUILT_PATCHES=../debian/patches \
|
QUILT_PATCHES=../debian/patches \
|
||||||
QUILT_SERIES=series.zfs \
|
QUILT_SERIES=series.zfs \
|
||||||
quilt --quiltrc /dev/null pop -a || test $$? = 2
|
quilt --quiltrc /dev/null pop -fa || test $$? = 2
|
||||||
rm -rf ${KERNEL_SRC}/.pc ${ZFS_SRC}/.pc
|
rm -rf ${KERNEL_SRC}/.pc ${ZFS_SRC}/.pc
|
||||||
|
|
||||||
override_dh_autoreconf:
|
override_dh_autoreconf:
|
||||||
|
@ -105,15 +105,8 @@ debian/${PVE_KERNEL_PKG}.%: debian/templates/pve-kernel.%.in
|
||||||
|
|
||||||
# install zfs drivers
|
# install zfs drivers
|
||||||
install -d -m 0755 debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
install -d -m 0755 debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
||||||
install -m 644 ${ZFS_SRC}/module/avl/zavl.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
install -m 644 ${ZFS_SRC}/module/zfs.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
||||||
install -m 644 ${ZFS_SRC}/module/nvpair/znvpair.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
install -m 644 ${ZFS_SRC}/module/spl.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
||||||
install -m 644 ${ZFS_SRC}/module/unicode/zunicode.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
|
||||||
install -m 644 ${ZFS_SRC}/module/zcommon/zcommon.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
|
||||||
install -m 644 ${ZFS_SRC}/module/icp/icp.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
|
||||||
install -m 644 ${ZFS_SRC}/module/zfs/zfs.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
|
||||||
install -m 644 ${ZFS_SRC}/module/lua/zlua.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
|
||||||
install -m 644 ${ZFS_SRC}/module/spl/spl.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
|
||||||
install -m 644 ${ZFS_SRC}/module/zstd/zzstd.ko debian/${PVE_KERNEL_PKG}/lib/modules/${KVNAME}/zfs
|
|
||||||
# remove firmware
|
# remove firmware
|
||||||
rm -rf debian/${PVE_KERNEL_PKG}/lib/firmware
|
rm -rf debian/${PVE_KERNEL_PKG}/lib/firmware
|
||||||
# strip debug info
|
# strip debug info
|
||||||
|
|
Loading…
Add table
Reference in a new issue