]> spindle.queued.net Git - xodist/blob - configs/generic/hooks
mkchroot.sh: break out non-olpc stuff
[xodist] / configs / generic / hooks
1 # Default hooks - copy & customize this for a new image build
2
3
4 customize_chroot_hook()
5 {
6         ROOT_DIR="$1"
7
8         # Any customizations that need to be made to the chroot after the base system
9         # has been installed (but prior to further package installation) should be
10         # put here.  $ROOT_DIR should be prefixed to any paths.
11 }
12
13 package_configure_hook()
14 {
15         ROOT_DIR="$1"
16
17         # Any customizations that need to be made after all packages have been
18         # installed should be put here.  $ROOT_DIR should be prefixed to any
19         # paths.
20 }
21
22 cleanup_chroot_hook()
23 {
24         ROOT_DIR="$1"
25
26         # Any customizations that need to be made after the chroot creation is
27         # complete should be put here.  $ROOT_DIR should be prefixed to any
28         # paths.
29 }