Fix mkinitcpio install hook

closes issues #2 and #3

In the rc14, some file names changed causing the install hook to produce errors
when trying to locate the missing files.
pull/7/head
Jesus Alvarez 12 years ago
parent b233291240
commit 328cb52c99
  1. BIN
      archiso/i686/archzfs.db.tar.xz
  2. BIN
      archiso/i686/archzfs.db.tar.xz.old
  3. BIN
      archiso/i686/archzfs.db.tar.xz.old.sig
  4. BIN
      archiso/i686/archzfs.db.tar.xz.sig
  5. BIN
      archiso/sources/spl-0.6.0_rc14_3.7.5-1.src.tar.gz
  6. BIN
      archiso/sources/spl-0.6.0_rc14_3.7.5-2.src.tar.gz
  7. BIN
      archiso/sources/spl-utils-0.6.0_rc14_3.7.5-1.src.tar.gz
  8. BIN
      archiso/sources/spl-utils-0.6.0_rc14_3.7.5-2.src.tar.gz
  9. BIN
      archiso/sources/zfs-0.6.0_rc14_3.7.5-1.src.tar.gz
  10. BIN
      archiso/sources/zfs-0.6.0_rc14_3.7.5-2.src.tar.gz
  11. BIN
      archiso/sources/zfs-utils-0.6.0_rc14_3.7.5-1.src.tar.gz
  12. BIN
      archiso/sources/zfs-utils-0.6.0_rc14_3.7.5-2.src.tar.gz
  13. BIN
      archiso/x86_64/archzfs.db.tar.xz
  14. BIN
      archiso/x86_64/archzfs.db.tar.xz.old
  15. BIN
      archiso/x86_64/archzfs.db.tar.xz.old.sig
  16. BIN
      archiso/x86_64/archzfs.db.tar.xz.sig
  17. BIN
      core/i686/archzfs.db.tar.xz
  18. BIN
      core/i686/archzfs.db.tar.xz.old
  19. BIN
      core/i686/archzfs.db.tar.xz.old.sig
  20. BIN
      core/i686/archzfs.db.tar.xz.sig
  21. BIN
      core/sources/spl-0.6.0_rc14_3.7.5-1.src.tar.gz
  22. BIN
      core/sources/spl-0.6.0_rc14_3.7.5-2.src.tar.gz
  23. BIN
      core/sources/spl-utils-0.6.0_rc14_3.7.5-1.src.tar.gz
  24. BIN
      core/sources/spl-utils-0.6.0_rc14_3.7.5-2.src.tar.gz
  25. BIN
      core/sources/zfs-0.6.0_rc14_3.7.5-1.src.tar.gz
  26. BIN
      core/sources/zfs-0.6.0_rc14_3.7.5-2.src.tar.gz
  27. BIN
      core/sources/zfs-utils-0.6.0_rc14_3.7.5-1.src.tar.gz
  28. BIN
      core/sources/zfs-utils-0.6.0_rc14_3.7.5-2.src.tar.gz
  29. BIN
      core/x86_64/archzfs.db.tar.xz
  30. BIN
      core/x86_64/archzfs.db.tar.xz.old
  31. BIN
      core/x86_64/archzfs.db.tar.xz.old.sig
  32. BIN
      core/x86_64/archzfs.db.tar.xz.sig
  33. 2
      devsrc/spl-utils/PKGBUILD
  34. 2
      devsrc/spl/PKGBUILD
  35. 8
      devsrc/zfs-utils/PKGBUILD
  36. 20
      devsrc/zfs-utils/zfs-utils.initcpio.install
  37. 2
      devsrc/zfs/PKGBUILD
  38. BIN
      testing/i686/archzfs.db.tar.xz
  39. BIN
      testing/i686/archzfs.db.tar.xz.old
  40. BIN
      testing/i686/archzfs.db.tar.xz.old.sig
  41. BIN
      testing/i686/archzfs.db.tar.xz.sig
  42. BIN
      testing/sources/spl-0.6.0_rc14_3.7.5-1.src.tar.gz
  43. BIN
      testing/sources/spl-0.6.0_rc14_3.7.5-2.src.tar.gz
  44. BIN
      testing/sources/spl-utils-0.6.0_rc14_3.7.5-1.src.tar.gz
  45. BIN
      testing/sources/spl-utils-0.6.0_rc14_3.7.5-2.src.tar.gz
  46. BIN
      testing/sources/zfs-0.6.0_rc14_3.7.5-1.src.tar.gz
  47. BIN
      testing/sources/zfs-0.6.0_rc14_3.7.5-2.src.tar.gz
  48. BIN
      testing/sources/zfs-utils-0.6.0_rc14_3.7.5-1.src.tar.gz
  49. BIN
      testing/sources/zfs-utils-0.6.0_rc14_3.7.5-2.src.tar.gz
  50. BIN
      testing/x86_64/archzfs.db.tar.xz
  51. BIN
      testing/x86_64/archzfs.db.tar.xz.old
  52. BIN
      testing/x86_64/archzfs.db.tar.xz.old.sig
  53. BIN
      testing/x86_64/archzfs.db.tar.xz.sig

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -3,7 +3,7 @@
pkgname=('spl-utils')
pkgver=0.6.0_rc14_3.7.5
pkgrel=1
pkgrel=2
pkgdesc='Solaris Porting Layer kernel module support files.'
depends=('linux=3.7.5')
makedepends=('linux-headers=3.7.5')

