Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 775718 Details for
Bug 841677
=sys-apps/etckeeper-1.18.16-r1: double prefix files installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
prefix patch attempt
0001-sys-apps-etckeeper-fix-unit-installation-on-prefix.patch (text/plain), 1.15 KB, created by
Georgy Yakovlev
on 2022-05-01 05:00:11 UTC
(
hide
)
Description:
prefix patch attempt
Filename:
MIME Type:
Creator:
Georgy Yakovlev
Created:
2022-05-01 05:00:11 UTC
Size:
1.15 KB
patch
obsolete
>From f682e26dd314970ad55e9d1e78b9031cfc413258 Mon Sep 17 00:00:00 2001 >From: Georgy Yakovlev <gyakovlev@gentoo.org> >Date: Sat, 30 Apr 2022 21:58:41 -0700 >Subject: [PATCH] sys-apps/etckeeper: fix unit installation on prefix > >Closes: https://bugs.gentoo.org/841677 >Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> >--- > sys-apps/etckeeper/etckeeper-1.18.16-r1.ebuild | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/sys-apps/etckeeper/etckeeper-1.18.16-r1.ebuild b/sys-apps/etckeeper/etckeeper-1.18.16-r1.ebuild >index 7dc98bd98df..5d87334f1dc 100644 >--- a/sys-apps/etckeeper/etckeeper-1.18.16-r1.ebuild >+++ b/sys-apps/etckeeper/etckeeper-1.18.16-r1.ebuild >@@ -35,9 +35,11 @@ PATCHES=( "${FILESDIR}"/${PN}-1.18.14-gentoo.patch ) > src_prepare() { > default > hprefixify *.d/* etckeeper >+ local systemdunitdir="$(systemd_get_systemunitdir)" >+ systemdunitdir="${systemdunitdir#${EPREFIX%/}}" > sed -i \ > -e s'@zsh/vendor-completions@zsh/site-functions@' \ >- -e s"@/lib/systemd/system@"$(systemd_get_systemunitdir)"@" \ >+ -e s"@/lib/systemd/system@"${systemdunitdir}"@" \ > Makefile || die > rm -v init.d/60darcs-deleted-symlinks || die > } >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 841677
: 775718