Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 407264 Details for
Bug 555472
sys-fs/aufs3-20150622 - typo in branch id for fetching 3.14.21+ "aufs-standalone"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch that autodetects which patch branch to use
patch (text/plain), 1.45 KB, created by
Ian Stakenvicius (RETIRED)
on 2015-07-20 14:37:18 UTC
(
hide
)
Description:
ebuild patch that autodetects which patch branch to use
Filename:
MIME Type:
Creator:
Ian Stakenvicius (RETIRED)
Created:
2015-07-20 14:37:18 UTC
Size:
1.45 KB
patch
obsolete
>--- aufs3-3_p20150622.ebuild 2015-07-20 09:47:03.000000000 -0400 >+++ aufs3-3_p20150622-r1.ebuild 2015-07-20 10:30:57.000000000 -0400 >@@ -53,18 +53,6 @@ > > linux-mod_pkg_setup > >- if [[ "${KV_MINOR}" -gt "${PATCH_MAX_VER}" ]]; then >- PATCH_BRANCH="x-rcN" >- elif [[ "${KV_MINOR}" == "14" ]] && [[ "${KV_PATCH}" -ge "40" ]]; then >- PATCH_BRANCH="${KV_MINOR}".40+ >- elif [[ "${KV_MINOR}" == "14" ]] && [[ "${KV_PATCH}" -ge "21" ]]; then >- PATCH_BRANCH="${KV_MINOR}".21+ >- elif [[ "${KV_MINOR}" == "18" ]] && [[ "${KV_PATCH}" -ge "1" ]]; then >- PATCH_BRANCH="${KV_MINOR}".1+ >- else >- PATCH_BRANCH="${KV_MINOR}" >- fi >- > case ${KV_EXTRA} in > "") > elog "It seems you are using vanilla-sources with aufs3" >@@ -81,6 +69,24 @@ > pushd "${T}" &> /dev/null > unpack ${A} > cd ${PN}-standalone || die >+ >+ # choose the correct branch by inspecting the list in the package >+ if [[ "${KV_MINOR}" -gt "${PATCH_MAX_VER}" ]]; then >+ PATCH_BRANCH="x-rcN" >+ else >+ local i min pat branches >+ branches=$(git branch -a |grep 'remotes/origin/.*+' |sed -e 's#^.*remotes/origin/aufs3.##' |sort -rn) >+ for i in ${branches}; do >+ min=${i%.*} >+ pat=${i##*.} >+ if [[ ${KV_MINOR} == ${min} ]] && [[ ${KV_PATCH} -ge ${pat%+} ]]; then >+ PATCH_BRANCH=${i} >+ break; >+ fi >+ done >+ : ${PATCH_BRANCH:=${KV_MINOR}} >+ fi >+ > local module_branch=origin/${PN}.${PATCH_BRANCH} > einfo "Using ${module_branch} as patch source" > git checkout -q -b local-${PN}.${PATCH_BRANCH} ${module_branch} || die
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 555472
: 407264