Cleanup initcpio hook

pull/331/head
Jan Houben 6 years ago
parent 4001747c50
commit c0a56dbc5e
No known key found for this signature in database
GPG Key ID: 6866AADB974DD983
  1. 8
      build.sh
  2. 3
      conf.sh
  3. 2
      src/zfs-utils/PKGBUILD.sh
  4. 3
      src/zfs-utils/zfs-utils.initcpio.install

@ -298,9 +298,9 @@ for (( a = 0; a < $#; a++ )); do
done
if [[ ${#commands[@]} -eq 0 || ${#modes[@]} -eq 0 ]]; then
if [[ ${#commands[@]} -eq 0 && ${#modes[@]} -eq 0 ]]; then
echo
error "A build mode and command must be selected!"
error "A build mode or command must be selected!"
usage
fi
@ -329,6 +329,10 @@ if have_command "update_sums"; then
azsha3=$(echo ${run_cmd_output} | awk '{ print $1 }')
run_cmd_no_output "sed -e 's/^zfs_initcpio_install_hash.*/zfs_initcpio_install_hash=\"${azsha3}\"/g' -i ${script_dir}/conf.sh"
run_cmd_show_and_capture_output "sha256sum ${script_dir}/src/zfs-utils/zfs-utils.initcpio.zfsencryptssh.install"
azsha3=$(echo ${run_cmd_output} | awk '{ print $1 }')
run_cmd_no_output "sed -e 's/^zfs_initcpio_zfsencryptssh_install.*/zfs_initcpio_zfsencryptssh_install=\"${azsha3}\"/g' -i ${script_dir}/conf.sh"
source_safe "${script_dir}/conf.sh"
fi

@ -9,8 +9,9 @@ spl_src_hash="4709a06e913bbbeb634161a8b68c3f879e5b6040c6c0c09b1f51042b3178c274"
zfs_src_hash="720e3b221c1ba5d4c18c990e48b86a2eb613575a0c3cc84c0aa784b17b7c2848"
zfs_bash_completion_hash="b60214f70ffffb62ffe489cbfabd2e069d14ed2a391fac0e36f914238394b540"
zfs_initcpio_install_hash="6e5e905a322d0426acdcbc05c5651ec78ee7b874b96d3c429c80f68b061170c5"
zfs_initcpio_install_hash="29a8a6d76fff01b71ef1990526785405d9c9410bdea417b08b56107210d00b10"
zfs_initcpio_hook_hash="78e038f95639c209576e7fa182afd56ac11a695af9ebfa958709839ff1e274ce"
zfs_initcpio_zfsencryptssh_install="29080a84e5d7e36e63c4412b98646043724621245b36e5288f5fed6914da5b68"
# Notification address
email="jeezusjr@gmail.com"

@ -27,7 +27,7 @@ sha256sums=("${zfs_src_hash}"
"${zfs_bash_completion_hash}"
"${zfs_initcpio_install_hash}"
"${zfs_initcpio_hook_hash}"
"29080a84e5d7e36e63c4412b98646043724621245b36e5288f5fed6914da5b68")
"${zfs_initcpio_zfsencryptssh_install}")
license=("CDDL")
groups=("${archzfs_package_group}")
provides=("zfs-utils"${git_provides})

@ -10,8 +10,6 @@ build() {
spl
map add_binary \
arcstat.py \
dbufstat.py \
fsck.zfs \
mount.zfs \
seq \
@ -22,7 +20,6 @@ build() {
zinject \
zpool \
zstreamdump \
ztest \
/lib/udev/vdev_id \
/lib/udev/zvol_id \
findmnt

Loading…
Cancel
Save