equal
deleted
inserted
replaced
|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of the License "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 |
|
17 |
|
18 |
|
19 echo makesis |
|
20 cd %EPOCROOT%epoc32\WINSCW\c\tups\data\%2\ |
|
21 makesis %3.pkg %4_unsigned.sis |
|
22 |
|
23 echo signsis |
|
24 if "%5"=="ROOT5CA" signsis %4_unsigned.sis %4.sis %SECURITYSOURCEDIR%\testframework\testcertificates\ups\test\root5ca\ca.pem %SECURITYSOURCEDIR%\testframework\testcertificates\ups\test\root5ca\ca.key.pem |
|
25 if "%5"=="ALL" signsis %4_unsigned.sis %4.sis %SECURITYSOURCEDIR%\testframework\testcertificates\ups\test\symbiantestallcapabilitiesca\symbiantestallcapabilitiesca.pem %SECURITYSOURCEDIR%\testframework\testcertificates\ups\test\symbiantestallcapabilitiesca\cakey.pem |
|
26 if "%5"=="TESTROOT" signsis %4_unsigned.sis %4.sis %SECURITYSOURCEDIR%\testframework\testcertificates\ups\test\symbiantestrootcadsa\ca.pem %SECURITYSOURCEDIR%\testframework\testcertificates\ups\test\symbiantestrootcadsa\ca.key.pem |
|
27 if "%5"=="SELF" signsis %4_unsigned.sis %4.sis %SECURITYSOURCEDIR%\testframework\testcertificates\ups\test\certificatesnotinstore\selfsigned_cert.pem %SECURITYSOURCEDIR%\testframework\testcertificates\ups\test\certificatesnotinstore\selfsigned_key.pem |
|
28 |
|
29 if "%1"=="WINSCW" goto COPYWINSCW; |
|
30 if "%1"=="ARMV5" goto COPYARMV5; |
|
31 |
|
32 :COPYWINSCW |
|
33 |
|
34 echo Copy winscw sis to emulator drive or armv5 to data z tree |
|
35 copy /y %4.sis %EPOCROOT%epoc32\release\%1\%2\z\tups\integ\packages\%4.sis |
|
36 goto clean; |
|
37 |
|
38 |
|
39 :COPYARMV5 |
|
40 echo Copy winscw sis to emulator drive or armv5 to data z tree |
|
41 copy /y %4.sis %EPOCROOT%epoc32\data\z\tups\integ\packages\%4.sis |
|
42 |
|
43 |
|
44 goto clean; |
|
45 |
|
46 :clean |
|
47 del /q %4_unsigned.sis |
|
48 del /q %4.sis |
|
49 |
|
50 goto exit; |
|
51 |
|
52 :exit |
|
53 |