INSTALL.SITE(5)
π 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 π
autoinstall(8)rc(8)sysupgrade(8)
source/version: Debian Β· date: November 8, 2021 β that's the whole page, bestie, mwah ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2021 Klemens Nanni <kn@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms