mirror of
https://aur.archlinux.org/zfs-utils.git
synced 2025-04-02 21:15:02 +02:00
Fix for permissions being overwritten on /dev/zfs
This commit is contained in:
parent
0719b64058
commit
16fd48afa7
3 changed files with 14 additions and 2 deletions
5
.SRCINFO
5
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = zfs-utils
|
pkgbase = zfs-utils
|
||||||
pkgdesc = Userspace utilities for the Zettabyte File System.
|
pkgdesc = Userspace utilities for the Zettabyte File System.
|
||||||
pkgver = 2.1.12
|
pkgver = 2.1.12
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://zfsonlinux.org/
|
url = https://zfsonlinux.org/
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -12,16 +12,19 @@ pkgbase = zfs-utils
|
||||||
backup = etc/zfs/zed.d/zed.rc
|
backup = etc/zfs/zed.d/zed.rc
|
||||||
source = https://github.com/zfsonlinux/zfs/releases/download/zfs-2.1.12/zfs-2.1.12.tar.gz
|
source = https://github.com/zfsonlinux/zfs/releases/download/zfs-2.1.12/zfs-2.1.12.tar.gz
|
||||||
source = https://github.com/zfsonlinux/zfs/releases/download/zfs-2.1.12/zfs-2.1.12.tar.gz.asc
|
source = https://github.com/zfsonlinux/zfs/releases/download/zfs-2.1.12/zfs-2.1.12.tar.gz.asc
|
||||||
|
source = zfs-node-permission.conf
|
||||||
source = zfs.initcpio.install
|
source = zfs.initcpio.install
|
||||||
source = zfs.initcpio.hook
|
source = zfs.initcpio.hook
|
||||||
validpgpkeys = 4F3BA9AB6D1F8D683DC2DFB56AD860EED4598027
|
validpgpkeys = 4F3BA9AB6D1F8D683DC2DFB56AD860EED4598027
|
||||||
validpgpkeys = C33DF142657ED1F7C328A2960AB9E991C6AF658B
|
validpgpkeys = C33DF142657ED1F7C328A2960AB9E991C6AF658B
|
||||||
sha256sums = 64daa26aed3e12c931f6f4413d7527c4ebdb8da35416b356152b5f9fdd4c6e6d
|
sha256sums = 64daa26aed3e12c931f6f4413d7527c4ebdb8da35416b356152b5f9fdd4c6e6d
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
sha256sums = 7ad45fd291aa582639725f14d88d7da5bd3d427012b25bddbe917ca6d1a07c1a
|
||||||
sha256sums = 2f09c742287f4738c7c09a9669f8055cd63d3b9474cd1f6d9447152d11a1b913
|
sha256sums = 2f09c742287f4738c7c09a9669f8055cd63d3b9474cd1f6d9447152d11a1b913
|
||||||
sha256sums = 15b5acea44225b4364ec6472a08d3d48666d241fe84c142e1171cd3b78a5584f
|
sha256sums = 15b5acea44225b4364ec6472a08d3d48666d241fe84c142e1171cd3b78a5584f
|
||||||
b2sums = 652780e6bf7b63f45909110726d53795fada034f6044c8393fa3980e30217ada6931e3c2bb57210719e3c78c16f973f69287b7e2b475601f4ce12d701d9d96ae
|
b2sums = 652780e6bf7b63f45909110726d53795fada034f6044c8393fa3980e30217ada6931e3c2bb57210719e3c78c16f973f69287b7e2b475601f4ce12d701d9d96ae
|
||||||
b2sums = SKIP
|
b2sums = SKIP
|
||||||
|
b2sums = 7eb3408b1354a4dd504000739101afc7ec0aed1afcdfa029552bf6989e9a8cd4a95b3d3563b3fb7902afa30a80fb01a3f5a2d5af82f9c734c48b5cc23aac25ca
|
||||||
b2sums = cb774227f157573f960bdb345e5b014c043a573c987d37a1db027b852d77a5eda1ee699612e1d8f4a2770897624889f1a3808116a171cc4c796a95e3caa43012
|
b2sums = cb774227f157573f960bdb345e5b014c043a573c987d37a1db027b852d77a5eda1ee699612e1d8f4a2770897624889f1a3808116a171cc4c796a95e3caa43012
|
||||||
b2sums = 779c864611249c3f21d1864508d60cfe5e0f5541d74fb3093c6bdfa56be2c76f386ac1690d363beaee491c5132f5f6dbc01553aa408cda579ebca74b0e0fd1d0
|
b2sums = 779c864611249c3f21d1864508d60cfe5e0f5541d74fb3093c6bdfa56be2c76f386ac1690d363beaee491c5132f5f6dbc01553aa408cda579ebca74b0e0fd1d0
|
||||||
|
|
||||||
|
|
10
PKGBUILD
10
PKGBUILD
|
@ -4,21 +4,24 @@
|
||||||
|
|
||||||
pkgname=zfs-utils
|
pkgname=zfs-utils
|
||||||
pkgver=2.1.12
|
pkgver=2.1.12
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Userspace utilities for the Zettabyte File System."
|
pkgdesc="Userspace utilities for the Zettabyte File System."
|
||||||
arch=("i686" "x86_64" "aarch64")
|
arch=("i686" "x86_64" "aarch64")
|
||||||
url="https://zfsonlinux.org/"
|
url="https://zfsonlinux.org/"
|
||||||
license=('CDDL')
|
license=('CDDL')
|
||||||
optdepends=('python: for arcstat/arc_summary/dbufstat')
|
optdepends=('python: for arcstat/arc_summary/dbufstat')
|
||||||
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${pkgver}/zfs-${pkgver}.tar.gz"{,.asc}
|
source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-${pkgver}/zfs-${pkgver}.tar.gz"{,.asc}
|
||||||
|
"zfs-node-permission.conf"
|
||||||
"zfs.initcpio.install"
|
"zfs.initcpio.install"
|
||||||
"zfs.initcpio.hook")
|
"zfs.initcpio.hook")
|
||||||
sha256sums=('64daa26aed3e12c931f6f4413d7527c4ebdb8da35416b356152b5f9fdd4c6e6d'
|
sha256sums=('64daa26aed3e12c931f6f4413d7527c4ebdb8da35416b356152b5f9fdd4c6e6d'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
|
'7ad45fd291aa582639725f14d88d7da5bd3d427012b25bddbe917ca6d1a07c1a'
|
||||||
'2f09c742287f4738c7c09a9669f8055cd63d3b9474cd1f6d9447152d11a1b913'
|
'2f09c742287f4738c7c09a9669f8055cd63d3b9474cd1f6d9447152d11a1b913'
|
||||||
'15b5acea44225b4364ec6472a08d3d48666d241fe84c142e1171cd3b78a5584f')
|
'15b5acea44225b4364ec6472a08d3d48666d241fe84c142e1171cd3b78a5584f')
|
||||||
b2sums=('652780e6bf7b63f45909110726d53795fada034f6044c8393fa3980e30217ada6931e3c2bb57210719e3c78c16f973f69287b7e2b475601f4ce12d701d9d96ae'
|
b2sums=('652780e6bf7b63f45909110726d53795fada034f6044c8393fa3980e30217ada6931e3c2bb57210719e3c78c16f973f69287b7e2b475601f4ce12d701d9d96ae'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
|
'7eb3408b1354a4dd504000739101afc7ec0aed1afcdfa029552bf6989e9a8cd4a95b3d3563b3fb7902afa30a80fb01a3f5a2d5af82f9c734c48b5cc23aac25ca'
|
||||||
'cb774227f157573f960bdb345e5b014c043a573c987d37a1db027b852d77a5eda1ee699612e1d8f4a2770897624889f1a3808116a171cc4c796a95e3caa43012'
|
'cb774227f157573f960bdb345e5b014c043a573c987d37a1db027b852d77a5eda1ee699612e1d8f4a2770897624889f1a3808116a171cc4c796a95e3caa43012'
|
||||||
'779c864611249c3f21d1864508d60cfe5e0f5541d74fb3093c6bdfa56be2c76f386ac1690d363beaee491c5132f5f6dbc01553aa408cda579ebca74b0e0fd1d0')
|
'779c864611249c3f21d1864508d60cfe5e0f5541d74fb3093c6bdfa56be2c76f386ac1690d363beaee491c5132f5f6dbc01553aa408cda579ebca74b0e0fd1d0')
|
||||||
validpgpkeys=('4F3BA9AB6D1F8D683DC2DFB56AD860EED4598027' # Tony Hutter (GPG key for signing ZFS releases) <hutter2@llnl.gov>
|
validpgpkeys=('4F3BA9AB6D1F8D683DC2DFB56AD860EED4598027' # Tony Hutter (GPG key for signing ZFS releases) <hutter2@llnl.gov>
|
||||||
|
@ -64,6 +67,11 @@ package() {
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
install -D -m644 contrib/bash_completion.d/zfs "${pkgdir}"/usr/share/bash-completion/completions/zfs
|
install -D -m644 contrib/bash_completion.d/zfs "${pkgdir}"/usr/share/bash-completion/completions/zfs
|
||||||
|
|
||||||
|
# Fix for permissions being overwritten on /dev/zfs. Related issues:
|
||||||
|
# https://github.com/openzfs/zfs/issues/15146
|
||||||
|
# https://github.com/systemd/systemd/issues/28653
|
||||||
|
install -D -m644 "${srcdir}"/zfs-node-permission.conf "${pkgdir}"/usr/lib/tmpfiles.d/zfs-node-permission.conf
|
||||||
|
|
||||||
# Remove uneeded files
|
# Remove uneeded files
|
||||||
rm -r "${pkgdir}"/etc/init.d
|
rm -r "${pkgdir}"/etc/init.d
|
||||||
rm -r "${pkgdir}"/etc/sudoers.d #???
|
rm -r "${pkgdir}"/etc/sudoers.d #???
|
||||||
|
|
1
zfs-node-permission.conf
Normal file
1
zfs-node-permission.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
z /dev/zfs 0666 - -
|
Loading…
Add table
Reference in a new issue