new samples and control file writer

This commit is contained in:
Mario Fetka
2013-03-07 22:43:46 +01:00
parent 75adc590d0
commit a7f8a81d46
47 changed files with 2595 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
Don't add cahngelog entries here!
It get autogenerated by the opsi-builder.sh

37
sample/old/OPSI/control Normal file
View File

@@ -0,0 +1,37 @@
[Package]
version: RELEASE
depends:
incremental: False
[Product]
type: localboot
id: !!!plz change!!!
name: !!!plz change!!!
description: !!!plz change!!!
advice: ADVICE
version: VERSION
priority: PRIORITY
licenseRequired: False
productClasses:
setupScript: !!!plz change!!!
uninstallScript: !!!plz change!!!
updateScript:
alwaysScript:
onceScript:
customScript:
userLoginScript:
[ProductProperty]
type: unicode
name: install_architecture
multivalue: False
editable: False
description: which architecture (32/64 bit) has to be installed
values: ["32 only", "64 only", "both", "system specific"]
default: ["system specific"]
[ProductDependency]
action: setup
requiredProduct: aio
requiredStatus: installed
requirementType: before

9
sample/old/OPSI/postinst Normal file
View File

@@ -0,0 +1,9 @@
#! /bin/sh
#
# postinst script for softprod
# This script executes after unpacking files from that archive and registering the product at the server.
#
# The following environment variables can be used to obtain information about the current installation:
# PRODUCT_ID: id of the current product
# CLIENT_DATA_DIR: directory which contains the installed client data
#

9
sample/old/OPSI/preinst Normal file
View File

@@ -0,0 +1,9 @@
#! /bin/sh
#
# preinst script for softprod
# This script executes before that package will be unpacked from its archive file.
#
# The following environment variables can be used to obtain information about the current installation:
# PRODUCT_ID: id of the current product
# CLIENT_DATA_DIR: directory where client data will be installed
#