Don't bother templating lsb-base stuff with jinja.
The build-dependency makes cross-bootstrap folks unhappy.
Adam Borowski
1 year, 7 months ago
9 | 9 |
Mark Hindley <leepen@debian.org>,
|
10 | 10 |
Build-Depends:
|
11 | 11 |
debhelper-compat (= 13),
|
12 | |
ionit,
|
13 | 12 |
libcrypt-dev,
|
14 | 13 |
libselinux1-dev [linux-any],
|
15 | 14 |
po-debconf,
|
32 | 32 |
|
33 | 33 |
override_dh_auto_build:
|
34 | 34 |
$(MAKE) $(CROSS) $(CONFFLAGS) DISTRO=Debian LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
|
35 | |
ionit -c debian/src/lsb-base/conf -t debian/src/lsb-base/init-functions.d
|
36 | 35 |
|
37 | 36 |
|
38 | 37 |
override_dh_auto_install-arch:
|
debian/src/lsb-base/conf/conf.yaml
less
more
0 | |
log_functions:
|
1 | |
- log_daemon_msg
|
2 | |
- log_begin_msg
|
3 | |
- log_action_msg
|
4 | |
- log_action_begin_msg
|
5 | |
- log_action_end_msg
|
6 | |
|
7 | |
log_end_functions:
|
8 | |
- log_end_msg
|
debian/src/lsb-base/init-functions.d/.gitignore
less
more
|
0 |
vlog_daemon_msg() {
|
|
1 |
if test x"${VERBOSE:-yes}" != x"no" ; then
|
|
2 |
log_daemon_msg "$@"
|
|
3 |
else
|
|
4 |
true
|
|
5 |
fi
|
|
6 |
}
|
|
7 |
|
|
8 |
vlog_begin_msg() {
|
|
9 |
if test x"${VERBOSE:-yes}" != x"no" ; then
|
|
10 |
log_begin_msg "$@"
|
|
11 |
else
|
|
12 |
true
|
|
13 |
fi
|
|
14 |
}
|
|
15 |
|
|
16 |
vlog_action_msg() {
|
|
17 |
if test x"${VERBOSE:-yes}" != x"no" ; then
|
|
18 |
log_action_msg "$@"
|
|
19 |
else
|
|
20 |
true
|
|
21 |
fi
|
|
22 |
}
|
|
23 |
|
|
24 |
vlog_action_begin_msg() {
|
|
25 |
if test x"${VERBOSE:-yes}" != x"no" ; then
|
|
26 |
log_action_begin_msg "$@"
|
|
27 |
else
|
|
28 |
true
|
|
29 |
fi
|
|
30 |
}
|
|
31 |
|
|
32 |
vlog_action_end_msg() {
|
|
33 |
if test x"${VERBOSE:-yes}" != x"no" ; then
|
|
34 |
log_action_end_msg "$@"
|
|
35 |
else
|
|
36 |
true
|
|
37 |
fi
|
|
38 |
}
|
|
39 |
|
|
40 |
|
|
41 |
vlog_end_msg() {
|
|
42 |
if test x"${VERBOSE:-yes}" != x"no" ; then
|
|
43 |
log_end_msg "$@"
|
|
44 |
else
|
|
45 |
return ${1:-1}
|
|
46 |
fi
|
|
47 |
}
|
debian/src/lsb-base/init-functions.d/00-verbose.jinja
less
more
0 | |
## Generated automatically. Do not edit! -*- shell-script -*-
|
1 | |
{% for fn in log_functions %}
|
2 | |
v{{ fn }}() {
|
3 | |
if test x"${VERBOSE:-yes}" != x"no" ; then
|
4 | |
{{ fn }} "$@"
|
5 | |
else
|
6 | |
true
|
7 | |
fi
|
8 | |
}
|
9 | |
{% endfor %}
|
10 | |
{% for fn in log_end_functions %}
|
11 | |
v{{ fn }}() {
|
12 | |
if test x"${VERBOSE:-yes}" != x"no" ; then
|
13 | |
{{ fn }} "$@"
|
14 | |
else
|
15 | |
return ${1:-1}
|
16 | |
fi
|
17 | |
}
|
18 | |
{% endfor %}
|
19 | |
# vim: ft=sh
|