summaryrefslogtreecommitdiff
path: root/user/lilo/initramfs.patch
blob: f6aca7f75fe5e834ddcbc88141f8e6607d6a422d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Adjust expected initrd name to match what dracut produces.

--- lilo-24.2/scripts/liloconfig	2015-11-21 18:00:21.000000000 -0600
+++ lilo-24.2/scripts/liloconfig	2020-07-11 00:35:13.400130230 -0500
@@ -618,8 +618,8 @@ sub write_image_config {
 	foreach $image (@vmlinuz) {
 		# search for kernel initrd file
 		chomp $image;
-		$initrd = $image;
-		$initrd =~ s/vmlinuz/initrd\.img/;
+		$initrd = $image . ".img";
+		$initrd =~ s/vmlinuz/initramfs/;
 		$initrd2 = $initrd;
 		$initrd2 =~ s/\.img//;
 		$nr2 = $nr + 1;
@@ -694,8 +694,8 @@ sub write_imagelinks_config {
 	foreach $image (@vmlinuz) {
 		# search for kernel initrd file
 		chomp $image;
-		$initrd = $image;
-		$initrd =~ s/vmlinuz/initrd\.img/;
+		$initrd = $image . ".img";
+		$initrd =~ s/vmlinuz/initramfs/;
 		$nr2 = $nr + 1;
 
 		print MYFH_NEW     'image = ' . $image . "\n";
@@ -837,7 +837,7 @@ Lines in the configuration file /etc/lil
   #   restricted
   #   alias = 1
   #   optional
-      initrd = /boot/initrd.img-3.17-trunk-686
+      initrd = /boot/initramfs-3.17-trunk-686.img
 
   image = /boot/vmlinuz-3.14-trunk-686
       label = "Linux Old"
@@ -847,7 +847,7 @@ Lines in the configuration file /etc/lil
   #   restricted
   #   alias = 2
   #   optional
-      initrd = /boot/initrd.img-3.14-trunk-686
+      initrd = /boot/initramfs-3.14-trunk-686.img
 
 =head1 COPYRIGHT and LICENSE
 
--- lilo-24.2/man/liloconfig.8	2015-11-21 17:25:48.000000000 -0600
+++ lilo-24.2/man/liloconfig.8	2020-07-11 00:45:57.850132663 -0500
@@ -140,7 +140,7 @@ Lines in the configuration file /etc/lil
 \&  #   restricted
 \&  #   alias = 1
 \&  #   optional
-\&      initrd = /boot/initrd.img\-3.17\-trunk\-686
+\&      initrd = /boot/initramfs\-3.17\-trunk\-686.img
 \&
 \&  image = /boot/vmlinuz\-3.14\-trunk\-686
 \&      label = "Linux Old"
@@ -150,7 +150,7 @@ Lines in the configuration file /etc/lil
 \&  #   restricted
 \&  #   alias = 2
 \&  #   optional
-\&      initrd = /boot/initrd.img\-3.14\-trunk\-686
+\&      initrd = /boot/initramfs\-3.14\-trunk\-686.img
 .Ve
 .SH "COPYRIGHT and LICENSE"
 .IX Header "COPYRIGHT and LICENSE"
--- lilo-24.2/man/lilo.conf.5	2013-06-07 14:17:39.000000000 -0500
+++ lilo-24.2/man/lilo.conf.5	2020-07-11 00:44:59.650132443 -0500
@@ -47,12 +47,12 @@ menu-title=" John's Computer "
 ### bootable kernel images ###
 image=/boot/vmlinuz-2.6.29-1-i386
      label=try
-     initrd=/boot/initrd.img-2.6.29-1-i386
+     initrd=/boot/initramfs-2.6.29-1-i386.img
 image=/boot/vmlinuz-2.4.33-1-i386
      label=2.4.33
 image=/tamu/vmlinuz
      label=tamu
-     initrd=/tamu/initrd.img
+     initrd=/tamu/initramfs.img
      root=/dev/hdb2
      vga=ask
 #