dkms: Remove install warning

pull/215/head
Jan Houben 7 years ago
parent 6a0e869003
commit 00b1c8020e
  1. 2
      build.sh
  2. 12
      packages/dkms/zfs-dkms-git/zfs.install
  3. 12
      packages/dkms/zfs-dkms/zfs.install
  4. 1
      src/zfs-dkms/PKGBUILD.sh
  5. 16
      src/zfs-dkms/zfs.install.sh

@ -168,8 +168,6 @@ generate_package_files() {
msg2 "Creating zfs-dkms PKGBUILD"
run_cmd_no_output "source ${script_dir}/src/zfs-dkms/PKGBUILD.sh"
msg2 "Creating zfs.install"
run_cmd_no_output "source ${script_dir}/src/zfs-dkms/zfs.install.sh"
else
# remove own headers from conflicts
zfs_headers_conflicts=${zfs_headers_conflicts_all/"'${zfs_pkgname}-headers'"}

@ -1,12 +0,0 @@
post_install() {
# https://bugs.archlinux.org/task/52901
echo '>>> If DKMS fails to build ZFS, run this command:'
echo -e '# dkms install -m zfs/git -k <kernel_version>\n'
echo 'If you are using ZFS on your root partition run this afterwards:'
echo '# mkinitcpio -P'
}
post_upgrade() {
post_install "$1"
}

@ -1,12 +0,0 @@
post_install() {
# https://bugs.archlinux.org/task/52901
echo '>>> If DKMS fails to build ZFS, run this command:'
echo -e '# dkms install -m zfs/0.7.5 -k <kernel_version>\n'
echo 'If you are using ZFS on your root partition run this afterwards:'
echo '# mkinitcpio -P'
}
post_upgrade() {
post_install "$1"
}

@ -13,7 +13,6 @@ source=("${zfs_src_target}")
sha256sums=("${zfs_src_hash}")
license=("CDDL")
depends=("${spl_pkgname}" "${zfs_utils_pkgname}")
install=zfs.install
provides=("zfs")
groups=("${archzfs_package_group}")
conflicts=(${zfs_conflicts} ${zfs_conflicts_all} ${zfs_headers_conflicts_all})

@ -1,16 +0,0 @@
#!/bin/bash
cat << EOF > ${zfs_dkms_pkgbuild_path}/zfs.install
post_install() {
# https://bugs.archlinux.org/task/52901
echo '>>> If DKMS fails to build ZFS, run this command:'
echo -e '# dkms install -m zfs/${zfs_mod_ver} -k <kernel_version>\n'
echo 'If you are using ZFS on your root partition run this afterwards:'
echo '# mkinitcpio -P'
}
post_upgrade() {
post_install "\$1"
}
EOF
Loading…
Cancel
Save