summaryrefslogtreecommitdiff
path: root/bin/update/signing.py
blob: c0b43ce91536fc02583ff45a876c910d76282ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from tools import make_complete_mar_name

import os
import subprocess
import path

def sign_mar_file(target_dir, config, mar_file, filename_prefix):
    signed_mar_file = make_complete_mar_name(target_dir, filename_prefix + '_signed')
    mar_executable = os.environ.get('MAR', 'mar')
    subprocess.check_call([mar_executable, '-C', path.convert_to_native(target_dir), '-d', path.convert_to_native(config.certificate_path), '-n', config.certificate_name, '-s', path.convert_to_native(mar_file), path.convert_to_native(signed_mar_file)])

    os.rename(signed_mar_file, mar_file)
retrofit std::exception into overriding exception specsStephan Bergmann 2013-11-05fixincludeguards.sh: swThomas Arnhold 2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák 2012-11-30re-base on ALv2 code. Includes:Michael Meeks 2012-03-26reduce over use of static OUStringsCaolán McNamara 2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth 2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun Mi...Jens-Heiner Rechtien 2009-09-18new and removed filesNoel Power