diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-12 23:38:04 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-12 23:38:04 +0000 |
commit | 5aa68e560748a64329dbb180bbb03ab0d05cc71e (patch) | |
tree | de87c979dabcc86caf47bca3c911c2e1e4ccfad4 /packages/initrdscripts/devimage/devimage.sh | |
parent | c20aac68281e6494217920186ef69db63e4f9dd8 (diff) |
devimage-image, devimage_0.1: Finally, an initrd for kernel testing (minimal userspace involvment).
* Details:
# Image for kernel debugging and development testing
# Contains minimal userspace shim (no udev, etc.), but all useful
# "kernel userspace" utilities (feel free to add missing).
# Allows to login via serial and real console or SSH
Diffstat (limited to 'packages/initrdscripts/devimage/devimage.sh')
-rw-r--r-- | packages/initrdscripts/devimage/devimage.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/initrdscripts/devimage/devimage.sh b/packages/initrdscripts/devimage/devimage.sh new file mode 100644 index 0000000000..e85debf245 --- /dev/null +++ b/packages/initrdscripts/devimage/devimage.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +mkdir /proc +mount -t proc proc /proc +mkdir /sys +mount -t sysfs sysfs /sys +mkdir -p /dev/pts +mount -t devpts devpts /dev/pts + +/usr/sbin/dropbear -E + +/bin/sh |