[prev in list] [next in list] [prev in thread] [next in thread] 

List:       moblin-commits
Subject:    [Moblin-Commits] moblin-image-creator: Changes to 'master'
From:       prajwal () moblin ! org (Prajwal Karur Mohan)
Date:       2008-09-23 17:08:29
Message-ID: 20080923170829.7F32992C1C7 () moblin ! org
[Download RAW message or body]

This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 debian/changelog                      |    5 ++++-
 platforms/common-yum/initramfs/init.1 |    8 ++------
 2 files changed, 6 insertions(+), 7 deletions(-)

New commits:
commit 85114ef20178cfc16c29e4204ac24760095b0125
Author: Prajwal Mohan <prajwal@linux.intel.com>
Date:   Tue Sep 23 10:03:03 2008 -0700

    Changing init.1 script to accept init kernel param


Diff in this email is a maximum of 400 lines.
diff --git a/debian/changelog b/debian/changelog
index c28f041..946b264 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,7 +14,10 @@ moblin-image-creator (0.46) UNRELEASED; urgency=low
   [ Mitsutaka Amano ]
   * Added short of changelog(for Prajwal and Bob).
 
- -- Mitsutaka Amano <mamano@miraclelinux.com>  Fri, 19 Sep 2008 10:25:35 +0900
+  [ Prajwal Mohan ]
+  * Changing init.1 script to accept init kernel param 
+
+ -- Prajwal Mohan <prajwal@linux.intel.com>  Tue, 23 Sep 2008 09:57:51 -0700
 
 moblin-image-creator (0.45) gaston; urgency=low
 
diff --git a/platforms/common-yum/initramfs/init.1 b/platforms/common-yum/initramfs/init.1
index cbd1e38..b621a4a 100755
--- a/platforms/common-yum/initramfs/init.1
+++ b/platforms/common-yum/initramfs/init.1
@@ -4,6 +4,7 @@ RUNLEVEL=3
 PATH=/bin:/sbin:/usr/bin:/usr/sbin
 ln -s /bin/busybox /bin/umount
 export PATH
+export init=/sbin/init
 
 echo Mounting proc filesystem
 mount -t proc /proc /proc
@@ -116,10 +117,5 @@ done
 echo 'Mounting Root Filesystem ...'
 . /${BOOT}
 mountroot
-cd ${rootmnt}
-exec chroot . /bin/sh <<EOF
-    mount -t proc /proc /proc
-    mount -t sysfs /sys /sys
-    exec /sbin/init $@
-EOF
+exec switch_root ${rootmnt} ${init} $@
 
_______________________________________________
Commits mailing list
Commits@moblin.org
https://lists.moblin.org/mailman/listinfo/commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic