summaryrefslogtreecommitdiff
path: root/eclass/linux-build.eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2021-05-02 20:22:48 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2021-05-02 20:22:48 +0100
commit256fcfce1d4cf26d41186e960b332c57a281c56d (patch)
tree4ad0f78c24cc1240897ef60aee1be2460b8c7370 /eclass/linux-build.eclass
parentsys-firmware/gnuk: version bump (diff)
downloadportage-256fcfce1d4cf26d41186e960b332c57a281c56d.tar.xz
eclass/linux-build: print the actual version of the file restored instead of the destination
Diffstat (limited to 'eclass/linux-build.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 2e636a95..235e2ea0 100644
--- a/eclass/linux-build.eclass
+++ b/eclass/linux-build.eclass
@@ -161,7 +161,7 @@ _linux-build_pkg_setup-build-config() {
if [[ -e "${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${_v}" ]] ; then
eend 0
- einfo "Restoring configuration from ${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${PF}"
+ einfo "Restoring configuration from ${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${_v}"
cp "${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${_v}" \
"${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${PF}" \
|| die "Failed to copy ${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${_v}"
@@ -185,7 +185,7 @@ _linux-build_pkg_setup-build-x509() {
eend 0
mkdir "${T}/certs"
- einfo "Restoring x509 pair from ${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${PF}"
+ einfo "Restoring x509 pair from ${PORTAGE_CONFIGROOT%/}/etc/portage/savedconfig/${CATEGORY}/${_v}"
cp --preserve=mode,ownership \
"${PORTAGE_CONFIGROOT%/}/etc/ssl/private/${_v}.pem" "${T}/certs/signing_key.pem" \
|| die "Failed to copy ${PORTAGE_CONFIGROOT%/}/etc/ssl/private/${_v}.pem"