summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/cdrom.eclass')
-rw-r--r--eclass/cdrom.eclass12
1 files changed, 11 insertions, 1 deletions
diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass
index d2b9d4e1d9d5..94eda0815073 100644
--- a/eclass/cdrom.eclass
+++ b/eclass/cdrom.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cdrom.eclass,v 1.2 2012/01/13 22:35:16 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cdrom.eclass,v 1.3 2012/01/15 14:13:46 ulm Exp $
# @ECLASS: cdrom.eclass
# @MAINTAINER:
@@ -20,6 +20,16 @@ ___ECLASS_ONCE_CDROM=1
inherit portability
+# @ECLASS-VARIABLE: CDROM_DISABLE_PROPERTIES
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# By default, the eclass sets PROPERTIES="interactive".
+# A non-empty value of CDROM_DISABLE_PROPERTIES suppresses this.
+
+if [[ -z ${CDROM_DISABLE_PROPERTIES} ]]; then
+ PROPERTIES="interactive"
+fi
+
# @FUNCTION: cdrom_get_cds
# @USAGE: <file on cd1> [file on cd2] [file on cd3] [...]
# @DESCRIPTION: