Page MenuHomeFreeBSD

relengGroup
ActivePublic

Recent Activity

Thu, May 21

vladlen closed D57133: website: improve hardware-notes-processor.rb.
Thu, May 21, 7:11 AM · releng
carlavilla accepted D57133: website: improve hardware-notes-processor.rb.

For me is ok, thanks for the improvements you are making to this tool

Thu, May 21, 5:52 AM · releng

Wed, May 20

vladlen added a comment to D57133: website: improve hardware-notes-processor.rb.

This version showed warnings

Wed, May 20, 6:03 PM · releng
vladlen added a comment to D56646: Make links to drivers man in hardware.adoc.

What do you think?

I like that idea

I added the review https://reviews.freebsd.org/D57133

Wed, May 20, 5:57 PM · releng
vladlen requested review of D57133: website: improve hardware-notes-processor.rb.
Wed, May 20, 5:56 PM · releng
carlavilla added a comment to D56646: Make links to drivers man in hardware.adoc.

Sorry I didn't have time to review this. This is absolutely wonderful, thank you so much for doing this. I wanted this for a long time but couldn't make it myself. Could you make the links also bold to match the drivers without manuals?

@ziaee

Hi Alex,
I am preparing the next fix for this script (replace '\[' to '[' , mandoc generates \[, if driver descrition has [ in the text).

I could also add the feature you are asking for.
Now hardware-notes-processor.rb generates messages to stdout and skips processing.
The current list for 15.1R is:

WARNING: The manual page man4.i386/ep does not exists
WARNING: The manual page man4.i386/ex does not exists
WARNING: The manual page man4.i386/fe does not exists
WARNING: The manual page hme does not exists
WARNING: The manual page pcn does not exists
WARNING: The manual page sf does not exists
WARNING: The manual page sn does not exists
WARNING: The manual page tl does not exists
WARNING: The manual page txp does not exists
WARNING: The manual page man4.i386/vx does not exists
WARNING: The manual page wb does not exists
WARNING: The manual page xe does not exists
WARNING: The manual page man4.i386/ce does not exists
WARNING: The manual page man4.i386/cx does not exists
WARNING: The manual page man4.i386/cp does not exists
WARNING: The manual page man4.i386/ctau does not exists
WARNING: The manual page ufintek does not exists

I have other proposal.
If line
&hwlist.man4.i386/ep;
generates this warning

WARNING: The manual page man4.i386/ep does not exists

then I can put this line again into the hardware.adoc. It can be easily found by '&hwlist' string.

  1. If this driver is not supported by this release, then this line can be manually removed one time.
  2. if driver supported by it does not have HARDWARE section, this line will be updated

next time, when HARDWARE section added before reease date.

  1. If HARDWARE section is not added, this line will be removed day before release.

In this case hardware.adoc will be improved during every run
make generate-hardware-notes
One times to copy from template and every run to add new HARDWARE sections.

What do you think?

Wed, May 20, 4:54 PM · releng
vladlen added a comment to D56646: Make links to drivers man in hardware.adoc.

Sorry I didn't have time to review this. This is absolutely wonderful, thank you so much for doing this. I wanted this for a long time but couldn't make it myself. Could you make the links also bold to match the drivers without manuals?

Wed, May 20, 4:35 PM · releng

Tue, May 19

fuz added a comment to D57100: 15.1/relnotes: C23 Language Support.

I think this is a bit too verbose. We don't need to list every single API change, as most of them are rather minor and uninteresting.

Tue, May 19, 11:46 PM · releng
vladlen requested review of D57100: 15.1/relnotes: C23 Language Support.
Tue, May 19, 7:22 PM · releng
vladlen closed D57099: 15.1/relnotes: additional commits entries added.
Tue, May 19, 6:39 PM · releng
vladlen requested review of D57099: 15.1/relnotes: additional commits entries added.
Tue, May 19, 6:38 PM · releng

Sat, May 9

vladlen closed D56902: 15.1/relnotes: additional commits entries added.
Sat, May 9, 11:56 AM · releng
vladlen requested review of D56902: 15.1/relnotes: additional commits entries added.
Sat, May 9, 11:48 AM · releng

Fri, May 8

ziaee closed D56381: sysutils/firstboot-pkg-upgrade: New port.
Fri, May 8, 3:35 PM · pkgbase, releng

Thu, May 7

bapt accepted D56381: sysutils/firstboot-pkg-upgrade: New port.
Thu, May 7, 9:29 PM · pkgbase, releng
cperciva accepted D56381: sysutils/firstboot-pkg-upgrade: New port.

LGTM!

Thu, May 7, 5:46 PM · pkgbase, releng
ziaee updated the summary of D56381: sysutils/firstboot-pkg-upgrade: New port.
Thu, May 7, 5:43 PM · pkgbase, releng
ziaee updated the diff for D56381: sysutils/firstboot-pkg-upgrade: New port.

fix comment typos, thanks @cperciva!

Thu, May 7, 5:41 PM · pkgbase, releng
ziaee updated the summary of D56381: sysutils/firstboot-pkg-upgrade: New port.
Thu, May 7, 5:35 PM · pkgbase, releng
ziaee updated the diff for D56381: sysutils/firstboot-pkg-upgrade: New port.

implement cperciva/lwhsu sha256 suggestion, thanks guys!

Thu, May 7, 5:31 PM · pkgbase, releng
cperciva added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.

Fair point, but I'm a little bit concerned about this being brittle -- /var/db/pkg/local.sqlite is not a public interface for pkg, so there's no guarantee that a future pkg won't (a) change that path, or (b) touch that file even if nothing has changed. I don't want to suddenly discover in FreeBSD 16.3 that VMs aren't rebooting after applying security updates because something changed in pkg.

that is a valid concern from @cperciva I don't think I will change anything in that area, but yes the content of /var/db/pkg is supposed to be opaque. (I know I am the one who recommended the mtime check in the first place).

Thu, May 7, 4:41 PM · pkgbase, releng
bapt added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.

ok, what if we separate the pkg update, and take the state after updating, but before upgrading, then we will actually know if the upgrade did anything. maybe because of this we can simplify the logic at the end a bit more.

I think pkg info | sha256 would work? If any packages are updated (or installed or removed) then that hash will change.

I think it would work too, but I don't see why we wouldn't want to stat the mtime in between updating and upgrading instead. By my rough estimate, time(1) shows 0.08 real for the pkg info | sha256, but for stat -f %c /var/db/pkg/local.sqlite it shows 0.00 real, so, that's less electricity, right?

Fair point, but I'm a little bit concerned about this being brittle -- /var/db/pkg/local.sqlite is not a public interface for pkg, so there's no guarantee that a future pkg won't (a) change that path, or (b) touch that file even if nothing has changed. I don't want to suddenly discover in FreeBSD 16.3 that VMs aren't rebooting after applying security updates because something changed in pkg.

Thu, May 7, 4:20 PM · pkgbase, releng
cperciva added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.

ok, what if we separate the pkg update, and take the state after updating, but before upgrading, then we will actually know if the upgrade did anything. maybe because of this we can simplify the logic at the end a bit more.

I think pkg info | sha256 would work? If any packages are updated (or installed or removed) then that hash will change.

I think it would work too, but I don't see why we wouldn't want to stat the mtime in between updating and upgrading instead. By my rough estimate, time(1) shows 0.08 real for the pkg info | sha256, but for stat -f %c /var/db/pkg/local.sqlite it shows 0.00 real, so, that's less electricity, right?

Thu, May 7, 4:15 PM · pkgbase, releng
ziaee added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.

ok, what if we separate the pkg update, and take the state after updating, but before upgrading, then we will actually know if the upgrade did anything. maybe because of this we can simplify the logic at the end a bit more.

I think pkg info | sha256 would work? If any packages are updated (or installed or removed) then that hash will change.

Thu, May 7, 1:30 PM · pkgbase, releng

Wed, May 6

cperciva added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.

ok, what if we separate the pkg update, and take the state after updating, but before upgrading, then we will actually know if the upgrade did anything. maybe because of this we can simplify the logic at the end a bit more.

Wed, May 6, 11:42 PM · pkgbase, releng
ziaee updated the diff for D56381: sysutils/firstboot-pkg-upgrade: New port.

ok, what if we separate the pkg update, and take the state after updating, but before upgrading, then we will actually know if the upgrade did anything. maybe because of this we can simplify the logic at the end a bit more.

Wed, May 6, 11:08 PM · pkgbase, releng
vladlen closed D56840: 15.1/relnotes: typos and links fixed.
Wed, May 6, 5:49 AM · releng
vladlen requested review of D56840: 15.1/relnotes: typos and links fixed.
Wed, May 6, 5:46 AM · releng

Tue, May 5

vladlen closed D56768: 15.1/relnotes: initial informaton added (135 entries, SA and EN).
Tue, May 5, 8:04 PM · releng
vladlen updated the diff for D56768: 15.1/relnotes: initial informaton added (135 entries, SA and EN).

Fixed comment about mtree latest update.

Tue, May 5, 7:54 PM · releng
vladlen added inline comments to D56768: 15.1/relnotes: initial informaton added (135 entries, SA and EN).
Tue, May 5, 7:48 PM · releng

Mon, May 4

ziaee updated the summary of D56381: sysutils/firstboot-pkg-upgrade: New port.
Mon, May 4, 9:53 PM · pkgbase, releng
ziaee added inline comments to D56381: sysutils/firstboot-pkg-upgrade: New port.
Mon, May 4, 9:31 PM · pkgbase, releng

Sat, May 2

jlduran added a comment to D56768: 15.1/relnotes: initial informaton added (135 entries, SA and EN).

Not sure about the snapshot wording, but that's similar to what we've don in the past.
Thank you for creating this revision!

Sat, May 2, 5:20 PM · releng
vladlen requested review of D56768: 15.1/relnotes: initial informaton added (135 entries, SA and EN).
Sat, May 2, 12:24 PM · releng

Fri, May 1

ziaee updated the diff for D56381: sysutils/firstboot-pkg-upgrade: New port.

greatly simplify based on cperciva feedback.

Fri, May 1, 7:09 PM · pkgbase, releng

Thu, Apr 30

cperciva added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.

I'm inclined to skip the "figure out if we need to reboot or just restart services" complexity at this point because

Thu, Apr 30, 11:47 PM · pkgbase, releng
ziaee updated the diff for D56381: sysutils/firstboot-pkg-upgrade: New port.

incorperate suggestions by @bapt. Do not reboot unless kernel is updated. In all other situations, including situations where only the pkg database is updated, just restart all services.

Thu, Apr 30, 11:21 PM · pkgbase, releng
mhorne added inline comments to D56646: Make links to drivers man in hardware.adoc.
Thu, Apr 30, 12:35 PM · releng

Wed, Apr 29

ziaee updated subscribers of D56646: Make links to drivers man in hardware.adoc.

Sorry I didn't have time to review this. This is absolutely wonderful, thank you so much for doing this. I wanted this for a long time but couldn't make it myself. Could you make the links also bold to match the drivers without manuals?

Wed, Apr 29, 11:18 PM · releng

Tue, Apr 28

vladlen closed D56646: Make links to drivers man in hardware.adoc.
Tue, Apr 28, 5:43 AM · releng

Mon, Apr 27

mhorne added a comment to D56646: Make links to drivers man in hardware.adoc.

VERY GOOD!

Mon, Apr 27, 1:58 PM · releng

Sun, Apr 26

vladlen added a comment to D56646: Make links to drivers man in hardware.adoc.

Thank you so much for taking care of this :)

Sun, Apr 26, 4:53 PM · releng
carlavilla accepted D56646: Make links to drivers man in hardware.adoc.

Thank you so much for taking care of this :)

