1 |
commit: 2dfff68d42f70e408cccc3aec773bd715db182e9 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 3 22:18:10 2018 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 3 22:18:10 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=2dfff68d |
7 |
|
8 |
Remove 2900_dev-root-proc-mount-fix.patch for compilation errors. |
9 |
|
10 |
Will take a look after this release. |
11 |
|
12 |
0000_README | 4 ---- |
13 |
2900_dev-root-proc-mount-fix.patch | 38 -------------------------------------- |
14 |
2 files changed, 42 deletions(-) |
15 |
|
16 |
diff --git a/0000_README b/0000_README |
17 |
index 6546583..94eb66a 100644 |
18 |
--- a/0000_README |
19 |
+++ b/0000_README |
20 |
@@ -63,10 +63,6 @@ Patch: 2600_enable-key-swapping-for-apple-mac.patch |
21 |
From: https://github.com/free5lot/hid-apple-patched |
22 |
Desc: This hid-apple patch enables swapping of the FN and left Control keys and some additional on some apple keyboards. See bug #622902 |
23 |
|
24 |
-Patch: 2900_dev-root-proc-mount-fix.patch |
25 |
-From: https://bugs.gentoo.org/show_bug.cgi?id=438380 |
26 |
-Desc: Ensure that /dev/root doesn't appear in /proc/mounts when bootint without an initramfs. |
27 |
- |
28 |
Patch: 4200_fbcondecor.patch |
29 |
From: http://www.mepiscommunity.org/fbcondecor |
30 |
Desc: Bootsplash ported by Conrad Kostecki. (Bug #637434) |
31 |
|
32 |
diff --git a/2900_dev-root-proc-mount-fix.patch b/2900_dev-root-proc-mount-fix.patch |
33 |
deleted file mode 100644 |
34 |
index 83f96d2..0000000 |
35 |
--- a/2900_dev-root-proc-mount-fix.patch |
36 |
+++ /dev/null |
37 |
@@ -1,38 +0,0 @@ |
38 |
---- a/init/do_mounts.c 2018-05-23 14:30:36.870899527 -0400 |
39 |
-+++ b/init/do_mounts.c 2018-05-23 14:35:54.398659105 -0400 |
40 |
-@@ -489,7 +489,11 @@ void __init change_floppy(char *fmt, ... |
41 |
- va_start(args, fmt); |
42 |
- vsprintf(buf, fmt, args); |
43 |
- va_end(args); |
44 |
-- fd = ksys_open("/dev/root", O_RDWR | O_NDELAY, 0); |
45 |
-+ if (saved_root_name[0]) |
46 |
-+ fd = sys_open(saved_root_name, O_RDWR | O_NDELAY, 0); |
47 |
-+ else |
48 |
-+ fd = sys_open("/dev/root", O_RDWR | O_NDELAY, 0); |
49 |
-+ |
50 |
- if (fd >= 0) { |
51 |
- ksys_ioctl(fd, FDEJECT, 0); |
52 |
- ksys_close(fd); |
53 |
-@@ -533,11 +537,17 @@ void __init mount_root(void) |
54 |
- #endif |
55 |
- #ifdef CONFIG_BLOCK |
56 |
- { |
57 |
-- int err = create_dev("/dev/root", ROOT_DEV); |
58 |
-- |
59 |
-- if (err < 0) |
60 |
-- pr_emerg("Failed to create /dev/root: %d\n", err); |
61 |
-- mount_block_root("/dev/root", root_mountflags); |
62 |
-+ if (saved_root_name[0] == '/') { |
63 |
-+ int err = create_dev(saved_root_name, ROOT_DEV); |
64 |
-+ if (err < 0) |
65 |
-+ pr_emerg("Failed to create %s: %d\n", saved_root_name, err); |
66 |
-+ mount_block_root(saved_root_name, root_mountflags); |
67 |
-+ } else { |
68 |
-+ int err = create_dev("/dev/root", ROOT_DEV); |
69 |
-+ if (err < 0) |
70 |
-+ pr_emerg("Failed to create /dev/root: %d\n", err); |
71 |
-+ mount_block_root("/dev/root", root_mountflags); |
72 |
-+ } |
73 |
- } |
74 |
- #endif |
75 |
- } |