Subversion Repositories DevTools

Rev

Rev 3993 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3993 dpurdie 1
########################################################################
2
# Copyright (C) 1998-2013 Vix Technology, All rights reserved
3
#
4
# Module name   : PackageApp
5
# Module type   : Makefile system
6
# Compiler(s)   : n/a
7
# Environment(s): jats
8
#
9
# Description   : Script to be processed by the Debian Packager
10
#                 This script is not directly processed by JATS
11
#
12
#   This file is processed by the Debian Packager in order to construct
13
#   the package. It contains simple directives to construct the package
14
#
15
#......................................................................#
16
 
17
#SetVerbose (2);
18
 
19
#
20
#   Specify the DEBIAN packaging files
21
#
22
PackageDescription ("VIX VM First Use Configuration");
23
 
24
DebianFiles('--PostInst=postinstall.sh', '--PreRm=preRm.sh');
25
 
26
#
5273 dpurdie 27
#   Insert doco to assist future creation
28
CopyFile ('Create Golden Image.txt', '/root/Desktop');
3993 dpurdie 29
#   Insert the Application
30
#
31
CopyFile ('configureVM.sh', '/root/vix', 'configureVM');
32
 
33
#
34
#   Make every thing executable
35
#       This is good for directories
36
#       This is good for all files in this package.
37
#
38
Message ("Mark files as executable");
39
SetFilePerms ('a+rx', '/' , '--Recurse');
40
 
41
#
42
#   All done
43
#   The wrapper scripts will build and package the complete package
44