Re: new tool: nbupgrade(8)

2024-05-17 Thread Sunil Nimmagadda
nia writes: > greetz, > > Here's the latest version with all required changes This is on a -current vm... $ uname -a NetBSD beasty.blahblah.com 10.99.10 NetBSD 10.99.10 (GENERIC64) #0: Fri May 3 09:00:59 UTC 2024 mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm

Re: new tool: nbupgrade(8)

2024-05-17 Thread nia
greetz, Here's the latest version with all required changes nbupgrade.tar.gz Description: Binary data

Re: new tool: nbupgrade(8)

2024-05-04 Thread Valery Ushakov
On Fri, May 03, 2024 at 22:25:38 +, nia wrote: > Here is an updated version based on the feedback received so far - > thanks for the attention and fixes. In post_install explicitly calling "postinstall check" is redundant. It's the last thing etcupdate does automatically. -uwe

Re: new tool: nbupgrade(8)

2024-05-03 Thread Sunil Nimmagadda
nia writes: > Here is an updated version based on the feedback received so far - > thanks for the attention and fixes. With this newer version... # nbupgrade -r head does nothing and exits with return value 0. I suspect this hunk... elif $do_nothing; then do_update fi If I do... #

Re: new tool: nbupgrade(8)

2024-05-03 Thread nia
Here is an updated version based on the feedback received so far - thanks for the attention and fixes. nbupgrade.tar.gz Description: Binary data

Re: new tool: nbupgrade(8)

2024-05-02 Thread nia
On Thu, May 02, 2024 at 04:50:21PM +0300, Valery Ushakov wrote: > On Thu, May 02, 2024 at 06:52:13 +, nia wrote: > > > hey, I wrote this script to replace sysupgrade (but maintainable and > > not using a weird shell library), would be nice to import it. > > Just a quick drive-by question:

Re: new tool: nbupgrade(8)

2024-05-02 Thread Sunil Nimmagadda
Cc: tech-userlevel@NetBSD.org... Thanks for the tool, needed to apply this patch to upgrade an aarch64 head vm on qemu. There are some more warnings/errors flagged by shellcheck, attempted to fix a few... # nbupgrade -r head --- nbupgrade.sh.orig 2024-05-01 08:32:33.026017291 +0530 +++

Re: new tool: nbupgrade(8)

2024-05-02 Thread Valery Ushakov
On Thu, May 02, 2024 at 06:52:13 +, nia wrote: > hey, I wrote this script to replace sysupgrade (but maintainable and > not using a weird shell library), would be nice to import it. Just a quick drive-by question: [how] can one use it for self-compiled sets? -uwe

new tool: nbupgrade(8)

2024-05-02 Thread nia
hey, I wrote this script to replace sysupgrade (but maintainable and not using a weird shell library), would be nice to import it. So far I've tested it upgrading across multiple major releases and branches. NBUPGRADE(8)System Manager's Manual NBUPGRADE(8) NAME