Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90992 Details for
Bug 139337
Mips and misc patches for catalyst
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add sanity checks to mips' bootloader-setup section
cat2-mips-bootloader_setup-tweaks.patch (text/plain), 1.68 KB, created by
Joshua Kinard
on 2006-07-05 10:57:19 UTC
(
hide
)
Description:
Add sanity checks to mips' bootloader-setup section
Filename:
MIME Type:
Creator:
Joshua Kinard
Created:
2006-07-05 10:57:19 UTC
Size:
1.68 KB
patch
obsolete
>--- targets.orig/support/bootloader-setup.sh 2006-07-05 21:47:18 -0400 >+++ targets/support/bootloader-setup.sh 2006-07-06 00:31:10 -0400 >@@ -547,20 +545,20 @@ case ${clst_mainarch} in > # CD image, and then pass these components to the > # `sgibootcd` tool which outputs a final CD image > scratch="${1}" >- mkdir ${scratch}/kernels >- mkdir ${scratch}/kernels/misc >- mkdir ${scratch}/arcload >+ [ ! -d "${scratch}/kernels" ] && mkdir ${scratch}/kernels >+ [ ! -d "${scratch}/kernels/misc" ] && mkdir ${scratch}/kernels/misc >+ [ ! -d "${scratch}/arcload" ] && mkdir ${scratch}/arcload > echo "" > ${scratch}/arc.cf > > # Move kernel binaries to ${scratch}/kernels, and > # move everything else to ${scratch}/kernels/misc > for x in ${clst_boot_kernel}; do >- mv ${1}/boot/${x} ${scratch}/kernels >- mv ${1}/boot/${x}.igz ${scratch}/kernels/misc >+ [ -e "${1}/boot/${x}" ] && mv ${1}/boot/${x} ${scratch}/kernels >+ [ -e "${1}/boot/${x}.igz" ] && mv ${1}/boot/${x}.igz ${scratch}/kernels/misc > done >- rmdir ${1}/boot >+ [ -d "${1}/boot" ] && rmdir ${1}/boot > >- # Source the bashified arcload config >+ # Source the arcload source file to generated required sections of arc.cf > source ${clst_sharedir}/targets/support/mips-arcload_conf.sh > > # Generate top portions of the config >@@ -595,7 +593,9 @@ case ${clst_mainarch} in > echo -e "${cmt2}" >> ${scratch}/arc.cf > > # Move the bootloader binaries & config to their destination >- mv ${1}/sashARCS ${1}/sash64 ${1}/arc.cf ${scratch}/arcload >+ [ -e "${1}/sashARCS" ] && mv ${1}/sashARCS ${scratch}/arcload >+ [ -e "${1}/sash64" ] && mv ${1}/sash64 ${scratch}/arcload >+ [ -e "${1}/arc.cf" ] && mv ${1}/arc.cf ${scratch}/arcload > ;; > esac > exit $?
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 139337
:
90980
|
90981
|
90988
|
90989
|
90990
| 90992 |
91008