LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File petitboot-no-default-root-cmdline-parameter.patch of Package petitboot (Project DISCONTINUED:openSUSE:11.1)

---
 lib/parser/kboot-parser/kboot-parser.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

--- a/lib/parser/kboot-parser/kboot-parser.c
+++ b/lib/parser/kboot-parser/kboot-parser.c
@@ -180,10 +180,7 @@ static int parse_option(struct pb_option
 		free(cmdline);
 		cmdline = tmp;
 	} else if (initrd) {
-		/* if there's initrd but no root, fake up /dev/ram0 */
-		asprintf(&tmp, "root=/dev/ram0 %s", cmdline);
-		free(cmdline);
-		cmdline = tmp;
+		/* if there's initrd but no root, then it's not a problem */
 	}
 
 	/* remove double whitespaces */