summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2018-01-27 14:41:12 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2018-03-07 01:30:12 +0000
commite786d881b20d42079ef05261de4e0df1e9896cc9 (patch)
treea5888d87d678463b9f09ba495c2f56286c6c9b70 /eclass
parenteclass/linux-build: Define CN with ebuild version, set OU with hostname (diff)
downloadportage-e786d881b20d42079ef05261de4e0df1e9896cc9.tar.xz
eclass/linux-build: Use PORTAGE_BUILD_USER since PORTAGE_USERNAME is
empty
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-build.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass
index f9c8d8df..e4cde419 100644
--- a/eclass/linux-build.eclass
+++ b/eclass/linux-build.eclass
@@ -250,7 +250,7 @@ _linux-build_src_prepare_build() {
O = Pants On
OU = ${KBUILD_BUILD_HOST:-${HOSTNAME}}
CN = ${CATEGORY}/${PF}
- emailAddress = ${KBUILD_BUILD_USER:-${PORTAGE_USERNAME}}@${KBUILD_BUILD_HOST:-${HOSTNAME}}"
+ emailAddress = ${KBUILD_BUILD_USER:-${PORTAGE_BUILD_USER}}@${KBUILD_BUILD_HOST:-${HOSTNAME}}"
[ ${PF}_exts ]
basicConstraints=critical,CA:FALSE
@@ -299,7 +299,7 @@ linux-build_src_prepare() {
KBUILD_OUTPUT="${BUILDDIR}"
KCONFIG_CONFIG="${BUILDDIR}/.config"
- KBUILD_BUILD_USER="${KBUILD_BUILD_USER:-${PORTAGE_USERNAME}}"
+ KBUILD_BUILD_USER="${KBUILD_BUILD_USER:-${PORTAGE_BUILD_USER}}"
)
copt=(