ajout de quelques recommandation du manuel
This commit is contained in:
parent
4e92b055ac
commit
0738a2424a
@ -13,9 +13,25 @@ mount $SYS $CHROOT
|
|||||||
wget $REPO/$STAGE3
|
wget $REPO/$STAGE3
|
||||||
wget $REPO/$SNAPSHOT
|
wget $REPO/$SNAPSHOT
|
||||||
|
|
||||||
tar xjf $STAGE3 -C $CHROOT
|
tar xjpf $STAGE3 -C $CHROOT --xattrs --numeric-owner
|
||||||
tar xjf $SNAPSHOT -C $CHROOT/usr
|
tar xjpf $SNAPSHOT -C $CHROOT/usr
|
||||||
|
chmod 1777 $CHROOT/tmp
|
||||||
mount -t proc none $CHROOT/proc
|
mount -t proc /proc $CHROOT/proc
|
||||||
mount -o bind /dev $CHROOT/dev
|
mount --rbind /sys $CHROOT/sys
|
||||||
|
mount --make-rslave $CHROOT/sys
|
||||||
|
mount --rbind /dev $CHROOT/dev
|
||||||
|
mount --make-rslave $CHROOT/dev
|
||||||
|
test -L /dev/shm && rm /dev/shm && mkdir /dev/shm
|
||||||
|
mount -t tmpfs -o nosuid,nodev,noexec shm /dev/shm
|
||||||
|
chmod 1777 /dev/shm
|
||||||
|
echo "Europe/Paris" > $CHROOT/etc/timezone
|
||||||
cp /etc/resolv.conf $CHROOT/etc/resolv.conf
|
cp /etc/resolv.conf $CHROOT/etc/resolv.conf
|
||||||
|
|
||||||
|
mirrorselect -i -o >> $CHROOT/etc/portage/make.conf #trouver l'astuce pour utiliser les mirroirs les plus rapides
|
||||||
|
mkdir $CHROOT/etc/portage/repos.conf
|
||||||
|
cp $CHROOT/usr/share/portage/config/repos.conf $CHROOT/etc/portage/repos.conf/gentoo.conf
|
||||||
|
# lancer "emerge --config sys-libs/timezone-data" dans le chroot
|
||||||
|
echo "fr_FR.UTF-8 UTF-8" >> $CHROOT/etc/locale.gen
|
||||||
|
# lancer "locale-gen" dans le chroot
|
||||||
|
echo 'LANG="fr_FR.UTF-8"' > /etc/env.d/02locale
|
||||||
|
echo 'LC_COLLATE="C"' >> /etc/env.d/02locale
|
||||||
|
Loading…
x
Reference in New Issue
Block a user