Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

########################################################################
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
#
# Module name   : PackageApp
# Module type   : Makefile system
# Compiler(s)   : n/a
# Environment(s): jats
#
# Description   : Script to be processed by the Debian Packager
#                 This script is not directly processed by JATS
#
#   This file is processed by the Debian Packager in order to construct
#   the RPM package. It contains simple directives to construct the package
#
#......................................................................#

#SetVerbose (2);

#
#   Specify the DEBIAN packaging files
#
PackageDescription ("VIX VM First Use Configuration");

RpmFiles('--PostInst=postinstall.sh', '--PreRm=preRm.sh');

#
#   Insert the hook file into lightdm
#   This will cause our script to run on startup
CopyFile ('gdm_init_0.sh', '/etc/gdm/Init', ':0');

#   Insert doco to assist future creation
CopyFile ('Create Golden Image.txt', '/root/Desktop');

#
#   Insert the Application
CopyFile ('configureVM.sh', '/root/vix', 'configureVM');

#
#   Make every thing executable
#       This is good for directories
#       This is good for all files in this package.
#
Message ("Mark files as executable");
SetFilePerms ('a+rx', '/' , '--Recurse');

#
#   All done
#   The wrapper scripts will build and package the complete package