@ -3,7 +3,7 @@
pkgname=('spl')
pkgver=0.6.0_rc14_3.7.5
pkgrel=1
pkgrel=2
pkgdesc='Solaris Porting Layer kernel modules.'
depends=('spl-utils=0.6.0_rc14_3.7.5' 'linux=3.7.5')
makedepends=('linux-headers=3.7.5')

@ -3,7 +3,7 @@
pkgname=('zfs-utils')
pkgver=0.6.0_rc14_3.7.5
pkgrel=1
pkgrel=2
pkgdesc="Kernel module support files for the Zettabyte File System."
depends=('spl=0.6.0_rc14_3.7.5' 'linux=3.7.5')
makedepends=('linux-headers=3.7.5')
@ -17,7 +17,7 @@ source=(http://archive.zfsonlinux.org/downloads/zfsonlinux/zfs/zfs-0.6.0-rc14.ta
groups=('archzfs')
md5sums=('adf09eb2144ef49734be12565d9ea4fe'
'3e1c4a29c4f7d590e6a3041f2c61d6ff'
'b5c75ddf052d6c167459674013811885'
'd654e88a606fe68f93a8fa26bca4655d'
'105fe46115c6fc6a335399c74bd58289'
'161e6a5f5f314c9308b4a4565c01fe45')
license=('CDDL')
@ -45,6 +45,10 @@ package() {
cp -r ${pkgdir}/{lib,usr}
rm -r ${pkgdir}/lib
# Remove uneeded directories
rm -r ${pkgdir}/usr/share/dracut
rm -r ${pkgdir}/etc/rc.d
install -D -m644 ${srcdir}/zfs-utils.initcpio.hook ${pkgdir}/usr/lib/initcpio/hooks/zfs
install -D -m644 ${srcdir}/zfs-utils.initcpio.install ${pkgdir}/usr/lib/initcpio/install/zfs
install -D -m644 ${srcdir}/zfs-utils.service ${pkgdir}/usr/lib/systemd/system/zfs.service

@ -2,27 +2,31 @@
build() {
map add_module \
zfs \
zcommon \
znvpair \
zavl \
znvpair \
zunicode \
zcommon \
zfs \
zpios \
spl \
splat \
zlib_deflate
map add_binary \
zfs \
spl \
splat \
zpool \
zpool_layout \
mount.zfs \
fsck.zfs \
hostid \
/lib/udev/zpool_id \
/lib/udev/vdev_id \
/lib/udev/zvol_id
map add_file \
/lib/udev/rules.d/60-z{vol,pool}.rules \
/lib/udev/rules.d/90-zfs.rules \
/etc/zfs/zdev.conf
/lib/udev/rules.d/60-zvol.rules \
/lib/udev/rules.d/69-vdev.rules \
/lib/udev/rules.d/90-zfs.rules
add_runscript

@ -3,7 +3,7 @@
pkgname=('zfs')
pkgver=0.6.0_rc14_3.7.5
pkgrel=1
pkgrel=2
pkgdesc="Kernel modules for the Zettabyte File System."
depends=('spl=0.6.0_rc14_3.7.5' 'zfs-utils=0.6.0_rc14_3.7.5' 'linux=3.7.5')
makedepends=('linux-headers=3.7.5')

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save