diff options
author | pyamsoft | 2022-10-18 20:46:32 -0700 |
---|---|---|
committer | pyamsoft | 2022-10-18 20:46:32 -0700 |
commit | 6519507196d94d4c4d7f08522fde60ac9280bd17 (patch) | |
tree | eaf8331ad71b973b7af50eefa81b0746d6898921 | |
parent | e0825014a017763ad5079fd311af3c9b7c438b8d (diff) | |
download | aur-6519507196d94d4c4d7f08522fde60ac9280bd17.tar.gz |
Fix service file enable
-rw-r--r-- | 01-fix-sbin.patch | 12 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 16 insertions, 2 deletions
diff --git a/01-fix-sbin.patch b/01-fix-sbin.patch new file mode 100644 index 000000000000..33a9fb915af3 --- /dev/null +++ b/01-fix-sbin.patch @@ -0,0 +1,12 @@ +--- a/amd-disable-c6.service 2022-10-18 20:37:43.913530567 -0700 ++++ b/amd-disable-c6.service 2022-10-18 20:37:54.603628465 -0700 +@@ -6,7 +6,7 @@ + + [Service] + Type=oneshot +-ExecStart=/usr/sbin/amd-disable-c6 --disable_c6_retry ++ExecStart=/usr/bin/amd-disable-c6 --disable_c6_retry + + [Install] + -Alias=amd-disable-c6 + WantedBy=multi-user.target @@ -32,10 +32,11 @@ url="https://github.com/joakimkistowski/amd-disable-c6.git" # pulled from git so skip the verification check ## # shellcheck disable=SC2034 -source=("${_gitname}::git+${url}#branch=master" "00-fix-sbin.patch") +source=("${_gitname}::git+${url}#branch=master" "00-fix-sbin.patch" "01-fix-sbin.patch") # shellcheck disable=SC2034 sha256sums=('SKIP' - 'c1bb428d02994f872e4be2f282ffd5c453f4ebc714a79fc8337032d9d02c1a4a') + 'c1bb428d02994f872e4be2f282ffd5c453f4ebc714a79fc8337032d9d02c1a4a' + 'bfb1e396caf7b4a84a2e2987b884fe1e2dd4bad626f1f813d0b39f9539cddef0') pkgver() { # shellcheck disable=SC2154 @@ -56,6 +57,7 @@ prepare() { # Apply patches patch -p1 -i "${srcdir}/00-fix-sbin.patch" + patch -p1 -i "${srcdir}/01-fix-sbin.patch" } package() { |