diff options
author | Markus Rothe <corsair@gentoo.org> | 2008-02-12 18:19:40 +0000 |
---|---|---|
committer | Markus Rothe <corsair@gentoo.org> | 2008-02-12 18:19:40 +0000 |
commit | 28f85f90b24ef8e9b1f579b5556ef772ae960269 (patch) | |
tree | 5c98860fbd8b98147e94f91235ee8838f991da97 /app-emulation/systemsim-cell/files | |
parent | Add IBM-ILAR license for app-emulation/systemsim-cell (diff) | |
download | gentoo-2-28f85f90b24ef8e9b1f579b5556ef772ae960269.tar.gz gentoo-2-28f85f90b24ef8e9b1f579b5556ef772ae960269.tar.bz2 gentoo-2-28f85f90b24ef8e9b1f579b5556ef772ae960269.zip |
Initial commit. Ebuild modified from lu_zero's.
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-emulation/systemsim-cell/files')
-rw-r--r-- | app-emulation/systemsim-cell/files/09systemsim-cell | 2 | ||||
-rw-r--r-- | app-emulation/systemsim-cell/files/systemsim-cell-3.0-cowdiskname.patch | 24 |
2 files changed, 26 insertions, 0 deletions
diff --git a/app-emulation/systemsim-cell/files/09systemsim-cell b/app-emulation/systemsim-cell/files/09systemsim-cell new file mode 100644 index 000000000000..df0f22565757 --- /dev/null +++ b/app-emulation/systemsim-cell/files/09systemsim-cell @@ -0,0 +1,2 @@ +PATH="/opt/ibm/systemsim-cell/bin" +ROOTPATH="/opt/ibm/systemsim-cell/bin" diff --git a/app-emulation/systemsim-cell/files/systemsim-cell-3.0-cowdiskname.patch b/app-emulation/systemsim-cell/files/systemsim-cell-3.0-cowdiskname.patch new file mode 100644 index 000000000000..7d6dcdb1b95a --- /dev/null +++ b/app-emulation/systemsim-cell/files/systemsim-cell-3.0-cowdiskname.patch @@ -0,0 +1,24 @@ +--- opt/ibm/systemsim-cell/lib/cell/systemsim.tcl.orig 2008-02-12 17:45:10.000000000 +0100 ++++ opt/ibm/systemsim-cell/lib/cell/systemsim.tcl 2008-02-12 17:52:09.000000000 +0100 +@@ -17,6 +17,12 @@ + + set IMAGES $env(IMAGES_DIR)/cell + ++if { [info exists ::env(COWDISKNAME) ] } { ++ set cowdiskname $env(COWDISKNAME) ++} else { ++ set cowdiskname $env(HOME)/sysroot_disk.cow ++} ++ + # Initialize the systemsim tcl environment + source $env(LIB_DIR)/cell/mambo_init.tcl + +@@ -78,7 +84,7 @@ + mysim mcm 0 load vmlinux $imagefile 0x1000000 + + # Setup the bogus disk that Linux will use +-if {[catch {mysim bogus disk init 0 $sysrootfile newcow sysroot_disk.cow 1024}]} { ++if {[catch {mysim bogus disk init 0 $sysrootfile newcow $cowdiskname 1024}]} { + puts "bogus disk init for $sysrootfile failed" + exit + } |