Debian Codegraph @

debian/README.Maintainer

raw
1
2 # Flavour policies
3
4 At the moment, busybox comes with three different configuration sets,
5 called "flavours"
6
7 * deb: For use in regular installations/testing
8 * static: For use in initramfs
9 * udeb: For use in the installer
10
11 The deb flavour may omit a few apps you can expect to find in any
12 decent installations (e.g. dpkg, ed, passwd, fdisk, cron, tc, telnet).
13
14 The static flavour should be usable as a standalone system.
15
16 The udeb flavour should be kept as small as possible as some
17 architectures still have space contraints. Enabling new features
18 possibly should be discussed on debian-boot first.
19
20
21 # Upgrade configurations to a new kernel version
22
23 Syptom: Build breaks at something like
24
25 | cmp debian/config/pkg/$FLAVOUR debian/build/$FLAVOUR/.config
26 | debian/config/pkg/$FLAVOUR debian/build/$FLAVOUR/.config differ: byte 74, line 3
27
28 where $FLAVOUR is one of the flavours (deb static udeb).
29
30 Instructions:
31
32 * Build manually
33
34 debian/rules override_dh_auto_configure
35
36 * Restore the previous version
37
38 mv debian/build/$FLAVOUR/.config.old debian/build/$FLAVOUR/.config
39
40 * Run oldconfig manually
41
42 make -C debian/build/$FLAVOUR oldconfig
43
44 Document changes to the feature set in the commit message later.
45 As stated above, for the udeb flavour is virtually always "no".
46
47 * Apply the changes to debian/config
48
49 cp debian/build/$FLAVOUR/.config debian/config/pkg/$FLAVOUR
50
51 * Finishing work
52 * Edit debian/config/pkg/$FLAVOUR and strip the time time in the
53 first lines before.
54 * Check the diff for surprising changes
55
56 * This needs to be done for all three flavours