|
|
@ -32,7 +32,7 @@ build() { |
|
|
|
./autogen.sh |
|
|
|
./autogen.sh |
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --with-mounthelperdir=/usr/bin \\ |
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --with-mounthelperdir=/usr/bin \\ |
|
|
|
--libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include \\ |
|
|
|
--libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include \\ |
|
|
|
--with-udevdir=/lib/udev --libexecdir=/usr/lib/zfs-\${pkgver} \\ |
|
|
|
--with-udevdir=/usr/lib/udev --libexecdir=/usr/lib \\ |
|
|
|
--with-config=user --enable-systemd --enable-pyzfs |
|
|
|
--with-config=user --enable-systemd --enable-pyzfs |
|
|
|
make |
|
|
|
make |
|
|
|
} |
|
|
|
} |
|
|
@ -46,10 +46,6 @@ package() { |
|
|
|
rm -r "\${pkgdir}"/usr/share/initramfs-tools |
|
|
|
rm -r "\${pkgdir}"/usr/share/initramfs-tools |
|
|
|
rm -r "\${pkgdir}"/usr/lib/modules-load.d |
|
|
|
rm -r "\${pkgdir}"/usr/lib/modules-load.d |
|
|
|
|
|
|
|
|
|
|
|
# move module tree /lib -> /usr/lib |
|
|
|
|
|
|
|
cp -r "\${pkgdir}"/{lib,usr} |
|
|
|
|
|
|
|
rm -r "\${pkgdir}"/lib |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Autoload the zfs module at boot |
|
|
|
# Autoload the zfs module at boot |
|
|
|
mkdir -p "\${pkgdir}/etc/modules-load.d" |
|
|
|
mkdir -p "\${pkgdir}/etc/modules-load.d" |
|
|
|
printf "%s\n" "zfs" > "\${pkgdir}/etc/modules-load.d/zfs.conf" |
|
|
|
printf "%s\n" "zfs" > "\${pkgdir}/etc/modules-load.d/zfs.conf" |
|
|
|