new samples and control file writer
This commit is contained in:
2
sample/old/OPSI/changelog.txt
Normal file
2
sample/old/OPSI/changelog.txt
Normal 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
37
sample/old/OPSI/control
Normal 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
9
sample/old/OPSI/postinst
Normal 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
9
sample/old/OPSI/preinst
Normal 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
|
||||
#
|
||||
Reference in New Issue
Block a user