This commit is contained in:
milisbir 2017-12-23 07:12:36 +02:00
parent 0eb3417bc8
commit d4e31b95e7
1 changed files with 6 additions and 4 deletions

View File

@ -979,14 +979,16 @@ mount_islemi(){
cp -v /etc/resolv.conf $LFS/etc cp -v /etc/resolv.conf $LFS/etc
mount -v -B /dev $LFS/dev mount -v -B /dev $LFS/dev
#mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620 #mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
mount -vt devpts devpts $LFS/dev/pts #mount -vt devpts devpts $LFS/dev/pts
# make hatası düzeliyor-segm fault
mount --bind /dev/pts $LFS/dev/pts
mount -vt proc proc $LFS/proc mount -vt proc proc $LFS/proc
#bazı durumlarda bu kullanılacak tty değilde pty i kullanan derlemelerde #bazı durumlarda bu kullanılacak tty değilde pty i kullanan derlemelerde
#mount --bind /dev/pts $LFS/dev/pts #mount --bind /dev/pts $LFS/dev/pts
mount -vt sysfs sysfs $LFS/sys mount -vt sysfs sysfs $LFS/sys
if [ -h /dev/shm ]; then rm -f $LFS/dev/shm;mkdir $LFS/dev/shm;fi #if [ -h /dev/shm ]; then rm -f $LFS/dev/shm;mkdir $LFS/dev/shm;fi
mount -vt tmpfs shm $LFS/dev/shm #mount -vt tmpfs shm $LFS/dev/shm
chmod 1777 /dev/shm #chmod 1777 /dev/shm
} }
chroot_gir(){ chroot_gir(){