ajout de env.sh et downloader.sh
This commit is contained in:
parent
824ad82ba0
commit
866226a08b
4
downloader.sh
Normal file
4
downloader.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
WGETCMD="wget -P $CHROOT/"
|
||||
$WGETCMD $REPO/$STAGE3
|
||||
$WGETCMD $REPO/$SNAPSHOT & $WGETCMD $REPO/$KERNEL & $WGETCMD $REPO/$MODULES
|
11
env.sh
Normal file
11
env.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bsh
|
||||
|
||||
SWAP=/dev/sda2
|
||||
SYS=/dev/sda1
|
||||
CHROOT=/mnt/gentoo
|
||||
STAGE3=stage3-amd64-20170907.tar.bz2
|
||||
SNAPSHOT=portage-20171006.tar.bz2
|
||||
REPO=https://repo.jmanson.fr
|
||||
NJOBS=$(grep '^processor' /proc/cpuinfo | sort -u | wc -l)
|
||||
MAKEOPTS="-j$((NJOBS+1)) -l${NJOBS}"
|
||||
EMERGE_DEFAULT_OPTS="--jobs=${NJOBS} --load-average=${NJOBS}"
|
Loading…
x
Reference in New Issue
Block a user