secureswitools/swisistools/test/testmakesis/inc092755.bat
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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 @echo off
       
    17 
       
    18 SET CERTS=%SECURITYSOURCEDIR%\installationservices\switestfw\testcertificates\swi\test\tsisfile\data\signedsis\Root5CA
       
    19 SET BASE=INC092755
       
    20 SET PLATFORM=%1
       
    21 SET CFG=%2
       
    22 
       
    23 echo %BASE% TEST > %BASE%.txt
       
    24 /epoc32/tools/makesis %BASE%.pkg %BASE%-tmp.sis
       
    25 /epoc32/tools/signsis %BASE%-tmp.sis %BASE%.sis %CERTS%\ca.pem %CERTS%\ca.key.pem
       
    26 /epoc32/tools/makesis %BASE%-2.pkg %BASE%-2-tmp.sis
       
    27 /epoc32/tools/signsis %BASE%-2-tmp.sis %BASE%-2.sis %CERTS%\ca.pem %CERTS%\ca.key.pem
       
    28 
       
    29 copy %BASE%.sis   \epoc32\release\%PLATFORM%\%CFG%\z\tswi
       
    30 copy %BASE%-2.sis \epoc32\release\%PLATFORM%\%CFG%\z\tswi
       
    31 
       
    32 rem We only copy SIS files to the emulator winscw C drive, because this is where we read files
       
    33 rem from when building ROM images. The \epoc32\armv5\c etc areas are NOT used.
       
    34 rem It does not matter which platform SIS file we use because it only contains txt files...
       
    35 copy %BASE%.sis   \epoc32\winscw\c\tswi
       
    36 copy %BASE%-2.sis \epoc32\winscw\c\tswi
       
    37 
       
    38 del %BASE%.sis
       
    39 del %BASE%-tmp.sis
       
    40 del %BASE%.txt
       
    41 del %BASE%-2.sis
       
    42 del %BASE%-2-tmp.sis
       
    43