Diff btrfsmaintenance-0.4.2 with a btrfsmaintenance-0.5
/usr/portage/sys-fs/btrfsmaintenance/btrfsmaintenance-0.5.ebuild 2023-10-09 14:52:35.504368502 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 ~ppc64 x86" |
|
14 |
KEYWORDS="amd64 arm64 ~ppc64 x86" |
|
15 | 15 |
IUSE="systemd" |
16 | 16 | |
17 | 17 |
RDEPEND=" |
18 |
app-shells/bash |
|
19 |
sys-apps/util-linux |
|
18 | 20 |
sys-fs/btrfs-progs |
19 | 21 |
systemd? ( sys-apps/systemd ) |
20 | 22 |
!systemd? ( virtual/cron ) |
... | ... | |
22 | 24 | |
23 | 25 |
src_prepare() { |
24 | 26 |
# Fix config path into watching service |
25 |
sed -i 's%/etc/sysconfig/btrfsmaintenance%/etc/default/btrfsmaintenance%g' btrfsmaintenance-refresh.* || \ |
|
27 |
sed -i 's%/etc/sysconfig/btrfsmaintenance%/etc/default/btrfsmaintenance%g' btrfsmaintenance-refresh.* || |
|
26 | 28 |
die "Unable to patch btrfsmaintenance-refresh.*" |
29 |
rm btrfs-defrag-plugin.sh || die "cannot remove btrfs-defrag-plugin.sh" # not necessary on gentoo systems |
|
27 | 30 |
default |
28 | 31 |
} |
29 | 32 |