minor updates for preos

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-11-29 16:02:00 +01:00
parent 65cab0d0e8
commit adab987994
2 changed files with 4 additions and 2 deletions

View file

@ -42,7 +42,7 @@ class PreOS(object):
self.options = [ "--include=openssh-server", self.options = [ "--include=openssh-server",
"--arch=%s" % self.arch ] "--arch=%s" % self.arch ]
def run(self): def bootstrap(self):
cmd = [ self.command ] cmd = [ self.command ]
cmd.extend(self.options) cmd.extend(self.options)
cmd.append(self.suite) cmd.append(self.suite)
@ -52,6 +52,8 @@ class PreOS(object):
subprocess.call(cmd) subprocess.call(cmd)
def run(self):
self.bootstrap()
@classmethod @classmethod
def commandline(cls, args): def commandline(cls, args):

View file

@ -1,2 +1,2 @@
- debootstrap for the moment - debootstrap for the moment
- - add triggers: https://github.com/telmich/cdist/issues/214