Contents of /trunk/grubby/test/grub2.18
Parent Directory | Revision Log
Revision 3009 -
(show annotations)
(download)
Tue Jun 27 14:29:55 2017 UTC (7 years, 3 months ago) by niro
File size: 5043 byte(s)
Tue Jun 27 14:29:55 2017 UTC (7 years, 3 months ago) by niro
File size: 5043 byte(s)
Add a test case for a failure rmarshall saw in --set-index=
1 | # |
2 | # DO NOT EDIT THIS FILE |
3 | # |
4 | # It is automatically generated by grub2-mkconfig using templates |
5 | # from /etc/grub.d and settings from /etc/default/grub |
6 | # |
7 | |
8 | ### BEGIN /etc/grub.d/00_header ### |
9 | set pager=1 |
10 | |
11 | if [ -s $prefix/grubenv ]; then |
12 | load_env |
13 | fi |
14 | if [ "${next_entry}" ] ; then |
15 | set default="${next_entry}" |
16 | set next_entry= |
17 | save_env next_entry |
18 | set boot_once=true |
19 | else |
20 | set default="${saved_entry}" |
21 | fi |
22 | |
23 | if [ x"${feature_menuentry_id}" = xy ]; then |
24 | menuentry_id_option="--id" |
25 | else |
26 | menuentry_id_option="" |
27 | fi |
28 | |
29 | export menuentry_id_option |
30 | |
31 | if [ "${prev_saved_entry}" ]; then |
32 | set saved_entry="${prev_saved_entry}" |
33 | save_env saved_entry |
34 | set prev_saved_entry= |
35 | save_env prev_saved_entry |
36 | set boot_once=true |
37 | fi |
38 | |
39 | function savedefault { |
40 | if [ -z "${boot_once}" ]; then |
41 | saved_entry="${chosen}" |
42 | save_env saved_entry |
43 | fi |
44 | } |
45 | |
46 | function load_video { |
47 | if [ x$feature_all_video_module = xy ]; then |
48 | insmod all_video |
49 | else |
50 | insmod efi_gop |
51 | insmod efi_uga |
52 | insmod ieee1275_fb |
53 | insmod vbe |
54 | insmod vga |
55 | insmod video_bochs |
56 | insmod video_cirrus |
57 | fi |
58 | } |
59 | |
60 | terminal_output console |
61 | if [ x$feature_timeout_style = xy ] ; then |
62 | set timeout_style=menu |
63 | set timeout=5 |
64 | # Fallback normal timeout code in case the timeout_style feature is |
65 | # unavailable. |
66 | else |
67 | set timeout=5 |
68 | fi |
69 | ### END /etc/grub.d/00_header ### |
70 | |
71 | ### BEGIN /etc/grub.d/00_tuned ### |
72 | set tuned_params="" |
73 | ### END /etc/grub.d/00_tuned ### |
74 | |
75 | ### BEGIN /etc/grub.d/01_users ### |
76 | if [ -f ${prefix}/user.cfg ]; then |
77 | source ${prefix}/user.cfg |
78 | if [ -n ${GRUB2_PASSWORD} ]; then |
79 | set superusers="root" |
80 | export superusers |
81 | password_pbkdf2 root ${GRUB2_PASSWORD} |
82 | fi |
83 | fi |
84 | ### END /etc/grub.d/01_users ### |
85 | |
86 | ### BEGIN /etc/grub.d/10_linux ### |
87 | menuentry 'Red Hat Enterprise Linux Server (3.10.0-327.22.2.el7.x86_64.debug) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-91b16928-66bf-4801-8aed-fab3f1a6876c' { |
88 | load_video |
89 | set gfxpayload=keep |
90 | insmod gzio |
91 | insmod part_msdos |
92 | insmod xfs |
93 | set root='hd0,msdos1' |
94 | if [ x$feature_platform_search_hint = xy ]; then |
95 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 7e972fc0-6cf8-4a58-ace6-1b381e52733d |
96 | else |
97 | search --no-floppy --fs-uuid --set=root 7e972fc0-6cf8-4a58-ace6-1b381e52733d |
98 | fi |
99 | linux16 /vmlinuz-3.10.0-327.22.2.el7.x86_64.debug root=/dev/mapper/rhel_team--area--222-root ro crashkernel=auto rd.lvm.lv=rhel_team-area-222/root rd.lvm.lv=rhel_team-area-222/swap rhgb quiet LANG=en_US.UTF-8 |
100 | } |
101 | menuentry 'Red Hat Enterprise Linux Server (3.10.0-327.el7.x86_64) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-91b16928-66bf-4801-8aed-fab3f1a6876c' { |
102 | load_video |
103 | set gfxpayload=keep |
104 | insmod gzio |
105 | insmod part_msdos |
106 | insmod xfs |
107 | set root='hd0,msdos1' |
108 | if [ x$feature_platform_search_hint = xy ]; then |
109 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 7e972fc0-6cf8-4a58-ace6-1b381e52733d |
110 | else |
111 | search --no-floppy --fs-uuid --set=root 7e972fc0-6cf8-4a58-ace6-1b381e52733d |
112 | fi |
113 | linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel_team--area--222-root ro crashkernel=auto rd.lvm.lv=rhel_team-area-222/root rd.lvm.lv=rhel_team-area-222/swap rhgb quiet LANG=en_US.UTF-8 |
114 | initrd16 /initramfs-3.10.0-327.el7.x86_64.img |
115 | } |
116 | menuentry 'Red Hat Enterprise Linux Server (0-rescue-925cd320373b6a4a9a66a26371afccd2) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-925cd320373b6a4a9a66a26371afccd2-advanced-91b16928-66bf-4801-8aed-fab3f1a6876c' { |
117 | load_video |
118 | insmod gzio |
119 | insmod part_msdos |
120 | insmod xfs |
121 | set root='hd0,msdos1' |
122 | if [ x$feature_platform_search_hint = xy ]; then |
123 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 7e972fc0-6cf8-4a58-ace6-1b381e52733d |
124 | else |
125 | search --no-floppy --fs-uuid --set=root 7e972fc0-6cf8-4a58-ace6-1b381e52733d |
126 | fi |
127 | linux16 /vmlinuz-0-rescue-925cd320373b6a4a9a66a26371afccd2 root=/dev/mapper/rhel_team--area--222-root ro crashkernel=auto rd.lvm.lv=rhel_team-area-222/root rd.lvm.lv=rhel_team-area-222/swap rhgb quiet |
128 | initrd16 /initramfs-0-rescue-925cd320373b6a4a9a66a26371afccd2.img |
129 | } |
130 | |
131 | ### END /etc/grub.d/10_linux ### |
132 | |
133 | ### BEGIN /etc/grub.d/20_linux_xen ### |
134 | ### END /etc/grub.d/20_linux_xen ### |
135 | |
136 | ### BEGIN /etc/grub.d/20_ppc_terminfo ### |
137 | ### END /etc/grub.d/20_ppc_terminfo ### |
138 | |
139 | ### BEGIN /etc/grub.d/30_os-prober ### |
140 | ### END /etc/grub.d/30_os-prober ### |
141 | |
142 | ### BEGIN /etc/grub.d/40_custom ### |
143 | # This file provides an easy way to add custom menu entries. Simply type the |
144 | # menu entries you want to add after this comment. Be careful not to change |
145 | # the 'exec tail' line above. |
146 | ### END /etc/grub.d/40_custom ### |
147 | |
148 | ### BEGIN /etc/grub.d/41_custom ### |
149 | if [ -f ${config_directory}/custom.cfg ]; then |
150 | source ${config_directory}/custom.cfg |
151 | elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then |
152 | source $prefix/custom.cfg; |
153 | fi |
154 | ### END /etc/grub.d/41_custom ### |