summaryrefslogtreecommitdiffstats
path: root/core/includes/clean_module_funcs.inc
blob: 46a6993c14e6728572ec9ca5ed51c34511eb4d16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Called when the sources for this module need to be fetched.
# Not called if fetched_source.flag exists
fetch_source() {
	:
}

# Called when the module should be built.
# Not called if build_complete.flag exists
build() {
	:
}

# Called after the relevant files from the module's build dir
# have been copied to the target dir.
post_copy() {
	:
}

# Called when this module is about to be handled, before fetching the source.
pre_exec() {
	:
}

# Called when this module is active in a target. This is called for each module
# once, before any other method is called, and before any packages are installed.
# Note that is does not honor any dependency ordering of modules. Consider this as
# being called in a random order. Also, this gets called on every run, there
# is no flag to remember this has already been called in a previous run.
module_init() {
	:
}