diff options
author | Andrew Shark | 2021-01-15 17:09:43 +0300 |
---|---|---|
committer | Andrew Shark | 2021-01-15 17:09:43 +0300 |
commit | ce9ca0aa6740978561a18b1515827409426aa758 (patch) | |
tree | 500b80751345bf28f7514e14cdf3a466acf05e31 | |
parent | 75e97d7dc1980bc83ad2892852f2b2d96de4a4d2 (diff) | |
download | aur-ce9ca0aa6740978561a18b1515827409426aa758.tar.gz |
Use default location for journal in config
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 10 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = supermicro-update-manager pkgdesc = manage the firmware and configuration for Supermicro motherboards pkgver = 2.5.1 - pkgrel = 1 + pkgrel = 2 url = https://www.supermicro.com/en/solutions/management-software/supermicro-update-manager arch = x86_64 license = custom: EULA @@ -2,7 +2,7 @@ pkgname=supermicro-update-manager pkgver=2.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="manage the firmware and configuration for Supermicro motherboards" arch=(x86_64) url="https://www.supermicro.com/en/solutions/management-software/supermicro-update-manager" @@ -22,9 +22,13 @@ __EVENTTARGET=ctl00%24CPCenter%24MyGridView&__EVENTARGUMENT=Action%241&ctl00_Tre package() { cd sum_"$pkgver"_Linux_x86_64 - install -D sumrc.sample "$pkgdir/etc/sumrc" - sed -i '1{s|.*|# To use this config invoke supermicro-update-manager with --rc_path=/etc/sumrc.|}' "$pkgdir/etc/sumrc" - sed -i '2{s|.*|# Alternatively, copy this file as .sumrc to your home directory or use needed parameters directly via command line.|}' "$pkgdir/etc/sumrc" + install -Dm766 sumrc.sample "$pkgdir/etc/sumrc" + sed -i '1{s|.*|# To use this config you should symlink to this file with "ln -s /etc/sumrc $HOME/.sumrc" command.|}' "$pkgdir/etc/sumrc" + sed -i '2{s|.*|# Alternatively, invoke supermicro-update-manager with "--rc_path=/etc/sumrc" parameter.|}' "$pkgdir/etc/sumrc" + sed -i 's|#journal_path = /home/administrator/journal/supermicro/test|journal_path = /var/log/supermicro-update-manager|' "$pkgdir/etc/sumrc" + sed -i 's|#journal_level = 0|journal_level = 6|' "$pkgdir/etc/sumrc" + + install -m757 -d "${pkgdir}"/var/log/supermicro-update-manager # acpica_bin folder: contains acpidump and acpiexec. I do not know when they are used, so did not packaged them. # driver folder: sum_bios.ko only needed if InBand SMI E7h support is not implemented in BIOS. I have not seen such systems, but if you have, please contact me and I will edit pkgbuild. @@ -34,7 +38,7 @@ package() { install -D PlatformFeatureSupportMatrix.pdf "$pkgdir/usr/share/doc/supermicro-update-manager/PlatformFeatureSupportMatrix.pdf" install -Dm755 sum "$pkgdir/usr/bin/supermicro-update-manager" # rename executable file to not conflict with gnu sum. - # policy_sample.xml: I do not know what it is and when needed. So did not packaged it (yet at least). + # policy_sample.xml: I did not packaged it (yet at least). msg2 "Warning! I did not explored all files extensively yet. Some files may be missing from original archive. See PKGBUILD for details." } |