summaryrefslogtreecommitdiff
path: root/ssacli
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-12-16 23:26:14 +0100
committerErich Eckner <git@eckner.net>2018-12-29 14:25:21 +0100
commitc7b1f8307a187c359a5d7a251f288b01f509b0eb (patch)
tree50cd9fec1152bdeff949d4373ac005d8c2ab20ee /ssacli
parent73893d6199b1da56e5d42d0e16f88578cf7ff2f4 (diff)
downloadarchlinuxewe.git.save-c7b1f8307a187c359a5d7a251f288b01f509b0eb.tar.xz
ssacli: install /usr/lib/modules-load.d/ssacli.conf, too
Diffstat (limited to 'ssacli')
-rw-r--r--ssacli/PKGBUILD9
-rw-r--r--ssacli/ssacli.conf2
2 files changed, 8 insertions, 3 deletions
diff --git a/ssacli/PKGBUILD b/ssacli/PKGBUILD
index 2f9038ba..77165fb4 100644
--- a/ssacli/PKGBUILD
+++ b/ssacli/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ssacli
pkgver=3.30_14.0
-pkgrel=1
+pkgrel=2
pkgdesc="HP Command Line Smart Storage Administrator"
arch=(x86_64)
url="https://downloads.linux.hpe.com/SDR/downloads/mcp"
@@ -12,13 +12,16 @@ replaces=(hpacucli hpssacli)
groups=(hpproliant)
license=("CUSTOM")
-source=("https://downloads.linux.hpe.com/SDR/repo/mcp/centos/7/x86_64/current/$pkgname-${pkgver//_/-}.x86_64.rpm")
-sha256sums=('499f454e195eaa0b211f7118c3224a0a26fc5626677e26054e860137c2342c0f')
+source=("https://downloads.linux.hpe.com/SDR/repo/mcp/centos/7/x86_64/current/$pkgname-${pkgver//_/-}.x86_64.rpm"
+ 'ssacli.conf')
+sha256sums=('499f454e195eaa0b211f7118c3224a0a26fc5626677e26054e860137c2342c0f'
+ '236549070720861f9eeb88ff4355029f8a5bbbaf3d5f803c2d82935e89e85d48')
package() {
mv usr/{sbin,bin}
mv usr/{,share/}man
install -Dm644 opt/smartstorageadmin/ssacli/bin/ssacli.license "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+ install -Dm644 "$srcdir/ssacli.conf" "$pkgdir/usr/lib/modules-load.d/ssacli.conf"
rm opt/smartstorageadmin/ssacli/bin/ssacli.license
cp -a opt usr "$pkgdir"
}
diff --git a/ssacli/ssacli.conf b/ssacli/ssacli.conf
new file mode 100644
index 00000000..9d488194
--- /dev/null
+++ b/ssacli/ssacli.conf
@@ -0,0 +1,2 @@
+# Load sg module for ssacli
+sg