diff options
author | Martin Schrodt | 2022-05-06 23:09:26 +0300 |
---|---|---|
committer | Martin Schrodt | 2022-05-06 23:14:21 +0300 |
commit | c0716f9651461a50383a69dd607feea36ddbca0a (patch) | |
tree | 936d12194dfc38c8fb8794ec5a061ec83425068c | |
parent | 65899e5c001a6b012c7bc1b0c0b4c7284c9d4a31 (diff) | |
download | aur-c0716f9651461a50383a69dd607feea36ddbca0a.tar.gz |
add .SRCINFO and nvme-cli-git.install
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | nvme-cli-git.install | 8 |
2 files changed, 18 insertions, 4 deletions
@@ -1,17 +1,23 @@ +# Generated by mksrcinfo v8 +# Fri May 6 20:09:04 UTC 2022 pkgbase = nvme-cli-git pkgdesc = NVM-Express user space tooling for Linux - pkgver = r1076.eb58f54 + pkgver = r2646.29c66608 pkgrel = 1 url = https://github.com/linux-nvme/nvme-cli + install = nvme-cli-git.install arch = i686 arch = x86_64 license = GPL + makedepends = systemd + makedepends = meson makedepends = git - depends = systemd + depends = util-linux + depends = libsystemd provides = nvme-cli conflicts = nvme-cli - source = git://github.com/linux-nvme/nvme-cli.git - md5sums = SKIP + source = nvme-cli-git::git+https://github.com/linux-nvme/nvme-cli.git + sha256sums = SKIP pkgname = nvme-cli-git diff --git a/nvme-cli-git.install b/nvme-cli-git.install new file mode 100644 index 000000000000..6babfeb69613 --- /dev/null +++ b/nvme-cli-git.install @@ -0,0 +1,8 @@ +post_install(){ + if [ ! -f /etc/nvme/hostnqn ]; then + nvme gen-hostnqn > /etc/nvme/hostnqn + fi + if [ ! -f /etc/nvme/hostid ]; then + uuidgen > /etc/nvme/hostid + fi +} |