|
|
@ -3,8 +3,8 @@
|
|
|
|
title = 'OpenBSD-current'
|
|
|
|
title = 'OpenBSD-current'
|
|
|
|
summary = 'Keeping up to date with OpenBSD-current. Some quick notes.'
|
|
|
|
summary = 'Keeping up to date with OpenBSD-current. Some quick notes.'
|
|
|
|
date = '2023-08-11T19:47:56+0000'
|
|
|
|
date = '2023-08-11T19:47:56+0000'
|
|
|
|
lastmod = '2023-08-19T21:30:15+0000'
|
|
|
|
lastmod = '2023-08-20T08:13:37+0000'
|
|
|
|
categories = [ 'amateur-radio', 'computerstuff' ]
|
|
|
|
categories = [ 'computerstuff' ]
|
|
|
|
tags = [ 'openbsd' ]
|
|
|
|
tags = [ 'openbsd' ]
|
|
|
|
|
|
|
|
|
|
|
|
# showBreadcrumbs = true
|
|
|
|
# showBreadcrumbs = true
|
|
|
@ -27,7 +27,14 @@ 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
|
|
|
|
ports. I'm still looking to find a good solution to update all
|
|
|
|
the packages in one run.
|
|
|
|
the packages in one run.
|
|
|
|
|
|
|
|
|
|
|
|
I'm still studying ports(7) and going to learn about bulk(8) and dpb(1).
|
|
|
|
I'm still studying the [ports(7)], [bulk(8)] and [dpb(1)] manpages, as well as
|
|
|
|
|
|
|
|
the [release(8)] and [cvs(1)] pages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ports(7)]: https://man.openbsd.org/ports.7
|
|
|
|
|
|
|
|
[bulk(8)]: https://man.openbsd.org/bulk.8
|
|
|
|
|
|
|
|
[dpb(1)]: https://man.openbsd.org/dpb.1
|
|
|
|
|
|
|
|
[release(8)]: https://man.openbsd.org/release.8
|
|
|
|
|
|
|
|
[cvs(1)]: https://man.openbsd.org/cvs.1
|
|
|
|
|
|
|
|
|
|
|
|
## What went wrong the last time
|
|
|
|
## What went wrong the last time
|
|
|
|
|
|
|
|
|
|
|
@ -80,8 +87,7 @@ $ doas sysmerge
|
|
|
|
$ cd /dev && doas ./MAKEDEV all
|
|
|
|
$ cd /dev && doas ./MAKEDEV all
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This takes on my Lenovo X1 Carbon Gen7 something in between <mark>8 to 12 hours</mark> usually.
|
|
|
|
My Lenovo X1 Carbon Gen7 finishes this step in <mark>~ 12 hours</mark> usually.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Build and install Xenocara (X)
|
|
|
|
## Build and install Xenocara (X)
|
|
|
|
|
|
|
|
|
|
|
@ -175,7 +181,7 @@ $ doas mount -o noperm /dev/sd2a /build
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Set the owner of this directory to build and chmod the directory
|
|
|
|
Set the owner of this directory to build and chmod the directory
|
|
|
|
with 0700. Read along in [release]\(8).
|
|
|
|
with 0700. Read along in the [release man page][release].
|
|
|
|
|
|
|
|
|
|
|
|
[release]: https://man.openbsd.org/release
|
|
|
|
[release]: https://man.openbsd.org/release
|
|
|
|
|
|
|
|
|
|
|
@ -199,6 +205,13 @@ $ cd /usr/src/distrib/sets && doas sh checkflist
|
|
|
|
$ unset RELEASEDIR DESTDIR
|
|
|
|
$ unset RELEASEDIR DESTDIR
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TODO:
|
|
|
|
|
|
|
|
fix time because I forgot them right now. its quicker than 1 hour i think IIRC -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Time for coffe, the second line above takes around <mark>an hour</mark>.
|
|
|
|
|
|
|
|
This step creates a base installation of OpenBSD within `/build/dest` and
|
|
|
|
|
|
|
|
creates the installation media (tarballs) in `/build/release`.
|
|
|
|
|
|
|
|
|
|
|
|
### We continue with building the X release files
|
|
|
|
### We continue with building the X release files
|
|
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
```console
|
|
|
@ -208,6 +221,10 @@ $ doas make checkdist
|
|
|
|
$ unset RELEASEDIR DESTDIR
|
|
|
|
$ unset RELEASEDIR DESTDIR
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TODO: set correct time consumation... -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This run is fairly quick, expect <mark>a few minutes</mark> to run.
|
|
|
|
|
|
|
|
|
|
|
|
### Creating the installation media files
|
|
|
|
### Creating the installation media files
|
|
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
```console
|
|
|
@ -216,6 +233,11 @@ $ cd /usr/src/distrib/$(machine)/iso && doas make
|
|
|
|
$ doas make install
|
|
|
|
$ doas make install
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
You'll find your `install73.{img,iso}` files in `$RELDIR`.
|
|
|
|
Also this is done in a <mark>few minutes</mark>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You'll find your `install73.img` and `install.iso` files in `$RELDIR`.
|
|
|
|
|
|
|
|
Ready to be used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I sometimes upload these files [to my webserver][pub].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[pub]: http://bor.oe7drt.com/pub/OpenBSD/current/amd64/
|
|
|
|