diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-16 00:20:31 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-16 00:20:31 +0000 |
commit | 122a4440127e4015df191e4204fd05e132cba3eb (patch) | |
tree | db42aeff44f6146169f7ea76b04cd842e481d06d /packages/initrdscripts | |
parent | 610ba5eb16e52832579366ac404ba40d8a947561 (diff) |
devimage 0.1: Up a usb0 on load, now that we're modular.
Diffstat (limited to 'packages/initrdscripts')
-rw-r--r-- | packages/initrdscripts/devimage/devimage.sh | 5 | ||||
-rw-r--r-- | packages/initrdscripts/devimage_0.1.bb | 2 |
2 files changed, 6 insertions, 1 deletions
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 |