aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-12-03 22:10:42 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-12-03 22:10:42 -0500
commite082a9745b0976709e34a9ac9db6fd3283029d4e (patch)
treeb312d1bf377c7fe6579f76f2bb150f9ee996195d
parent969c377ac6c01e8e3874a0b4822dc42a001c14cb (diff)
downloadinfrastructure-e082a9745b0976709e34a9ac9db6fd3283029d4e.tar.gz
updates for freebsd 14.2-RELEASE
-rw-r--r--files/etc/login.conf.desktop1
-rw-r--r--files/etc/login.conf.freebsd1
-rw-r--r--files/usr/local/etc/poudriere.d/pkglist.pkg_repository1
-rw-r--r--scripts/hostclass/freebsd_hypervisor3
-rw-r--r--scripts/hostclass/pkg_repository2
-rw-r--r--scripts/os/freebsd/80-microcode13
-rw-r--r--vars/hostname/alcatraz12
7 files changed, 17 insertions, 6 deletions
diff --git a/files/etc/login.conf.desktop b/files/etc/login.conf.desktop
index 919a887..7e05091 100644
--- a/files/etc/login.conf.desktop
+++ b/files/etc/login.conf.desktop
@@ -21,6 +21,7 @@ default:\\
:pseudoterminals=unlimited:\\
:kqueues=unlimited:\\
:umtxp=unlimited:\\
+ :pipebuf=unlimited:\\
:priority=0:\\
:ignoretime@:\\
:umask=022:\\
diff --git a/files/etc/login.conf.freebsd b/files/etc/login.conf.freebsd
index e712b88..f1779ce 100644
--- a/files/etc/login.conf.freebsd
+++ b/files/etc/login.conf.freebsd
@@ -21,6 +21,7 @@ default:\\
:pseudoterminals=unlimited:\\
:kqueues=unlimited:\\
:umtxp=unlimited:\\
+ :pipebuf=unlimited:\\
:priority=0:\\
:ignoretime@:\\
:umask=022:\\
diff --git a/files/usr/local/etc/poudriere.d/pkglist.pkg_repository b/files/usr/local/etc/poudriere.d/pkglist.pkg_repository
index 8b43eca..e54ba57 100644
--- a/files/usr/local/etc/poudriere.d/pkglist.pkg_repository
+++ b/files/usr/local/etc/poudriere.d/pkglist.pkg_repository
@@ -140,6 +140,7 @@ sysutils/pwgen
sysutils/stow
sysutils/tmux
sysutils/tree
+sysutils/x86info
textproc/en-hunspell
textproc/hs-pandoc
textproc/jq
diff --git a/scripts/hostclass/freebsd_hypervisor b/scripts/hostclass/freebsd_hypervisor
index cbd9c92..4e392e7 100644
--- a/scripts/hostclass/freebsd_hypervisor
+++ b/scripts/hostclass/freebsd_hypervisor
@@ -81,4 +81,5 @@ service devfs restart
# Enable jails/bhyve to start on boot.
sysrc -v \
vmctl_enable=YES \
- jail_enable=YES
+ jail_enable=YES \
+ jail_reverse_stop=YES
diff --git a/scripts/hostclass/pkg_repository b/scripts/hostclass/pkg_repository
index b6dff4a..5ed852d 100644
--- a/scripts/hostclass/pkg_repository
+++ b/scripts/hostclass/pkg_repository
@@ -1,6 +1,6 @@
#!/bin/sh
-: ${poudriere_versions:='14.1-RELEASE'}
+: ${poudriere_versions:='14.2-RELEASE'}
: ${poudriere_jobs:="$nproc"}
: ${poudriere_dataset:="${state_dataset:-zroot}"}
: ${poudriere_make_jobs_number:='8'}
diff --git a/scripts/os/freebsd/80-microcode b/scripts/os/freebsd/80-microcode
index 0d2a910..4dfebdf 100644
--- a/scripts/os/freebsd/80-microcode
+++ b/scripts/os/freebsd/80-microcode
@@ -9,10 +9,17 @@ fi
if [ "${enable_microcode_updates:-}" = false ]; then
set_loader_conf cpu_microcode_load=NO
+ sysrc -v microcode_update_enable=NO
else
pkg install -y cpu-microcode
- set_loader_conf \
- cpu_microcode_load=YES \
- cpu_microcode_name="/boot/firmware/${microcode_name}"
+ if [ "${microcode_after_boot:-}" = true ];
+ set_loader_conf cpu_microcode_load=NO
+ sysrc -v microcode_update_enable=YES
+ else
+ sysrc -v microcode_update_enable=NO
+ set_loader_conf \
+ cpu_microcode_load=YES \
+ cpu_microcode_name="/boot/firmware/${microcode_name}"
+ fi
fi
diff --git a/vars/hostname/alcatraz1 b/vars/hostname/alcatraz1
index 9b7d2ef..7197872 100644
--- a/vars/hostname/alcatraz1
+++ b/vars/hostname/alcatraz1
@@ -1,4 +1,4 @@
#!/bin/sh
# Causes UEFI exception on boot, "invalid opcode" ???
-enable_microcode_updates=false
+microcode_after_boot=true