summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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