Sun, Apr 26, 4:07 PM · releng
vladlen added inline comments to D56646: Make links to drivers man in hardware.adoc.
Sun, Apr 26, 1:41 PM · releng
vladlen requested review of D56646: Make links to drivers man in hardware.adoc.
Sun, Apr 26, 1:35 PM · releng

Apr 22 2026

lwhsu added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.

note, i like a blank line at the end of scripts for cat reasons. if we don't want this, i can remove it, but it doesn't hurt anything and we do it all over the place.

Apr 22 2026, 9:29 PM · pkgbase, releng
lwhsu added inline comments to D56381: sysutils/firstboot-pkg-upgrade: New port.
Apr 22 2026, 9:26 PM · pkgbase, releng
lwhsu added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.

use logic inspired from @lwhsu to prevent reboot if nothing happened. compare the file size in bytes of the pkg database instead of using pkg inf and checksum to save water/coal. tested on my laptop

Apr 22 2026, 9:23 PM · pkgbase, releng
lwhsu added a comment to D56381: sysutils/firstboot-pkg-upgrade: New port.
In D56381#1295532, @ivy wrote:

@lwhsu out of interest, how do you end up with a system that has FreeBSD-base packages installed but doesn't have pkg bootstrapped?

Apr 22 2026, 9:18 PM · pkgbase, releng