summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBazaah2022-12-21 16:53:45 +0000
committerBazaah2022-12-23 20:48:18 +0000
commit69a91a06275cbbd5d44c9e5c7d2ba4c9950bfb19 (patch)
tree699132c418da7ba77fc9e666a57a35ba56e1ec7d
parentd7a50f6e054f26bebbe936205bce402335ae9d0f (diff)
downloadaur-69a91a06275cbbd5d44c9e5c7d2ba4c9950bfb19.tar.gz
pkgbuild: package_ceph backup /etc/ conf
Issue: https://github.com/bazaah/aur-ceph/issues/9 Backport-from: https://git.st8l.com/luxolus/aur-ceph/commit/50b8266
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 8 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6cc75594e95c..35932971192a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -44,6 +44,10 @@ pkgname = ceph-bin
optdepends = nvme-cli: disk monitoring for NVMe drives
provides = ceph=17.2.5-4
conflicts = ceph
+ backup = etc/logrotate.d/ceph
+ backup = etc/udev/rules.d/50-ceph-rbd.rules
+ backup = etc/sysctl.d/90-ceph-osd.conf
+ backup = etc/sudoers.d/90-ceph
pkgname = ceph-libs-bin
depends = boost-libs
diff --git a/PKGBUILD b/PKGBUILD
index 8fccf821bef2..85cf81b9ad8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,6 +40,10 @@ package_ceph-bin() {
'ncurses'
'nss' 'oath-toolkit' 'python'
'snappy' 'sudo' 'systemd-libs' 'lua' 'gawk')
+ backup=('etc/logrotate.d/ceph'
+ 'etc/udev/rules.d/50-ceph-rbd.rules'
+ 'etc/sysctl.d/90-ceph-osd.conf'
+ 'etc/sudoers.d/90-ceph')
optdepends=('smartmontools: disk monitoring via S.M.A.R.T'
'nvme-cli: disk monitoring for NVMe drives')
provides=("ceph=${pkgver}-${pkgrel}")