diff options
Diffstat (limited to 'sys-apps/portage/files/portage-3.0.49-prefixify-init-script-shebangs.patch')
-rw-r--r-- | sys-apps/portage/files/portage-3.0.49-prefixify-init-script-shebangs.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sys-apps/portage/files/portage-3.0.49-prefixify-init-script-shebangs.patch b/sys-apps/portage/files/portage-3.0.49-prefixify-init-script-shebangs.patch deleted file mode 100644 index d4d050c1741c..000000000000 --- a/sys-apps/portage/files/portage-3.0.49-prefixify-init-script-shebangs.patch +++ /dev/null @@ -1,29 +0,0 @@ -https://gitweb.gentoo.org/proj/portage.git/commit/?id=6066bb766f43ca06a5b0f08baa5946ff678f0c29 - -From 6066bb766f43ca06a5b0f08baa5946ff678f0c29 Mon Sep 17 00:00:00 2001 -From: Benda Xu <orv@debian.org> -Date: Sun, 25 Jun 2023 17:03:00 +0800 -Subject: bin/install-qa-check.d/05prefix: prefixify init-script shebangs. - -Init scripts in /etc/init.d have OpenRC shebangs "#!/sbin/openrc-run". -They should be prefixified like a executable script in a Prefix. - -Signed-off-by: Benda Xu <heroxbd@gentoo.org> -Bug: https://bugs.gentoo.org/640658 -Closes: https://github.com/gentoo/portage/pull/1061 -Signed-off-by: Sam James <sam@gentoo.org> ---- a/bin/install-qa-check.d/05prefix -+++ b/bin/install-qa-check.d/05prefix -@@ -76,8 +76,8 @@ install_qa_check_prefix() { - fi - continue - fi -- # unprefixed shebang, is the script directly in ${PATH}? -- if [[ ":${PATH}:" == *":${fp}:"* ]] ; then -+ # unprefixed shebang, is the script directly in ${PATH} or an init script? -+ if [[ ":${PATH}:${EPREFIX}/etc/init.d:" == *":${fp}:"* ]] ; then - if [[ -e ${EROOT}${line[0]} || -e ${ED}${line[0]} ]] ; then - # is it unprefixed, but we can just fix it because a - # prefixed variant exists --- -cgit v1.2.3-18-g5258 |