File: testing.txt

package info (click to toggle)
cdebconf 0.282
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,632 kB
  • sloc: ansic: 16,816; sh: 584; makefile: 419; sql: 52; perl: 13
file content (47 lines) | stat: -rw-r--r-- 768 bytes parent folder | download | duplicates (14)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Some simple hints on how to do local testing of cdebconf:

./configure --with-frontend=text --with-conffile=./cdebconf.conf
make

cd src/test
cp ../cdebconf.conf .

Edit cdebconf.conf to suit your needs, mine looks like this:
- 8< -----
global {
  module_path {
    frontend "../modules/frontend";
    database "../modules/db";
  };

  default {
    frontend "default_fe";
    template "templatedb";
    config "configdb";
  };
};

frontend {
  instance "default_fe" {
    driver "text";
  };
};

template {
  instance "templatedb" {
    driver "rfc822db";
    path "./templates.dat";
  };
};

config {
  instance "configdb" {
    driver "rfc822db";
    path "./questions.dat";
  };
};
- 8< -----


../debconf-loadtemplate debian test.templates
../debconf test.config