parent
e0cf1dad1c
commit
bcbb2cd164
@ -1,44 +0,0 @@
|
|||||||
+++
|
|
||||||
# vim: ft=markdown
|
|
||||||
title = 'Following OpenBSD-current snapshots'
|
|
||||||
summary = '''I guesss this is now a working scenario in which I can update
|
|
||||||
to a working current snapshots but without the need of building OpenBSD
|
|
||||||
from source.'''
|
|
||||||
date = '2023-09-24T21:07:37+0200'
|
|
||||||
#lastmod = ''
|
|
||||||
categories = [ 'computerstuff' ]
|
|
||||||
tags = [ 'openbsd' ]
|
|
||||||
|
|
||||||
+++
|
|
||||||
|
|
||||||
## Upgrade process
|
|
||||||
|
|
||||||
At the boot prompt, boot with the `bsd.rd` kernel.
|
|
||||||
|
|
||||||
```plain
|
|
||||||
>> OpenBSD/amd64 BOOTX64 3.65
|
|
||||||
boot> boot bsd.rd
|
|
||||||
```
|
|
||||||
|
|
||||||
Choosing <kbd>U</kbd> for _Upgrade_ and continue to the server path.
|
|
||||||
|
|
||||||
Type `/pub/OpenBSD/snapshots/amd64` to set the sets location.
|
|
||||||
|
|
||||||
This installs now the latest compiled system binaries built from the current
|
|
||||||
OpenBSD source tree.
|
|
||||||
|
|
||||||
After the installation you can normally hit <kbd>Enter</kbd> to reboot your
|
|
||||||
computer.
|
|
||||||
|
|
||||||
Finish the upgrade process by updating the userland packages/binaries with:
|
|
||||||
|
|
||||||
```console
|
|
||||||
$ doas pkg_add -u
|
|
||||||
```
|
|
||||||
|
|
||||||
# My thoughts
|
|
||||||
|
|
||||||
I'm not sure where the exact difference is between this workflow and just using
|
|
||||||
`sysupgrade -s` which should also update the base system to the latest available
|
|
||||||
snapshot.
|
|
||||||
|
|
@ -0,0 +1,102 @@
|
|||||||
|
+++
|
||||||
|
# vim: ft=markdown
|
||||||
|
title = 'Following OpenBSD-current snapshots'
|
||||||
|
summary = '''I guesss this is now a working scenario in which I can update
|
||||||
|
to a working current snapshots but without the need of building OpenBSD
|
||||||
|
from source.'''
|
||||||
|
date = '2023-09-30T19:13:29+0200'
|
||||||
|
#lastmod = ''
|
||||||
|
categories = [ 'computerstuff' ]
|
||||||
|
tags = [ 'openbsd' ]
|
||||||
|
|
||||||
|
+++
|
||||||
|
|
||||||
|
## Upgrade process
|
||||||
|
|
||||||
|
At the boot prompt, boot with the `bsd.rd` kernel.
|
||||||
|
|
||||||
|
```plain
|
||||||
|
>> OpenBSD/amd64 BOOTX64 3.65
|
||||||
|
boot> boot bsd.rd
|
||||||
|
```
|
||||||
|
|
||||||
|
Choosing <kbd>U</kbd> for _Upgrade_ and continue to the server path.
|
||||||
|
|
||||||
|
Type `/pub/OpenBSD/snapshots/amd64` to set the sets location.
|
||||||
|
|
||||||
|
This installs now the latest compiled system binaries built from the current
|
||||||
|
OpenBSD source tree.
|
||||||
|
|
||||||
|
After the installation you can normally hit <kbd>Enter</kbd> to reboot your
|
||||||
|
computer.
|
||||||
|
|
||||||
|
Finish the upgrade process by updating the userland packages/binaries with:
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ doas pkg_add -u
|
||||||
|
```
|
||||||
|
|
||||||
|
## My thoughts
|
||||||
|
|
||||||
|
I'm not sure where the exact difference is between this workflow and just using
|
||||||
|
`sysupgrade -s` which should also update the base system to the latest available
|
||||||
|
snapshot.
|
||||||
|
|
||||||
|
## Another approach
|
||||||
|
|
||||||
|
Using `sysupgrade`.
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ doas sysupgrade -s
|
||||||
|
Fetching from ftp://mirror.hs-esslingen.de/pub/OpenBSD/snapshots/amd64/
|
||||||
|
SHA256.sig 100% |*******************************| 2144 00:00
|
||||||
|
Signature Verified
|
||||||
|
INSTALL.amd64 100% |*****************************| 44856 00:00
|
||||||
|
base74.tgz 100% |******************************| 368 MB 00:40
|
||||||
|
bsd 100% |******************************| 24747 KB 00:04
|
||||||
|
bsd.mp 100% |******************************| 24859 KB 00:04
|
||||||
|
bsd.rd 100% |******************************| 4550 KB 00:01
|
||||||
|
comp74.tgz 100% |******************************| 75643 KB 00:09
|
||||||
|
game74.tgz 100% |******************************| 2748 KB 00:02
|
||||||
|
man74.tgz 100% |******************************| 7830 KB 00:01
|
||||||
|
xbase74.tgz 100% |******************************| 57139 KB 00:06
|
||||||
|
xfont74.tgz 100% |******************************| 22968 KB 00:03
|
||||||
|
xserv74.tgz 100% |******************************| 14951 KB 00:03
|
||||||
|
xshare74.tgz 100% |******************************| 4578 KB 00:01
|
||||||
|
Verifying sets.
|
||||||
|
Fetching updated firmware.
|
||||||
|
fw_update: add none; update none; keep intel,inteldrm,iwm,vmm
|
||||||
|
Upgrading.
|
||||||
|
```
|
||||||
|
|
||||||
|
The computer will reboot after the download.
|
||||||
|
|
||||||
|
Updating installed packages:
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ doas pkg_add -u
|
||||||
|
```
|
||||||
|
|
||||||
|
Whenever a new release appears (currently 7.4) you may need to
|
||||||
|
add `-D snap` to the above command.
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ doas pkg_add -D snap -u
|
||||||
|
quirks-6.157 signed on 2023-09-29T21:02:26Z
|
||||||
|
```
|
||||||
|
|
||||||
|
Well, I usually reboot the laptop after this step just to be sure.
|
||||||
|
Also my `~/.cache` gets cleaned on reboot so also the Firefox
|
||||||
|
cache gets cleaned (and others) in one run :)
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ shutdown -r now
|
||||||
|
Shutdown NOW!
|
||||||
|
shutdown: [pid: 50674]
|
||||||
|
|
||||||
|
System shutdown time has arrived
|
||||||
|
█
|
||||||
|
```
|
||||||
|
|
||||||
|
Computer reboots... and all should be fine again.
|
||||||
|
|
Loading…
Reference in new issue