summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2018-01-27 14:40:20 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2018-03-07 01:30:11 +0000
commitb731d3abe0fae48d3f9dc833a9e8a38a0479de69 (patch)
tree0c509cfcdbec9ac428f858f8a037df75b9ddc832
parentsys-firmware/gnuk: Version bump (diff)
downloadportage-b731d3abe0fae48d3f9dc833a9e8a38a0479de69.tar.xz
eclass/linux-build: Define CN with ebuild version, set OU with hostname
-rw-r--r--eclass/linux-build.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass
index 82017a1c..f9c8d8df 100644
--- a/eclass/linux-build.eclass
+++ b/eclass/linux-build.eclass
@@ -248,7 +248,8 @@ _linux-build_src_prepare_build() {
[ ${PF}_subj ]
O = Pants On
- CN = ${KBUILD_BUILD_HOST:-${HOSTNAME}}
+ OU = ${KBUILD_BUILD_HOST:-${HOSTNAME}}
+ CN = ${CATEGORY}/${PF}
emailAddress = ${KBUILD_BUILD_USER:-${PORTAGE_USERNAME}}@${KBUILD_BUILD_HOST:-${HOSTNAME}}"
[ ${PF}_exts ]