devimage 0.1: Up a usb0 on load, now that we're modular.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sat, 16 Feb 2008 00:20:31 +0000 (00:20 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sat, 16 Feb 2008 00:20:31 +0000 (00:20 +0000)
packages/initrdscripts/devimage/devimage.sh
packages/initrdscripts/devimage_0.1.bb

index e85debf..8a264ed 100644 (file)
@@ -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
index 08949b9..c671f38 100644 (file)
@@ -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