Re: CVS commit: src/usr.sbin/sysinst

2022-06-21 Thread Martin Husemann
On Wed, Jun 22, 2022 at 12:55:16AM +0900, Izumi Tsutsui wrote: > Shouldn't this part be '&& part != RAW_PART - 1' ? Good catch! > It looks we cannot choose RAW_PART (and RAW_PART-1 on MBR ports) > on the inner editor, though. Yes, the UI should prevent it, but better double check in the backend.

Re: CVS commit: src/usr.sbin/sysinst

2022-06-21 Thread Izumi Tsutsui
> Module Name: src > Committed By: martin > Date: Tue Jun 21 15:42:44 UTC 2022 > > Modified Files: > src/usr.sbin/sysinst: disklabel.c > > Log Message: > Fix free space accounting for partition size changes and deletions. > Part of PR 56886. @@ -822,6 +824,15 @@ >

Re: CVS commit: src/usr.sbin/sysinst/arch

2022-06-18 Thread Martin Husemann
On Sat, Jun 18, 2022 at 12:22:44AM +0200, Joerg Sonnenberger wrote: > > - ramdiskbin with CHECK_ENTROPY requires extra 7000 bytes, at least on > > m68k, so poor tier-II ports that have size restrictions on install media > > or use slow floppies rather prefer smaller binaries > > Hm. It shouldn

Re: CVS commit: src/usr.sbin/sysinst/arch

2022-06-17 Thread Joerg Sonnenberger
Am Fri, Jun 17, 2022 at 11:31:29PM +0900 schrieb Izumi Tsutsui: > > > Modified Files: > > > src/usr.sbin/sysinst/arch/atari: Makefile > > > src/usr.sbin/sysinst/arch/hp300: Makefile > > > src/usr.sbin/sysinst/arch/luna68k: Makefile > > > src/usr.sbin/sysinst/arch/news68k: Makefile > > > s

Re: CVS commit: src/usr.sbin/sysinst/arch

2022-06-17 Thread David Brownlee
On Fri, 17 Jun 2022 at 15:31, Izumi Tsutsui wrote: > > > > Modified Files: > > > src/usr.sbin/sysinst/arch/atari: Makefile > > > src/usr.sbin/sysinst/arch/hp300: Makefile > > > src/usr.sbin/sysinst/arch/luna68k: Makefile > > > src/usr.sbin/sysinst/arch/news68k: Makefile > > > s

Re: CVS commit: src/usr.sbin/sysinst/arch

2022-06-17 Thread Izumi Tsutsui
> > Modified Files: > > src/usr.sbin/sysinst/arch/atari: Makefile > > src/usr.sbin/sysinst/arch/hp300: Makefile > > src/usr.sbin/sysinst/arch/luna68k: Makefile > > src/usr.sbin/sysinst/arch/news68k: Makefile > > src/usr.sbin/sysinst/arch/newsmips: Makefile > > src/usr.sbin/s

Re: CVS commit: src/usr.sbin/sysinst/arch

2022-06-12 Thread Joerg Sonnenberger
On Sat, Jun 11, 2022 at 04:41:56PM +, Izumi Tsutsui wrote: > Module Name: src > Committed By: tsutsui > Date: Sat Jun 11 16:41:56 UTC 2022 > > Modified Files: > src/usr.sbin/sysinst/arch/atari: Makefile > src/usr.sbin/sysinst/arch/hp300: Makefile > src/usr.sbin/sysin

Re: CVS commit: src/usr.sbin/sysinst

