Codebase list sysvinit / 61a965f
Don't bother templating lsb-base stuff with jinja. The build-dependency makes cross-bootstrap folks unhappy. Adam Borowski 1 year, 7 months ago
6 changed file(s) with 48 addition(s) and 32 deletion(s). Raw diff Collapse all Expand all
99 Mark Hindley <leepen@debian.org>,
1010 Build-Depends:
1111 debhelper-compat (= 13),
12 ionit,
1312 libcrypt-dev,
1413 libselinux1-dev [linux-any],
1514 po-debconf,
3232
3333 override_dh_auto_build:
3434 $(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
3635
3736
3837 override_dh_auto_install-arch:
+0
-9
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
+0
-1
debian/src/lsb-base/init-functions.d/.gitignore less more
0 00-verbose
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 }
+0
-20
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