summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-28 16:39:40 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-09-17 18:59:12 +0000
commit29aa8b049975db3491e772dbcc42edd2893abd45 (patch)
treef36fd91bfc0464da06b1536705a1937f119009e3 /morphlib/app.py
parentfd32e4b7920ddd3e5bc983b731c1712dafb37311 (diff)
downloadmorph-29aa8b049975db3491e772dbcc42edd2893abd45.tar.gz
Remove --staging-chroot, --staging-filler options
This also removes the long-obsolete code to install staging fillers in the staging area. We've not allowed users to do that for ages now.
Diffstat (limited to 'morphlib/app.py')
-rw-r--r--morphlib/app.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 642dd241..0890a786 100644
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -162,19 +162,6 @@ class Morph(cliapp.Application):
group=group_storage,
default='4G')
- # These cannot be removed just yet because existing morph.conf files
- # would fail to parse.
- group_obsolete = 'Obsolete Options'
- self.settings.boolean(['staging-chroot'],
- 'build things in an isolated chroot '
- '(default: true)',
- default=True,
- group=group_obsolete)
- self.settings.string_list(['staging-filler'],
- 'use FILE as contents of build chroot',
- metavar='FILE',
- group=group_obsolete)
-
def check_time(self):
# Check that the current time is not far in the past.
if time.localtime(time.time()).tm_year < 2012:
@@ -187,18 +174,6 @@ class Morph(cliapp.Application):
def process_args(self, args):
self.check_time()
- # Handle obsolete options
- if self.settings['staging-chroot'] is not True:
- raise cliapp.AppException(
- 'The "staging-chroot" option has been set to False. This '
- 'option is obsolete and should be left as the default (True).')
- if self.settings['staging-filler']:
- self.status(msg='WARNING! A staging filler was specified. Staging '
- 'fillers are deprecated and may break new builds. You '
- 'should only specify this option if you are building '
- 'a system based on a version of Baserock older than '
- 'Baserock 6.')
-
if self.settings['build-ref-prefix'] is None:
if self.settings['trove-id']:
self.settings['build-ref-prefix'] = os.path.join(