[Frugalware-darcs] setup: added an uml target

VMiklos vmiklos at frugalware.org
Mon Jun 11 14:34:24 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=setup;a=darcs_commitdiff;h=20070611123312-e2957-f061fcb5850755063d76c8408b6301a3fc648c8e.gz;

[added an uml target
VMiklos <vmiklos at frugalware.org>**20070611123312] {
hunk ./HACKING 31
+or
+
+$ make uml - boots the brand new initrd
+
hunk ./Makefile 37
+UML_OPTS ?= ubd0=~/documents/uml/root_fs eth0=tuntap,,,192.168.0.254 mem=128MB
hunk ./Makefile 62
+UML ?= linux
hunk ./Makefile 194
+uml:
+	$(UML) $(UML_OPTS) initrd=initrd-$(CARCH).img \
+	load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=$(shell du --block-size=1000 initrd-$(CARCH).img|sed 's/\t.*//') \
+	rw root=/dev/ram
+
}


More information about the Frugalware-darcs mailing list