Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 70109 Details for
Bug 108382
catalyst appends kernel args multiple times
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for kernel args
patch (text/plain), 1.37 KB, created by
georg.lippold
on 2005-10-07 11:51:09 UTC
(
hide
)
Description:
fix for kernel args
Filename:
MIME Type:
Creator:
georg.lippold
Created:
2005-10-07 11:51:09 UTC
Size:
1.37 KB
patch
obsolete
>--- /usr/lib/catalyst/livecd/runscript/x86-archscript.sh.orig 2005-10-07 15:15:10.000000000 +0200 >+++ /usr/lib/catalyst/livecd/runscript/x86-archscript.sh 2005-10-07 20:48:19.000000000 +0200 >@@ -99,10 +99,23 @@ > > if [ "${clst_livecd_splash_type}" == "gensplash" -a -n "${clst_livecd_splash_theme}" ] > then >- echo " append initrd=${x}.igz root=/dev/ram0 init=/linuxrc ${cmdline_opts} ${custom_kopts} cdroot vga=791 splash=silent,theme:${clst_livecd_splash_theme} CONSOLE=/dev/tty1 quiet" >> ${icfg} >+ K_CMD_LINE=" append initrd=${x}.igz root=/dev/ram0 init=/linuxrc ${cmdline_opts} ${custom_kopts} cdroot vga=791 splash=silent,theme:${clst_livecd_splash_theme} CONSOLE=/dev/tty1 quiet" > else >- echo " append initrd=${x}.igz root=/dev/ram0 init=/linuxrc ${cmdline_opts} ${custom_kopts} cdroot vga=791 splash=silent" >> ${icfg} >+ K_CMD_LINE=" append initrd=${x}.igz root=/dev/ram0 init=/linuxrc ${cmdline_opts} ${custom_kopts} cdroot vga=791 splash=silent" > fi >+ >+ # Make sure that only the first argument is >+ # appended to the kernel command line >+ FINAL_K_CMD_LINE="" >+ for xyz in $K_CMD_LINE >+ do >+ OPT=`echo $xyz | awk -F = '{print $1}'` >+ if ! `echo $FINAL_K_CMD_LINE | grep -q $OPT=` >+ then >+ FINAL_K_CMD_LINE="$FINAL_K_CMD_LINE $xyz" >+ fi >+ done >+ echo "$FINAL_K_CMD_LINE" >> ${icfg} > > echo >> ${icfg} > echo " ${x}" >> ${kmsg}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 108382
:
70078
|
70080
|
70092
|
70093
| 70109