You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
1.8 KiB
93 lines
1.8 KiB
1 year ago
|
+++
|
||
|
# vim: ft=markdown
|
||
|
title = 'OpenBSD-current'
|
||
|
summary = 'Keeping up to date with OpenBSD-current. Some quick notes.'
|
||
|
date = '2023-08-10T05:44:58+02:00'
|
||
|
lastmod = '2023-08-11T19:47:56+0000'
|
||
|
categories = [ 'amateur-radio', 'computerstuff' ]
|
||
|
tags = [ 'openbsd' ]
|
||
|
|
||
|
# showBreadcrumbs = true
|
||
|
# showDate = false
|
||
|
# showReadingTime = false
|
||
|
# showWordCount = false
|
||
|
# showPagination = false
|
||
|
|
||
|
# feed_exclude = true
|
||
|
# site_exclude = true
|
||
|
|
||
|
draft = true
|
||
|
|
||
|
+++
|
||
|
|
||
|
Initially (link to old article back from opsd current) I
|
||
|
wanted to not look at OpenBSD-current again but I did it again.
|
||
|
|
||
|
All went good this time and I could compile everything except the
|
||
|
ports. I'm still looking to find a good solution to update all
|
||
|
the packages in one run.
|
||
|
|
||
|
## What went wrong the last time
|
||
|
|
||
|
I have no clue. The last time I had problems with the recent snapshot,
|
||
|
when the packages could not get updated properly. This time they updated
|
||
|
just fine. So maybe this was only an issue with that particular snapshot
|
||
|
back then. Maybe, <abbr title="I don't know">IDK</abbr>.
|
||
|
|
||
|
## Fetch the actual sources
|
||
|
|
||
|
The user is member of **wsrc**.
|
||
|
|
||
|
```console
|
||
|
$ cd /usr/src
|
||
|
$ cvs -q up -Pd -A
|
||
|
```
|
||
|
|
||
|
Initially we fetched the source with
|
||
|
|
||
|
```console
|
||
|
$ cd /usr
|
||
|
$ cvs -qd anoncvs@ftp.hostserver.de:/cvs checkout -P src
|
||
|
```
|
||
|
|
||
|
Same with `xenocara` and `ports`.
|
||
|
|
||
|
## create the kernel
|
||
|
|
||
|
```console
|
||
|
$ cd /sys/arch/$(machine)/compile/GENERIC.MP
|
||
|
$ doas make obj
|
||
|
$ doas make config
|
||
|
$ doas make && make install
|
||
|
```
|
||
|
|
||
|
Is this really needed done as root (except install)?
|
||
|
Current kernel gets copied to /obsd and new kernel is /bsd.
|
||
|
|
||
|
Reboot with the new kernel.
|
||
|
|
||
|
## Build base system
|
||
|
|
||
|
```console
|
||
|
$ cd /usr/src
|
||
|
$ doas make obj && doas make build
|
||
|
```
|
||
|
|
||
|
```console
|
||
|
$ doas sysmerge
|
||
|
$ cd /dev && doas ./MAKEDEV all
|
||
|
```
|
||
|
|
||
|
## Build and install Xenocara (X)
|
||
|
|
||
|
```console
|
||
|
$ cd /src/xenocara
|
||
|
doas make bootstrap
|
||
|
doas make obj
|
||
|
doas make build
|
||
|
```
|
||
|
|
||
|
## Reboot
|
||
|
|
||
|
|