Annotation of /trunk/grubby/test/results/remove/g2.19
Parent Directory | Revision Log
Revision 3023 -
(hide annotations)
(download)
Tue Jun 27 14:40:47 2017 UTC (6 years, 11 months ago) by niro
File size: 2159 byte(s)
Tue Jun 27 14:40:47 2017 UTC (6 years, 11 months ago) by niro
File size: 2159 byte(s)
Add multi-entry removal test (#1285601)
1 | niro | 3023 | # |
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 | if [ -s $prefix/grubenv ]; then | ||
10 | load_env | ||
11 | fi | ||
12 | if [ "${next_entry}" ] ; then | ||
13 | set default="${next_entry}" | ||
14 | set next_entry= | ||
15 | save_env next_entry | ||
16 | set boot_once=true | ||
17 | else | ||
18 | set default="${saved_entry}" | ||
19 | fi | ||
20 | |||
21 | if [ x"${feature_menuentry_id}" = xy ]; then | ||
22 | menuentry_id_option="--id" | ||
23 | else | ||
24 | menuentry_id_option="" | ||
25 | fi | ||
26 | |||
27 | export menuentry_id_option | ||
28 | |||
29 | if [ "${prev_saved_entry}" ]; then | ||
30 | set saved_entry="${prev_saved_entry}" | ||
31 | save_env saved_entry | ||
32 | set prev_saved_entry= | ||
33 | save_env prev_saved_entry | ||
34 | set boot_once=true | ||
35 | fi | ||
36 | |||
37 | function savedefault { | ||
38 | if [ -z "${boot_once}" ]; then | ||
39 | saved_entry="${chosen}" | ||
40 | save_env saved_entry | ||
41 | fi | ||
42 | } | ||
43 | |||
44 | function load_video { | ||
45 | insmod vbe | ||
46 | insmod vga | ||
47 | insmod video_bochs | ||
48 | insmod video_cirrus | ||
49 | } | ||
50 | |||
51 | set timeout=5 | ||
52 | ### END /etc/grub.d/00_header ### | ||
53 | |||
54 | ### BEGIN /etc/grub.d/10_linux ### | ||
55 | menuentry 'Linux, with Fedora 2.6.38.8-32.fc15.x86_64' --class gnu-linux --class gnu --class os { | ||
56 | load_video | ||
57 | set gfxpayload=keep | ||
58 | insmod part_msdos | ||
59 | insmod ext2 | ||
60 | set root='(hd0,msdos1)' | ||
61 | search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed | ||
62 | echo 'Loading Fedora 2.6.38.8-32.fc15.x86_64 ...' | ||
63 | linux /vmlinuz-2.6.38.8-32.fc15.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb | ||
64 | echo 'Loading initial ramdisk ...' | ||
65 | initrd /initramfs-2.6.38.8-32.fc15.x86_64.img | ||
66 | } | ||
67 | ### END /etc/grub.d/10_linux ### | ||
68 | |||
69 | ### BEGIN /etc/grub.d/20_linux_xen ### | ||
70 | ### END /etc/grub.d/20_linux_xen ### | ||
71 | |||
72 | ### BEGIN /etc/grub.d/30_os-prober ### | ||
73 | ### END /etc/grub.d/30_os-prober ### | ||
74 | |||
75 | ### BEGIN /etc/grub.d/40_custom ### | ||
76 | # This file provides an easy way to add custom menu entries. Simply type the | ||
77 | # menu entries you want to add after this comment. Be careful not to change | ||
78 | # the 'exec tail' line above. | ||
79 | ### END /etc/grub.d/40_custom ### | ||
80 | |||
81 | ### BEGIN /etc/grub.d/41_custom ### | ||
82 | if [ -f $prefix/custom.cfg ]; then | ||
83 | source $prefix/custom.cfg; | ||
84 | fi | ||
85 | ### END /etc/grub.d/41_custom ### | ||
86 | |||
87 | ### BEGIN /etc/grub.d/90_persistent ### | ||
88 | ### END /etc/grub.d/90_persistent ### |