diff options
Diffstat (limited to 'src/GLIPortage.py')
-rw-r--r-- | src/GLIPortage.py | 15 |
1 files changed, 10 insertions, 5 deletions
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) |