2020-10-12 Thread Martin Husemann
On Tue, Oct 13, 2020 at 12:15:58AM +0900, Izumi Tsutsui wrote: > IIRC I added it to avoid users from accidentally destroy existing native > Windows partition (for NetBSD/arc that initially required FAT partition). I see. If needed we can add more safety checks when setting the newfs flag (like we

Re: CVS commit: src/usr.sbin/sysinst

2020-10-12 Thread Izumi Tsutsui
martin@ wrote: > Module Name: src > Committed By: martin > Date: Mon Oct 12 14:29:41 UTC 2020 > > Modified Files: > src/usr.sbin/sysinst: disks.c > > Log Message: > Remove very strange code that special-cased MSDOS file systems and refused > to newfs the partition (despite explici

Re: CVS commit: src/usr.sbin/sysinst/arch

2020-02-03 Thread Martin Husemann
On Mon, Feb 03, 2020 at 05:45:29PM -, Christos Zoulas wrote: > Write a function perhaps instead of open-coding it in 3 places? I'm more inclined to completely remove it as I think it never can happen with the current editing frontend and disklabel backend, but going for minimal changes right n

Re: CVS commit: src/usr.sbin/sysinst/arch

2020-02-03 Thread Christos Zoulas
In article <20200203130929.9de7df...@cvs.netbsd.org>, Martin Husemann wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: martin >Date: Mon Feb 3 13:09:29 UTC 2020 > >Modified Files: > src/usr.sbin/sysinst/arch/hp300: md.c > src/usr.sbin/sysinst/arch/mvme68k: md.c >

Re: CVS commit: src/usr.sbin/sysinst

2019-02-27 Thread maya
On Wed, Feb 27, 2019 at 12:18:11PM +0100, Martin Husemann wrote: > On Wed, Feb 27, 2019 at 10:09:44PM +1100, Simon Burge wrote: > > addstr() just adjusts stdscr. The line after these is: > > > > refresh(); > > > > which will do the actual screen refresh/update. > > I'll fix it as you sugges

Re: CVS commit: src/usr.sbin/sysinst

2019-02-27 Thread Martin Husemann
On Wed, Feb 27, 2019 at 10:09:44PM +1100, Simon Burge wrote: > addstr() just adjusts stdscr. The line after these is: > > refresh(); > > which will do the actual screen refresh/update. I'll fix it as you suggested. Still would like to see more details about what compiler and what construc

Re: CVS commit: src/usr.sbin/sysinst

2019-02-27 Thread Simon Burge
Martin Husemann wrote: > On Wed, Feb 27, 2019 at 07:33:11PM +1100, Simon Burge wrote: > > Looking at the code in question, is reducing the number of calls to > > addstr() really something that needs to be optimised? A simple > > > > for (n = 0; n < win->ws_col; n++) > > addstr("-

Re: CVS commit: src/usr.sbin/sysinst

2019-02-27 Thread Martin Husemann
On Wed, Feb 27, 2019 at 07:33:11PM +1100, Simon Burge wrote: > Looking at the code in question, is reducing the number of calls to > addstr() really something that needs to be optimised? A simple > > for (n = 0; n < win->ws_col; n++) > addstr("-"); > > is a lot easier to unde

Re: CVS commit: src/usr.sbin/sysinst

2019-02-27 Thread Simon Burge
Martin Husemann wrote: > On Tue, Feb 26, 2019 at 01:09:35PM +, Joerg Sonnenberger wrote: > > Module Name:src > > Committed By: joerg > > Date: Tue Feb 26 13:09:35 UTC 2019 > > > > Modified Files: > > src/usr.sbin/sysinst: run.c > > > > Log Message: > > Avoid s

Re: CVS commit: src/usr.sbin/sysinst

2019-02-26 Thread Martin Husemann
On Tue, Feb 26, 2019 at 01:09:35PM +, Joerg Sonnenberger wrote: > Module Name: src > Committed By: joerg > Date: Tue Feb 26 13:09:35 UTC 2019 > > Modified Files: > src/usr.sbin/sysinst: run.c > > Log Message: > Avoid string + int warning. > > > To generate a diff of this comm

Re: CVS commit: src/usr.sbin/sysinst

2018-11-05 Thread Martin Husemann
On Sun, Nov 04, 2018 at 05:54:30PM +, David Holland wrote: > On Sat, Nov 03, 2018 at 06:30:00PM +, Martin Husemann wrote: > > Remove "usage" translations - they never could be displayed as we only > select > > the language later. > > What happens in the scenario when someone's using sys

Re: CVS commit: src/usr.sbin/sysinst

2018-11-04 Thread David Holland
On Sat, Nov 03, 2018 at 06:30:00PM +, Martin Husemann wrote: > Remove "usage" translations - they never could be displayed as we only select > the language later. What happens in the scenario when someone's using sysinst after installation and has a locale set? -- David A. Holland dholl...

Re: CVS commit: src/usr.sbin/sysinst

2018-06-24 Thread Kamil Rytarowski
On 24.06.2018 21:52, Christos Zoulas wrote: > In article <0a88399a-0897-160e-6a56-ae328bd4c...@gmx.com>, > Kamil Rytarowski wrote: >> -=-=-=-=-=- >> -=-=-=-=-=- >> >>> This is not the correct fix. No change to set_status should happen at any >>> index >= SET_LAST, you are papering over the real b

Re: CVS commit: src/usr.sbin/sysinst

2018-06-24 Thread Christos Zoulas
In article <0a88399a-0897-160e-6a56-ae328bd4c...@gmx.com>, Kamil Rytarowski wrote: >-=-=-=-=-=- >-=-=-=-=-=- > >> This is not the correct fix. No change to set_status should happen at any >> index >= SET_LAST, you are papering over the real bug. >> >> Please provide more information where this a

Re: CVS commit: src/usr.sbin/sysinst

2018-06-24 Thread Kamil Rytarowski
On 24.06.2018 08:31, Martin Husemann wrote: > On Sat, Jun 23, 2018 at 10:35:29PM +, Kamil Rytarowski wrote: >> Module Name: src >> Committed By:kamil >> Date:Sat Jun 23 22:35:29 UTC 2018 >> >> Modified Files: >> src/usr.sbin/sysinst: util.c >> >> Log Message: >> Enl

Re: CVS commit: src/usr.sbin/sysinst

2018-06-23 Thread Martin Husemann
On Sat, Jun 23, 2018 at 10:35:29PM +, Kamil Rytarowski wrote: > Module Name: src > Committed By: kamil > Date: Sat Jun 23 22:35:29 UTC 2018 > > Modified Files: > src/usr.sbin/sysinst: util.c > > Log Message: > Enlarge the set_status[] array by a single element > > In the get_a

Re: CVS commit: src/usr.sbin/sysinst

2015-05-09 Thread Christos Zoulas
On May 9, 4:48pm, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: CVS commit: src/usr.sbin/sysinst | On Sat, May 09, 2015 at 01:52:06PM +, Christos Zoulas wrote: | > Doesn't the -g -O0 belong in ${DBG}? | | Maybe (but CPPFLAGS is where it was before). It happens to w

Re: CVS commit: src/usr.sbin/sysinst

2015-05-09 Thread Martin Husemann
On Sat, May 09, 2015 at 01:52:06PM +, Christos Zoulas wrote: > Doesn't the -g -O0 belong in ${DBG}? Maybe (but CPPFLAGS is where it was before). > Also, perhaps O0TRACKING can be automatically provided if ${DBG} has > -O0 in the *.mk files? Not sure if that is worth the effort. Martin

Re: CVS commit: src/usr.sbin/sysinst

2015-05-09 Thread Christos Zoulas
In article <20150509061542.2227...@cvs.netbsd.org>, Martin Husemann wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: martin >Date: Sat May 9 06:15:42 UTC 2015 > >Modified Files: > src/usr.sbin/sysinst: Makefile.inc > >Log Message: >Make gcc generate better debug info when

Re: CVS commit: src/usr.sbin/sysinst

2014-09-13 Thread Alan Barrett
On Fri, 12 Sep 2014, Roy Marples wrote: Modified Files: src/usr.sbin/sysinst: net.c + /* +* Start dhcpcd quietly and in master mode, but restrict +* it to our interface +*/ + add_rc_conf("dhcpcd=YES\n"); +

Re: CVS commit: src/usr.sbin/sysinst

2014-08-12 Thread Martin Husemann
On Tue, Aug 12, 2014 at 10:39:05PM +0100, David Laight wrote: > Is that really the best order? > Wouldn't it be more useful to look in . first? Yes, probably. Martin

Re: CVS commit: src/usr.sbin/sysinst

2014-08-12 Thread David Laight
On Wed, Aug 06, 2014 at 09:11:47AM +, Martin Husemann wrote: > Module Name: src > Committed By: martin > Date: Wed Aug 6 09:11:46 UTC 2014 > > Modified Files: > src/usr.sbin/sysinst: main.c > > Log Message: > Make sysinst use the catalog files installed in /usr/share/sysinst (

Re: CVS commit: src/usr.sbin/sysinst

2014-08-04 Thread Martin Husemann
On Mon, Aug 04, 2014 at 12:09:34PM +0900, Masanobu SAITOH wrote: > This change breaks build on some archs. > > http://releng.netbsd.org/builds/HEAD/201408032310Z/ Yes, I did test build quite a few but not all - will fix the fallout shortly. The more stunning breakage is the automatic test

Re: CVS commit: src/usr.sbin/sysinst

2014-08-03 Thread Masanobu SAITOH
Hi, Martin. On 2014/08/04 1:09, Martin Husemann wrote: Module Name:src Committed By: martin Date: Sun Aug 3 16:09:41 UTC 2014 Modified Files: src/usr.sbin/sysinst: Makefile.inc bsddisklabel.c configmenu.c defs.h disks.c install.c label.c main.c mbr.c menus.

Re: CVS commit: src/usr.sbin/sysinst

2014-07-26 Thread Izumi Tsutsui
dholland@ wrote: > Module Name: src > Committed By: dholland > Date: Sat Jul 26 19:56:30 UTC 2014 > > Modified Files: > src/usr.sbin/sysinst: Makefile > Added Files: > src/usr.sbin/sysinst/arch/dummy: Makefile md.c md.h msg.md.de msg.md.en > msg.md.es msg.md.fr msg.