~oranenj

Recent activity

Re: [PATCH builds.sr.ht 1/3] Use short version based on $openbsd_version instead of hardcoding set filenames a month ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

On 2/22/21 4:11 PM, Drew DeVault wrote:
> I'd rather not add releases which are not well-supported for downstream
> use by the upstream distributor - in this case, it doesn't seem like
> OpenBSD current is very conducive to downstream use. Am I wrong? FreeBSD
> current causes us a lot of headaches.

With OpenBSD, using -current is actually reasonably supported as long as 
you use snapshots. Building your own is actively discouraged. I'll 
expect there will be occasional breakage and the image will fail to 
build for whatever reason, but I imagine it will still be useful in 
allowing projects to test against an upcoming OpenBSD release, 
especially given that they often make quite drastic changes.

If you set up automation to rebuild -current images, say, once a week,

Re: [PATCH builds.sr.ht 1/3] Use short version based on $openbsd_version instead of hardcoding set filenames a month ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

On 2/22/21 3:58 PM, Drew DeVault wrote:
> Why is this desirable? As far as I can tell, it introduces some hacks
> which we cannot expect to be reliable.

The problem with -current is that around release time, the filenames for 
current will be the same as the previous version (ie. after 6.9 is 
released, current will still be "6.9" for some time after that, despite 
the snapshots being newer). Without autodetecting the version number, 
the current image would break at random some time after release when the 
filenames change, requiring a patch to fix it.

There's a chance that the "autodetection" will break eventually too, but 
the OpenBSD repository structure has been fairly stable for a long time, 
so I'm willing to bet that it will break less often than once per

Re: [PATCH builds.sr.ht 3/3] openbsd: run syspatch on amd64 by default a month ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

On 2/22/21 3:58 PM, Drew DeVault wrote:
> What is syspatch for? I'm not familiar with OpenBSD.

It installs the OpenBSD base system errata patches, which are available 
in binary form for some architectures, see eg. 
https://www.openbsd.org/errata68.html

Generally they're not critical for build images, but having them can't 
hurt; I should've enabled them earlier, but forgot.

--
Jarkko

[PATCH sr.ht-docs] OpenBSD 6.8 released, update compatibility docs accordingly 5 months ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

---
 builds.sr.ht/compatibility.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/builds.sr.ht/compatibility.md b/builds.sr.ht/compatibility.md
index 9971a15..a7e0df8 100644
--- a/builds.sr.ht/compatibility.md
@@ -682,10 +682,10 @@ also: [upstream release cycle](https://www.openbsd.org/faq/faq5.html)
<table class="table table-sm table-hover">
  <thead>
    <tr>
      <th>OpenBSD 6.7</th>
      <th>OpenBSD 6.8</th>
[message trimmed]

[PATCH builds.sr.ht 4/4] OpenBSD: swap latest from 6.7 to 6.8 5 months ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

---
 images/openbsd/latest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/openbsd/latest b/images/openbsd/latest
index 5840475..8004d90 120000
--- a/images/openbsd/latest
+++ b/images/openbsd/latest
@@ -1 +1 @@
6.7
\ No newline at end of file
6.8
\ No newline at end of file
--
[message trimmed]

[PATCH builds.sr.ht 3/4] Update build.yml to build OpenBSD 6.8 5 months ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

This also changes the build image to "latest" so that the
bootstrap build can be done using the previous version before
applying the patch that swaps the latest link to point to the
updated version.
---
 images/openbsd/build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/images/openbsd/build.yml b/images/openbsd/build.yml
index 4186621..f062c06 100644
--- a/images/openbsd/build.yml
+++ b/images/openbsd/build.yml
@@ -1,5 +1,5 @@
# To bootstrap, first manually build and deploy with this manifest using the previous version, then rebuild
[message trimmed]

[PATCH builds.sr.ht 2/4] Remove OpenBSD 6.6 with the release of 6.8 5 months ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

---
 images/openbsd/6.6/functions | 1 -
 images/openbsd/6.6/genimg    | 9 ---------
 2 files changed, 10 deletions(-)
 delete mode 120000 images/openbsd/6.6/functions
 delete mode 100755 images/openbsd/6.6/genimg

diff --git a/images/openbsd/6.6/functions b/images/openbsd/6.6/functions
deleted file mode 120000
index c0b5bcc..0000000
--- a/images/openbsd/6.6/functions
@@ -1 +0,0 @@
../functions
[message trimmed]

[PATCH builds.sr.ht 1/4] OpenBSD 6.8 5 months ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

---
 images/openbsd/6.8/functions | 1 +
 images/openbsd/6.8/genimg    | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 120000 images/openbsd/6.8/functions
 create mode 100755 images/openbsd/6.8/genimg

diff --git a/images/openbsd/6.8/functions b/images/openbsd/6.8/functions
new file mode 120000
index 0000000..c0b5bcc
--- /dev/null
+++ b/images/openbsd/6.8/functions
@@ -0,0 +1 @@
../functions
[message trimmed]

[PATCH builds.sr.ht 0/4] OpenBSD 6.8 support 5 months ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

OpenBSD 6.8 seems to build nicely[0] using the previous 6.7
image as bootstrap, so these patches should be enough to get it
up and running.

Apply until the link swap, build the bootstrap image, apply the link
swap (or specify 6.8 manually), and rebuild to get the final image.

[0] <https://builds.sr.ht/~oranenj/job/323981>

[PATCH sr.ht-docs] Add OpenBSD 6.7 and drop 6.5 10 months ago

From Jarkko Oranen to ~sircmpwn/sr.ht-dev

---
 builds.sr.ht/compatibility.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/builds.sr.ht/compatibility.md b/builds.sr.ht/compatibility.md
index f3afeff..706ac07 100644
--- a/builds.sr.ht/compatibility.md
@@ -641,10 +641,10 @@ Maintainer: Jarkko Oranen <oranenj@iki.fi>
<table class="table table-sm table-hover">
  <thead>
    <tr>
      <th>OpenBSD 6.6</th>
      <th>OpenBSD 6.7</th>
[message trimmed]