From 122a4440127e4015df191e4204fd05e132cba3eb Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 16 Feb 2008 00:20:31 +0000 Subject: devimage 0.1: Up a usb0 on load, now that we're modular. --- packages/initrdscripts/devimage/devimage.sh | 5 +++++ packages/initrdscripts/devimage_0.1.bb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/initrdscripts/devimage/devimage.sh b/packages/initrdscripts/devimage/devimage.sh index e85debf245..8a264ed33d 100644 --- a/packages/initrdscripts/devimage/devimage.sh +++ b/packages/initrdscripts/devimage/devimage.sh @@ -7,6 +7,11 @@ mount -t sysfs sysfs /sys mkdir -p /dev/pts mount -t devpts devpts /dev/pts +modprobe g_ether +ifconfig usb0 192.168.2.202 + +export PATH=$PATH:/usr/sbin + /usr/sbin/dropbear -E /bin/sh diff --git a/packages/initrdscripts/devimage_0.1.bb b/packages/initrdscripts/devimage_0.1.bb index 08949b9515..c671f38025 100644 --- a/packages/initrdscripts/devimage_0.1.bb +++ b/packages/initrdscripts/devimage_0.1.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Set of files to initialize bare system suitable for kernel, etc. testing." SRC_URI = "file://devimage.sh file://passwd file://dropbear_rsa_host_key" -PR = "r2" +PR = "r3" do_install() { install -m 0755 ${WORKDIR}/devimage.sh ${D}/init -- cgit v1.2.3