Also remove a few lesser used keys, they can be looked up in the manual.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
+# -*- Mode: sh; tab-width: 8 -*-
+# vim:ft=sh:sts=0:noet:nosta:ts=8:
+
# e2factory build script template
#
# The build system provides the following variables for use in build scripts:
--- e2factory result configuration template --
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
e2result {
-- a list of sources
depends = { },
-- a list of chroot groups
chroot = { },
- -- an environment dictionary
- env = { },
- -- use the collect_project feature for this result?
- collect_project = false,
- -- collect_project_default_result = "<result>",
}
--- e2factory cvs source configuration template --
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
e2source {
- -- the source name
- -- (is derived from the config file path if only one source is
- -- specified per file)
- name = "name",
- -- the source type
type = "cvs",
-- environment
env = {
- key = "value",
+ --key = "value",
},
-- a list of licences from proj/licences
licences={ },
--- e2factory files source configuration template --
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
e2source {
- -- the source name
- -- (is derived from the config file path if only one source is specified
- -- per file)
- name = "name",
- -- the source type
- type = "files",
- -- environment
- env = {
- key = "value",
- },
- -- a list of licences from proj/licences
- licences = { },
- -- the server. Files can specify their own one or inherit this one.
- server = "upstream",
- -- the file list
- file = {
- -- each file must be configured in a table like this
- {
- -- server name (or inherit from top-level)
- -- server = "upstream",
- -- file location relative to the server
- location = "h/hello/1.0/hello-1.0.tar.gz",
- -- select one of unpack, patch and copy
- -- unpacking creates this directory
- unpack = "hello-1.0",
- -- file is a patch. Apply with patch -p1
- --patch = "1",
- -- copy to a directory relative to the source tree
- --copy = ".",
- },
- -- insert more files here
- },
+ type = "files",
+ -- environment
+ env = {
+ --key = "value",
+ },
+ -- a list of licences from proj/licences
+ licences = { },
+ -- the server. Files can specify their own one or inherit this one.
+ server = "upstream",
+ -- the file list
+ file = {
+ -- each file must be configured in a table like this
+ {
+ -- server name (or inherit from top-level)
+ -- server = "upstream",
+ -- file location relative to the server
+ location = "h/hello/1.0/hello-1.0.tar.gz",
+ -- select one of unpack, patch and copy
+ -- unpacking creates this directory
+ unpack = "hello-1.0",
+ -- file is a patch. Apply with patch -p1
+ --patch = "1",
+ -- copy to a directory relative to the source tree
+ --copy = ".",
+ },
+ -- insert more files here
+ },
}
--- -*- Lua -*-
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
e2source {
- -- the source name
- -- (is derived from the config file path if only one source is
- -- specified per file)
- name = "name",
- -- the source type
type = "git",
-- environment
env = {
- key = "value",
+ --key = "value",
},
-- a list of licences from proj/licences
licences = { },
--- e2factory subversion source configuration template --
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
e2source {
- -- the source name
- -- (is derived from the config file path if only one source is
- -- specified per file)
- name = "name",
- -- the source type
type = "svn",
-- environment
env = {
- key = "value",
+ --key = "value",
},
-- a list of licences from proj/licences
licences={ },
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
+
-- e2factory chroot configuration file --
-local cp = "emlix/chroot-i386/tags/20080916-stable-2/"
+local cp = "emlix/chroot-i386/tags/20080916-stable-5/"
e2chroot {
- default_groups = {
- "base",
- },
- groups = {
- {
- name = "base",
- server = "chroot",
- files = {
- {
- location = cp.."base.tar.gz",
- sha1 = "130584621d77fadff34127be31653c675f7cb582",
- }
- },
- },
- },
+ default_groups = {
+ "base",
+ },
+ groups = {
+ {
+ name = "base",
+ server = "chroot",
+ files = {
+ {
+ location = cp.."base.tar.gz",
+ sha1 = "653e4244ee255dd0924296d79a330fd9b350a9b4",
+ }
+ },
+ },
+ },
}
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
+
e2project {
- -- these must be configured
name = "<<name>>",
release_id = "<<release_id>>",
+
default_results = {
},
+
deploy_results = {
},
- -- these may be configured optionally
- --chroot_arch = "x86_32", -- or: x86_64
+ chroot_arch = "x86_32", -- or: x86_64
}
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
+
-- e2factory environment configuration file --
env {
-- global variables
+-- -*- Mode: Lua; tab-width: 8 -*-
+-- vim:ft=lua:sts=0:noet:nosta:ts=8:
+
-- e2factory licence configuration file --
e2licence {
}