summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Quinn <kevquinn@gentoo.org>2007-05-07 09:24:16 +0000
committerKevin F. Quinn <kevquinn@gentoo.org>2007-05-07 09:24:16 +0000
commit15b08b262c0a623d29223f8779aae0ac25988314 (patch)
treed26c7dbe1df0a27262d082cef85eb06b87e4d1df /eclass/pax-utils.eclass
parentppc stable (diff)
downloadhistorical-15b08b262c0a623d29223f8779aae0ac25988314.tar.gz
historical-15b08b262c0a623d29223f8779aae0ac25988314.tar.bz2
historical-15b08b262c0a623d29223f8779aae0ac25988314.zip
bug #177386 - log headings with elog instead of einfo, so that recorded logs
clearly state what type of marking was done on the listed files. Thanks to Yaroslav Isakov for the suggestion.
Diffstat (limited to 'eclass/pax-utils.eclass')
-rw-r--r--eclass/pax-utils.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/pax-utils.eclass b/eclass/pax-utils.eclass
index 212628b4a975..84b60f5def0b 100644
--- a/eclass/pax-utils.eclass
+++ b/eclass/pax-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/pax-utils.eclass,v 1.6 2007/04/24 18:27:11 kevquinn Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/pax-utils.eclass,v 1.7 2007/05/07 09:24:16 kevquinn Exp $
# Author:
# Kevin F. Quinn <kevquinn@gentoo.org>
@@ -88,7 +88,7 @@ pax-mark() {
shift
# Try chpax, for (deprecated) EI legacy marking.
if type -p chpax > /dev/null && hasq EI ${PAX_MARKINGS}; then
- einfo "Legacy EI PaX marking -${flags}"
+ elog "Legacy EI PaX marking -${flags}"
_pax_list_files elog "$@"
for f in "$@"; do
chpax -${flags} "${f}" && continue
@@ -100,7 +100,7 @@ pax-mark() {
# over scanelf.
if type -p paxctl > /dev/null && hasq PT ${PAX_MARKINGS}; then
# Try paxctl, the upstream supported tool.
- einfo "PT PaX marking -${flags}"
+ elog "PT PaX marking -${flags}"
_pax_list_files elog "$@"
for f in "$@"; do
# First, try modifying the existing PAX_FLAGS header
@@ -129,7 +129,7 @@ pax-mark() {
# Try scanelf, the Gentoo swiss-army knife ELF utility
# Currently this sets EI and PT if it can, no option to
# control what it does.
- einfo "Fallback PaX marking -${flags}"
+ elog "Fallback PaX marking -${flags}"
_pax_list_files elog "$@"
scanelf -Xxz ${flags} "$@"
elif [[ ${PAX_MARKINGS} != "none" ]]; then