bizarrement le script s’arrête quand set -eu est lancer avant mirrorselect ... vue que mirrorselect est complètement facultatif hop on décale
This commit is contained in:
parent
3091032d0c
commit
10c4314fc5
@ -1,9 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
#configurer portage
|
#configurer portage
|
||||||
mirrorselect -i -c FR -o >> $CHROOT/etc/portage/make.conf
|
mirrorselect -i -c FR -o >> $CHROOT/etc/portage/make.conf
|
||||||
|
set -eu
|
||||||
echo MAKEOPTS='"'$MAKEOPTS'"' >> $CHROOT/etc/portage/make.conf
|
echo MAKEOPTS='"'$MAKEOPTS'"' >> $CHROOT/etc/portage/make.conf
|
||||||
echo EMERGE_DEFAULT_OPTS='"'$EMERGE_DEFAULT_OPTS'"' >> $CHROOT/etc/portage/make.conf
|
echo EMERGE_DEFAULT_OPTS='"'$EMERGE_DEFAULT_OPTS'"' >> $CHROOT/etc/portage/make.conf
|
||||||
echo PORTAGE_BINHOST='"'$PORTAGE_BINHOST'"' >> $CHROOT/etc/portage/make.conf
|
echo PORTAGE_BINHOST='"'$PORTAGE_BINHOST'"' >> $CHROOT/etc/portage/make.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user