diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2008-04-03 21:52:17 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2008-04-03 21:52:17 +0000 |
commit | d0701f25158295717672ae46df5bf9e2dc5f2f7c (patch) | |
tree | a946055994fffc7ec8b6565cd31d6d6fc733d67a | |
parent | Create /dev/tty1 with dynamic stage3 (diff) | |
download | gli-d0701f25158295717672ae46df5bf9e2dc5f2f7c.tar.gz gli-d0701f25158295717672ae46df5bf9e2dc5f2f7c.tar.bz2 gli-d0701f25158295717672ae46df5bf9e2dc5f2f7c.zip |
sync dynamic-stage3 code in GLIPortage with GLIArch
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@1888 f8877401-5920-0410-a79b-8e2d7e04ca0d
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/GLIPortage.py | 15 |
2 files changed, 13 insertions, 5 deletions
@@ -2,6 +2,9 @@ # Copyright 2005-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 03 Apr 2008; Andrew Gaffney <agaffney@gentoo.org> src/GLIPortage.py: + sync dynamic-stage3 code in GLIPortage with GLIArch + 03 Apr 2008; Andrew Gaffney <agaffney@gentoo.org> src/GLIArchitectureTemplate.py: Create /dev/tty1 with dynamic stage3 diff --git a/src/GLIPortage.py b/src/GLIPortage.py index d66a513..b60a73a 100644 --- a/src/GLIPortage.py +++ b/src/GLIPortage.py @@ -409,11 +409,16 @@ if __name__ == "__main__": modules-update [ -f /usr/bin/binutils-config ] && binutils-config 1 source /etc/profile - #mount -t proc none /proc - #cd /dev - #/sbin/MAKEDEV generic-i386 - #umount /proc - [ -f /lib/udev-state/devices.tar.bz2 ] && tar -C /dev -xjf /lib/udev-state/devices.tar.bz2 + cd /dev + rm console null tty1 + mknod console c 5 1 + mknod null c 1 3 + mknod tty1 c 4 1 + mkdir -m 755 /mnt + mkdir -m 700 /mnt/cdrom + mkdir -m 700 /mnt/floppy + [ -f /usr/sbin/create-cracklib-dict ] && /usr/sbin/create-cracklib-dict /usr/share/dict/* > /dev/null +# [ -f /lib/udev-state/devices.tar.bz2 ] && tar -C /dev -xjf /lib/udev-state/devices.tar.bz2 """ script = open(chroot_dir + "/tmp/extrastuff.sh", "w") script.write(chrootscript) |