HMBXR5601-827 - Create debian package definition class
This commit is contained in:
parent
9a7e394fa2
commit
703c4930db
1 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
class DebRootDefinitions {
|
||||
class DebRootDefinition {
|
||||
String PACKAGE_PREFIX
|
||||
String PACKAGE_FOLDER_NAME
|
||||
String PACKAGE_NAME
|
||||
|
|
@ -21,7 +21,7 @@ class DebRootDefinitions {
|
|||
String HTTP_DEV_DIV
|
||||
String LIB_SYSTEMD
|
||||
|
||||
DebRootDefinitions(String rootpath, String packageprefix, String buildstamp) {
|
||||
DebRootDefinition(String rootpath, String packageprefix, String buildstamp) {
|
||||
PACKAGE_PREFIX = packageprefix
|
||||
PACKAGE_FOLDER_NAME = packageprefix + buildstamp
|
||||
PACKAGE_NAME = packageprefix + buildstamp + "_armhf.deb"
|
||||
|
|
@ -46,4 +46,8 @@ class DebRootDefinitions {
|
|||
}
|
||||
}
|
||||
|
||||
def DebRootDefinition debDefinition(String rootpath, String packageprefix, String buildstamp) {
|
||||
return new DebRootDefinition(rootpath, packageprefix, buildstamp)
|
||||
}
|
||||
|
||||
return this;
|
||||
Loading…
Add table
Add a link
Reference in a new issue