[oe-commits] Otavio Salvador : initramfs-uniboot: add support to start a shell and enable debug

GIT User account git at amethyst.openembedded.net
Mon Feb 23 17:34:27 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 83ab7056b38ea95541629897a1077651a64a0068
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=83ab7056b38ea95541629897a1077651a64a0068

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Fri Feb 20 20:32:09 2009 -0300

initramfs-uniboot: add support to start a shell and enable debug

To start a shell, you just need to use 'shell' boot param while to
enable shell debugging use 'debug'.

---

 packages/initrdscripts/files/init.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/packages/initrdscripts/files/init.sh b/packages/initrdscripts/files/init.sh
index 5cdbab5..65fef26 100644
--- a/packages/initrdscripts/files/init.sh
+++ b/packages/initrdscripts/files/init.sh
@@ -35,6 +35,8 @@ read_args() {
                 ROOT_FSTYPE=$optarg ;;
             rootdelay=*)
                 rootdelay=$optarg ;;
+            debug) set -x ;;
+            shell) sh ;;
         esac
     done
 }





More information about the Openembedded-commits mailing list