Update OpenBSD: diferenças entre revisões
Saltar para a navegação
Saltar para a pesquisa
(Criou a página com "== User == You need to add your local user to the '''wsrc''' and '''xobj''' groups. <syntaxhighlight lang="shell"> user mod -G wsrc falso user mod -G xobj falso </syntaxhi...") |
Sem resumo de edição |
||
| (Há 4 edições intermédias do mesmo utilizador que não estão a ser apresentadas) | |||
| Linha 73: | Linha 73: | ||
<syntaxhighlight lang="shell"> | <syntaxhighlight lang="shell"> | ||
cd /usr/src/sys/arch/`uname -m` | cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP | ||
doas make obj | |||
doas make config | |||
make | doas make -j4 | ||
make -j4 | |||
doas make install | doas make install | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Linha 114: | Linha 113: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category: | [[Category:*BSD]] | ||
Edição atual desde as 17h53min de 10 de abril de 2021
User
You need to add your local user to the wsrc and xobj groups.
user mod -G wsrc falso
user mod -G xobj falsoAnd create the directories with the correct group.
cd /usr
doas mkdir -p src xenocara ports obj xobj
doas chown falso:wsrc src xenocara ports
doas chown build:wobj obj xobj
doas chmod 775 src xenocara ports obj xobjAnd logout and login the user.
Update
using cvs
checkout
CVSROOT=anoncvs@anoncvs.fr.openbsd.org:/cvs
cd /usr
cvs -d$CVSROOT checkout -P src
cvs -d$CVSROOT checkout -P xenocara
cvs -d$CVSROOT checkout -P portsupdate
CVSROOT=anoncvs@anoncvs.fr.openbsd.org:/cvs
cd /usr/src
cvs -d$CVSROOT up -rHEAD -Pd
cd /usr/ports
cvs -d$CVSROOT up -rHEAD -Pd
cd /usr/xenocara
cvs -d$CVSROOT up -rHEAD -Pdusing github mirror
checkout
cd /usr
git clone https://github.com/openbsd/src.git
git clone https://github.com/openbsd/xenocara.git
git clone https://github.com/openbsd/ports.gitupdate
cd /usr/src
git pull
cd /usr/xenocara
git pull
cd /usr/ports
git pullBuild
kernel
cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP
doas make obj
doas make config
doas make -j4
doas make installuserland
doas rm -rf /usr/obj/*
cd /usr/src
make obj
cd /usr/src/etc && doas env DESTDIR=/ make distrib-dirs
cd /usr/src
doas make -j4 buildxenocara
# doas rm -rf /usr/xobj/*
cd /usr/xenocara
doas make bootstrap
make obj
doas make -j4 buildsysmerge
doas sysmergePorts
doas pkg_add -ui