INSTALL.SITE(5)

πŸ“¦ in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is INSTALL.SITE(5), a File Formats Manual page, and she is all about install.site, upgrade.site β€” OpenBSD installation and upgrade customization. πŸ¦‹

✨ DESCRIPTION ✨

so the OpenBSD installer literally allows user-created sets and scripts to complement and modify the files from a default install prior to rebooting. it's giving "bring your own sparkle" πŸ’…

Like the official file sets, the generic site${VERSION}.tgz and hostname-specific site${VERSION}-$(hostname -s).tgz sets are gzip(1) compressed tar(1) archives rooted in / and untarred with the -xzphf options. no cap.

siteXY sets must be included in index.txt in order to be fetched via HTTP(S) and selectable in the installer. iykyk πŸ‘‘

If they exist and are executable, /install.site and /upgrade.site are run at the end of the install and upgrade process, respectively, with chroot(8) based at the system's root. periodt. πŸ”₯

πŸŽ€ FILES πŸŽ€

  • site${VERSION}.tgz β€” Generic set.
  • site${VERSION}-$(hostname -s).tgz β€” Host-specific set.
  • /upgrade.site β€” Generic post-upgrade script.
  • /install.site β€” Generic post-install script.

🌸 EXAMPLES 🌸

Create site70 sets and update the index:

# tar -czhf site70.tgz generic/
# tar -czhf site70-puffy.tgz puffy/
# ls -lT > index.txt

Upgrade packages(7) upon reboot after sysupgrade(8) upgraded the system:

# cat <<- EOF >> /upgrade.site
        echo 'pkg_add -Iu' >>/etc/rc.firsttime
EOF
# chmod +x /upgrade.site
# sysupgrade

🌈 SEE ALSO 🌈


source/version: Debian Β· date: November 8, 2021 β€” that's the whole page, bestie, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from
  • nixpkgs unstable: cvs-export
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms