#*************** HEADER ***************
# Header of the imagecontents file. The order of these elements 
# have to be kept constant, especially the build setting
outputfile			firmware/mvi56e-ldm.firmware
firmwaredatafile	firmware/firmwaredata
producttype         MVI56E
productname         MVI56E-LDM
productcode         ELDM
revision            1.00
build 	151

#*************** CONTENTS ******************
# contents of the image file
# add source_file               		destination_file  							permissions 

# add install script
add firmware_files/install				install       								rwsr-sr-s

# add firmware data file
add firmware/firmwaredata				/psft/firmwaredata							rw-r--r--

# Add thingWorx-LDM sample application executable, config file and root Let's Encrypt root CA certificate:
add Release/tw-ldm-sample-app-mvi56e	/psft/sample/tw/tw-ldm-sample-app-mvi56e 	rwxrwxr--
add config.json							/psft/sample/tw/config.json 				rw-rw-r--
add root_ca.cer							/psft/sample/tw/root_ca.cer 				rw-rw-r--

# Just to make sure that folder for offline storage exists, copy empty file there:
add subscribed_properties.bin 			/opt/thingworx/subscribed_properties.bin 	rw-rw-r--

# Enable syslog for ThingWorx-LDM sample application:
add S10-syslog      					/etc/init.d/S10-syslog						rwxr-xr-x

# Script to start ThingWorx sample applciation:
add S88-tw      						/etc/init.d/S88-tw							rwxr-xr-x
