Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 72 lines (64 sloc) 2.622 kb
e5a8d5b @falconindy standardize file headers and add MIT licensee
authored
1 #!/bin/bash
2 #
3 # geninit.conf
4 #
5 # builders control the modules and hooks added to the initramfs, and what
6 # happens at boot time. Order is important, and it is recommended that you do
7 # not change the order in which builders are added. Run 'geninit -H <builder>'
8 # for help on a given builder, and 'geninit -L' to list all available builders.
75052c2 @falconindy initial commit
authored
9 #
10 # Guidelines:
11 # 'base' is required unless you know what you're doing.
12 # 'udev' is required unless all necessary modules are built into your kernel
13 # or specified in the below `modules' array.
14 # 'filesystems' is required unless you add your fs modules in the `modules'
15 # array.
16 #
e5a8d5b @falconindy standardize file headers and add MIT licensee
authored
17 # Examples:
75052c2 @falconindy initial commit
authored
18 # This setup requires that all modules are in the `modules' array.
19 # builders=(base)
20 #
21 # This setup will autodetect all modules for your system and should work as
22 # a sane default.
fa5136c @falconindy set sane defaults in config
authored
23 # builders=(base udev autodetect ata scsi filesystems)
75052c2 @falconindy initial commit
authored
24 #
25 # This setup will generate a full image which supports most systems. No
26 # autodetection is done.
fa5136c @falconindy set sane defaults in config
authored
27 # builders=(base udev scsi ata usb filesystems)
75052c2 @falconindy initial commit
authored
28 #
fa5136c @falconindy set sane defaults in config
authored
29 # This setup assembles a raid array with an encrypted root FS.
30 # builders=(base udev ata raid encrypt filesystems)
75052c2 @falconindy initial commit
authored
31 #
32 # This setup loads an lvm2 volume group on a usb device.
33 # builders=(base udev usb lvm2 filesystems)
fa5136c @falconindy set sane defaults in config
authored
34 builders=(base udev autodetect ata scsi filesystems)
75052c2 @falconindy initial commit
authored
35
36
37 # modules are added in addition to any modules discovered by the builders
38 # defined above. Dependent modules will be discovered and added. At runtime,
39 # these specific modules are all loaded by modprobe prior to running any
40 # builders.
41 #
6048c99 @falconindy allow 'none' as a compression option
authored
42 # example:
75052c2 @falconindy initial commit
authored
43 # modules=(sd_mod ahci ext4)
44 modules=()
45
46
e5a8d5b @falconindy standardize file headers and add MIT licensee
authored
47 # files (scripts, binaries, config files) you may wish to add to the image.
48 #
49 # This accepts one of two forms:
75052c2 @falconindy initial commit
authored
50 #
51 # /path/to/source
52 # OR
53 # /path/to/source::/location/on/image
54 #
55 # The second form specifies that the source file will have a different path
56 # than its on-disk path within the initramfs image. Files are parsed for type,
57 # and any binaries will have dependent shared libraries added automatically.
58 files=()
59
60
61 # Apply compression to the initramfs image. With kernels earlier than 2.6.30,
62 # only gzip is supported. Newer kernels support gzip, bzip2 and lzma, and
63 # kernels as as of 2.6.38 can support xz as well. This setting will *not* be
64 # checked for compatability so make sure your kernel really does support it!
6048c99 @falconindy allow 'none' as a compression option
authored
65 # This setting is optional: leaving blank or setting to 'none' will cause no
66 # compression to be applied to the resulting image.
75052c2 @falconindy initial commit
authored
67 #
1a5e61c @falconindy Add support for LZO compression via lzop
authored
68 # possible values: none, gzip, bzip2, lzma, xz, lzop
fa5136c @falconindy set sane defaults in config
authored
69 compress=gzip
75052c2 @falconindy initial commit
authored
70
71 # vim:set ft=sh sw=2 et:
Something went wrong with that request. Please try again.