* [gentoo-commits] gentoo-x86 commit in app-emulation/systemsim-cell/files: 09systemsim-cell systemsim-cell-3.0-cowdiskname.patch
@ 2008-02-12 18:19 Markus Rothe (corsair)
0 siblings, 0 replies; only message in thread
From: Markus Rothe (corsair) @ 2008-02-12 18:19 UTC (permalink / raw
To: gentoo-commits
corsair 08/02/12 18:19:41
Added: 09systemsim-cell
systemsim-cell-3.0-cowdiskname.patch
Log:
Initial commit. Ebuild modified from lu_zero's.
(Portage version: 2.1.3.19)
Revision Changes Path
1.1 app-emulation/systemsim-cell/files/09systemsim-cell
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/files/09systemsim-cell?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/files/09systemsim-cell?rev=1.1&content-type=text/plain
Index: 09systemsim-cell
===================================================================
PATH="/opt/ibm/systemsim-cell/bin"
ROOTPATH="/opt/ibm/systemsim-cell/bin"
1.1 app-emulation/systemsim-cell/files/systemsim-cell-3.0-cowdiskname.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/files/systemsim-cell-3.0-cowdiskname.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/systemsim-cell/files/systemsim-cell-3.0-cowdiskname.patch?rev=1.1&content-type=text/plain
Index: systemsim-cell-3.0-cowdiskname.patch
===================================================================
--- 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
}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-12 18:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12 18:19 [gentoo-commits] gentoo-x86 commit in app-emulation/systemsim-cell/files: 09systemsim-cell systemsim-cell-3.0-cowdiskname.patch Markus Rothe (corsair)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox