Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master cauldron by Karsten Behrmann (f7caae12e8d91f9619361d1f3ae99ffa01edaaf8)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Karsten Behrmann <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master cauldron by Karsten Behrmann (f7caae12e8d91f9619361d1f3ae99ffa01edaaf8)
  • Date: Sun, 25 Nov 2007 09:20:51 -0600

GIT changes to master cauldron by Karsten Behrmann
<BearPerson AT sourcemage.org>:

initrd/sbin/smgl.init | 23 +----------------------
1 files changed, 1 insertion(+), 22 deletions(-)

New commits:
commit f7caae12e8d91f9619361d1f3ae99ffa01edaaf8
Author: Karsten Behrmann <BearPerson AT sourcemage.org>
Commit: Karsten Behrmann <BearPerson AT sourcemage.org>

No longer make stuff writeable from the initrd,
an initscript does this nowadays.

commit 449323a5fffd5a50ade60fb97430884a6ecde814
Author: Karsten Behrmann <BearPerson AT sourcemage.org>
Commit: Karsten Behrmann <BearPerson AT sourcemage.org>

get rid of a modified file that doesn't appear to have any
modifications... I need to get better used to git

diff --git a/initrd/sbin/smgl.init b/initrd/sbin/smgl.init
index 591d44c..f66e798 100755
--- a/initrd/sbin/smgl.init
+++ b/initrd/sbin/smgl.init
@@ -108,27 +108,6 @@ main() {

umount -n /proc

- # setup writable /etc /root and nfs stat dir if ISO is ROOT
- if [ -f $ID ] ;then
- /bin/mount -t $VFSTYPE -o $OPTIONS $ROOT $MOUNT/mnt/cdrom
- cd $MOUNT/mnt/cdrom
- #set up writeable /dev
- echo "Setting up writeable /dev for the udevness"
- /bin/mount -t tmpfs tmpfs $MOUNT/dev
- $MOUNT/bin/cp -a --parents dev $MOUNT
-
- for i in tmp etc root var/log var/lib/nfs ;do
- echo "Setting up writable /$i for install"
- /bin/mount -t tmpfs tmpfs $MOUNT/$i
- $MOUNT/bin/cp -a --parents $i $MOUNT
- done
- cd $MOUNT
- /bin/umount $MOUNT/mnt/cdrom
-
- # Installer needs this to do its "eject CD" magic
- echo "$ROOT" >$MOUNT/etc/cddev
- fi
-
cd $MOUNT

if [ -d initrd ]; then
@@ -146,7 +125,7 @@ main() {

mount -n -t proc proc proc

- exec chroot . /sbin/init "${INITOPTS[*]}" <dev/console >dev/console 2>&1
+ exec chroot . /sbin/init "${INITOPTS[@]}" <dev/console >dev/console 2>&1

done




  • [SM-Commit] GIT changes to master cauldron by Karsten Behrmann (f7caae12e8d91f9619361d1f3ae99ffa01edaaf8), Karsten Behrmann, 11/25/2007

Archive powered by MHonArc 2.6.24.

Top of Page