Saturday, April 06, 2024

Re: How to customise the OS update process

sysupgrade -n
rm /home/_sysupgrade/{x,game}*.tgz
reboot

Though I wouldn't bother unless very constrained on storage space.
A lot of time has been wasted by developers over the years when people
have not installed xbase (or worse, installed an old one but not updated
it) and run into problems with packages.

On 2024-04-06, WATANABE Takeo <take@kasaneiro.jp> wrote:
> Hi everyone,
>
> The most common way to upgrade OpenBSD is to use "sysupgrade".
>
> However, I do not want to install certain packages (e.g. game).
> # When the host is built, it is not installed, because the
>
> Is there any way to upgrade to fulfil these wishes?
>
> I wrote "/auto_upgrade.conf" and
> I tried "sysupgrade" with the following in "/auto_upgrade.conf",
> but all packages were installed.
>
> ---
> Location of sets = disk
> Pathname to the sets = /home/_sysupgrade/
> Set name(s) = -x*
> Set name(s) = -game*
> Set name(s) = done
> Directory does not contain SHA256.sig. Continue without verification = yes
> ---
>
> If you have found errors in this method or know of other methods,
> please let us know.
>
> Sincerely yours.
>
> ---
> WATANABE, Takeo
> take@kasaneiro.jp
>
>


--
Please keep replies on the mailing list.

No comments:

Post a Comment