def build(self): data = raw_input( 'Are you sure you want to override %(device)s ? ' % self.paths) if not data.strip().lower() == 'yes': raise CommandAborted() print 'Copying...' run('sudo dd if=%(destination_img)s of=%(device)s' % self.paths)
def build(self): data = raw_input('Are you sure you want to override %(device)s ? ' % self.paths) if not data.strip().lower() == 'yes': raise CommandAborted() print 'Copying...' run('sudo dd if=%(destination_img)s of=%(device)s' % self.paths)
def build(self): data = dict(self.settings) data.update(self.paths) run( 'sudo mount -o loop,offset=%(image_address)d %(destination_img)s %(mount_dir)s' % data)
def build(self): data = dict(self.settings) data.update(self.paths) run('ssh %(pi_login)s@%(pi_host)s -t "%(remote_initscript)s"' %data)
def build(self): run('sudo cp %(public_key)s %(mounted_authorized_keys)s' % self.paths) run('sudo chmod 700 %s' % (self.output_file,))
def build(self): run('sudo mkdir %s' % (self.output_file,)) run('sudo chmod 700 %s' % (self.output_file,))
def build(self): run('cp -r inner/* %s' % (InnerDirectory().output_file,))
def build_flag(self): run('pacman -Syu --noconfirm')
def build(self): run('yaourt -S --noconfirm %s' % (self.package_name,))
def build_flag(self): run('systemctl enable xbmc')
def build(self): run('pacman -S yaourt --noconfirm')
def build(self): data = dict(self.settings) data.update(self.paths) run('sudo mount -o loop,offset=%(image_address)d %(destination_img)s %(mount_dir)s' % data)
def build(self): data = dict(self.settings) data.update(self.paths) run('ssh %(pi_login)s@%(pi_host)s -t "%(remote_initscript)s"' % data)
def build(self): run('sudo cp %(public_key)s %(mounted_authorized_keys)s' % self.paths) run('sudo chmod 700 %s' % (self.output_file, ))
def build(self): run('sudo mkdir %s' % (self.output_file, )) run('sudo chmod 700 %s' % (self.output_file, ))
def build(self): run('cp -r inner/* %s' % (InnerDirectory().output_file, ))