The NetBSD Project

CVS log for src/usr.sbin/sysinst/menus.mi

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / sysinst

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27.2.2 / (download) - annotate - [select for diffs], Tue Dec 26 05:54:16 2023 UTC (2 months, 1 week ago) by snj
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Changes since 1.27.2.1: +17 -8 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Pull up following revision(s) (requested by martin in ticket #511):
	usr.sbin/sysinst/configmenu.c: revision 1.18
	usr.sbin/sysinst/defs.h: revision 1.90
	usr.sbin/sysinst/main.c: revision 1.32
	usr.sbin/sysinst/menus.entropy: revision 1.3
	usr.sbin/sysinst/menus.mi: revision 1.29
	usr.sbin/sysinst/net.c: revision 1.45
Add a https transfer method (sharing all host details with the http
transfer). Make this method the default for all downloads.
Try to make sure the binary pkg installation (which runs in a chroot
in the already installed system) can make use of SSL verification.
This does NOT fix the missing SSL verification in most install media
even if using https (due to not fully populated /etc/openssl/certs).

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 17 18:46:42 2023 UTC (2 months, 2 weeks ago) by martin
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.28: +17 -8 lines
Diff to previous 1.28 (colored)

Add a https transfer method (sharing all host details with the http
transfer). Make this method the default for all downloads.

Try to make sure the binary pkg installation (which runs in a chroot
in the already installed system) can make use of SSL verification.

This does NOT fix the missing SSL verification in most install media
even if using https (due to not fully populated /etc/openssl/certs).

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri Feb 24 13:48:28 2023 UTC (12 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC1
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Pull up following revision(s) (requested by abs in ticket #105):

	distrib/amd64/installimage-bios/install.sh: revision 1.3
	distrib/i386/cdroms/install.sh: revision 1.5
	distrib/vax/cdroms/installcd/install.sh: revision 1.3
	distrib/amd64/cdroms/install.sh: revision 1.5
	distrib/sparc64/cdroms/installcd/install.sh: revision 1.5
	distrib/i386/installimage/install.sh: revision 1.3
	distrib/i386/installimage/install.sh: revision 1.4
	distrib/evbarm/installimage/install.sh: revision 1.2
	distrib/amd64/installimage/install.sh: revision 1.4
	usr.sbin/sysinst/menus.mi: revision 1.28

Enable basic command line editing in amd64 installer shells

When a user selects "exist installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

At this point this is only on amd64, as this is the port which is
least likely to be installing on particularly esoteric terminal
hardware, and is also likely to have the highest proportion of less
experienced users

Enable basic command line editing in i386 installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

Switch install.sh to use /usr/sbin/sysinst for sysinst rather than ./sysinst
Matches i386/cdroms/install.sh and amd64/installimage/install.sh
resultant install image verified to still run sysinst correctly

Enable basic command line editing in evbarm, sparc64 and vax installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

With the change of all the install.sh scripts in amd64, evbarm,
i386, sparc64 and vax are identical apart from NetBSD RCD tags and
the sysctl -nx kern.consdev check (some of the latter are definitely
either wrong, or have an incorrect comment attached. Will return
to later)

Add "-i -E" to /bin/sh called from sysinst

This enables command line editing (primarily for arrow keys, but basic
emacs sequences will also work)

In the event that the shell has been compiled without command line
editing features (for memory contrained install environments) the
-E is ignored

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 12 20:14:32 2023 UTC (12 months, 3 weeks ago) by abs
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Add "-i -E" to /bin/sh called from sysinst

This enables command line editing (primarily for arrow keys, but basic
emacs sequences will also work)

In the event that the shell has been compiled without command line
editing features (for memory contrained install environments) the
-E is ignored

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 22 16:51:14 2022 UTC (19 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.26: +11 -1 lines
Diff to previous 1.26 (colored)

Add a menu option to set the file extension of the downloaded sets.
amd64 sets are .tar.xz and sysinst fails by default.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 10 10:52:40 2022 UTC (19 months, 3 weeks ago) by martin
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Preparations to make the extended partitioning during normal installation
more usefull - pass an optional install_description to partman().

Revision 1.25 / (download) - annotate - [select for diffs], Wed May 18 16:39:03 2022 UTC (21 months, 2 weeks ago) by martin
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

When not invoked via some explicit "configure network" menu item,
auto-detect an already working network setup and offer to "just use" it
whenver we need connectivity.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Thu Nov 5 08:10:21 2020 UTC (3 years, 3 months ago) by sborrill
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Changes since 1.19.2.1: +15 -8 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Pull up the following revisions(s) (requested by martin in ticket #1121):
	usr.sbin/sysinst/menus.mi:	revision 1.22-1.23
	usr.sbin/sysinst/msg.mi.de:	revision 1.25-1.26
	usr.sbin/sysinst/msg.mi.en:	revision 1.33-1.34
	usr.sbin/sysinst/msg.mi.pl:	revision 1.33-1.34
	usr.sbin/sysinst/msg.mi.es:	revision 1.27-1.28
	usr.sbin/sysinst/msg.mi.fr:	revision 1.32-1.33
	usr.sbin/sysinst/util.c:	revision 1.49-1.52

- When looking for available CD media, skip those that are already mounted.
- When no medium with sets is found, show a new error message and return
  to the source selection menu.
- Rearrange all source option menus to have the proper set suffix available
  (either .tgz or .tar.xz).
- Relax an assertion, the first getvfsstat() call may overestimate the file
  systems visible to us. Fixes PR 55752
- When we did not magically find any CD medium with sets, offer a manual
  override (so ISO images on USB sticks or Xen's xbd(4) work).

Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 4 14:29:40 2020 UTC (3 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.23: +1 -3 lines
Diff to previous 1.23 (colored)

Add (experimental) entropy input support:
Early during new installs or after upgrades we check if entropy is
available. If not (no hardware random number generator available)
we inform the user and ask them to fix it.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 27 15:28:01 2020 UTC (3 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

When we did not magically find any CD medium with sets, offer a manual
override (so ISO images on USB sticks or Xen's xbd(4) work).

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 24 16:13:15 2020 UTC (3 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.21: +13 -7 lines
Diff to previous 1.21 (colored)

When looking for available CD media, skip those that are already mounted.
When no medium with sets is found, show a new error message and return
to the source selection menu.
Rearrange all source option menus to have the proper set suffix
available (either .tgz or .tar.xz).

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:06:00 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.13.2.1: +126 -102 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Jan 28 10:17:58 2020 UTC (4 years, 1 month ago) by msaitoh
Branch: netbsd-9
CVS Tags: netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.19: +10 -16 lines
Diff to previous 1.19 (colored)

Pull up following revision(s) (requested by martin in ticket #668):
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.11
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.12
	usr.sbin/sysinst/arch/arc/md.c: revision 1.11
	usr.sbin/sysinst/arch/arc/md.c: revision 1.12
	usr.sbin/sysinst/partman.c: revision 1.43
	usr.sbin/sysinst/partman.c: revision 1.46
	usr.sbin/sysinst/partman.c: revision 1.47
	usr.sbin/sysinst/partman.c: revision 1.48
	usr.sbin/sysinst/partman.c: revision 1.49
	usr.sbin/sysinst/msg.pm.fr: revision 1.2
	usr.sbin/sysinst/upgrade.c: revision 1.14
	usr.sbin/sysinst/arch/i386/md.c: revision 1.28
	usr.sbin/sysinst/arch/i386/md.c: revision 1.29
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.9
	usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.7
	usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.8
	usr.sbin/sysinst/gpt.c: revision 1.14
	usr.sbin/sysinst/gpt.c: revision 1.15
	usr.sbin/sysinst/arch/luna68k/md.c: revision 1.8
	usr.sbin/sysinst/gpt.c: revision 1.16
	usr.sbin/sysinst/msg.pm.de: revision 1.2
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.11
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.12
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.13
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.14
	usr.sbin/sysinst/sizemultname.c: revision 1.4
	usr.sbin/sysinst/msg.pm.en: revision 1.2
	usr.sbin/sysinst/arch/landisk/md.c: revision 1.12
	usr.sbin/sysinst/util.c: revision 1.41
	usr.sbin/sysinst/arch/landisk/md.c: revision 1.13
	usr.sbin/sysinst/util.c: revision 1.42
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.10
	usr.sbin/sysinst/partitions.c: revision 1.9
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.4
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.5
	usr.sbin/sysinst/arch/evbmips/md.c: revision 1.7
	usr.sbin/sysinst/arch/evbmips/md.c: revision 1.8
	usr.sbin/sysinst/msg.mi.fr: revision 1.25
	usr.sbin/sysinst/msg.mi.de: revision 1.20
	usr.sbin/sysinst/install.c: revision 1.14
	usr.sbin/sysinst/partitions.h: revision 1.13
	usr.sbin/sysinst/partitions.h: revision 1.14
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.7
	usr.sbin/sysinst/arch/playstation2/md.c: revision 1.7
	usr.sbin/sysinst/msg.mi.en: revision 1.27
	usr.sbin/sysinst/partitions.h: revision 1.15
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.8
	usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.7
	usr.sbin/sysinst/arch/playstation2/md.c: revision 1.8
	usr.sbin/sysinst/msg.pm.pl: revision 1.2
	usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.8
	usr.sbin/sysinst/msg.mi.es: revision 1.21
	usr.sbin/sysinst/arch/zaurus/md.c: revision 1.7
	usr.sbin/sysinst/target.c: revision 1.11
	usr.sbin/sysinst/arch/zaurus/md.c: revision 1.8
	usr.sbin/sysinst/part_edit.c: revision 1.14
	usr.sbin/sysinst/part_edit.c: revision 1.15
	usr.sbin/sysinst/part_edit.c: revision 1.16
	usr.sbin/sysinst/defs.h: revision 1.50
	usr.sbin/sysinst/defs.h: revision 1.51
	usr.sbin/sysinst/defs.h: revision 1.52
	usr.sbin/sysinst/defs.h: revision 1.53
	usr.sbin/sysinst/defs.h: revision 1.54
	usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.7
	usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.8
	usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.8
	usr.sbin/sysinst/msg.pm.es: revision 1.2
	usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.9
	usr.sbin/sysinst/label.c: revision 1.18
	usr.sbin/sysinst/label.c: revision 1.19
	usr.sbin/sysinst/net.c: revision 1.35
	usr.sbin/sysinst/msg.mi.pl: revision 1.28
	usr.sbin/sysinst/disklabel.c: revision 1.28
	usr.sbin/sysinst/disklabel.c: revision 1.29
	usr.sbin/sysinst/mbr.c: revision 1.24
	usr.sbin/sysinst/disks.c: revision 1.59
	usr.sbin/sysinst/mbr.c: revision 1.25
	usr.sbin/sysinst/mbr.c: revision 1.26
	usr.sbin/sysinst/mbr.c: revision 1.27
	usr.sbin/sysinst/mbr.c: revision 1.28
	usr.sbin/sysinst/label.c: revision 1.20
	usr.sbin/sysinst/mbr.c: revision 1.29
	usr.sbin/sysinst/bsddisklabel.c: revision 1.34
	usr.sbin/sysinst/bsddisklabel.c: revision 1.35
	usr.sbin/sysinst/bsddisklabel.c: revision 1.36
	usr.sbin/sysinst/bsddisklabel.c: revision 1.37
	usr.sbin/sysinst/disklabel.c: revision 1.30
	usr.sbin/sysinst/bsddisklabel.c: revision 1.38
	usr.sbin/sysinst/disklabel.c: revision 1.31
	usr.sbin/sysinst/disklabel.c: revision 1.32
	usr.sbin/sysinst/disklabel.c: revision 1.33
	usr.sbin/sysinst/disklabel.c: revision 1.34
	usr.sbin/sysinst/disks.c: revision 1.60
	usr.sbin/sysinst/disks.c: revision 1.61
	usr.sbin/sysinst/arch/bebox/md.c: revision 1.7
	usr.sbin/sysinst/disks.c: revision 1.62
	usr.sbin/sysinst/arch/bebox/md.c: revision 1.8
	usr.sbin/sysinst/mbr.c: revision 1.30
	usr.sbin/sysinst/partitions.c: revision 1.10
	usr.sbin/sysinst/arch/prep/md.c: revision 1.11
	usr.sbin/sysinst/arch/prep/md.c: revision 1.12
	usr.sbin/sysinst/menus.pm: revision 1.3
	usr.sbin/sysinst/main.c: revision 1.20
	usr.sbin/sysinst/menus.mi: revision 1.20
	usr.sbin/sysinst/menus.mi: revision 1.21
avoid calling snprintf/strlcat with an input parameter the same
as the output.  from martin@.  fixes gcc 8 restrict warnings.
Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.
Instead of a (bogus) attempt to query the model via ofctl, use the (now
fixed) sysctl hw.model instead.
When reading the secondary disklabel partitions from an existing disklabel
set the mbr partitions as parent.
Move the LABELSECTOR check and make it FS type specific - some partition
types (FFS, RAID) are allowed to overlap with the LABELSECTOR.
When asked to create a whole-disk partition for unknown usage, do not only
assert(false), but actually return an error (in case "assert" is a nop).
PR install/54787: when trying to derive proper alignement and first offset
from exisiting partitions, use the first partition offset if it is already
closer to the start of the disk than the prefered alignment - we can not
move existing partitions around.
Fix handling of inner/outer partitions (e.g. MBR and disklabel) in
extended partitioning:
 - when editing a disk with such a schme, offer both partitions in two
   steps
 - when commiting changes save the inner partitions after the outer ones
Add a method to query the partitioning schemes "internal idea" of a
cylinder size - whatever that means in the real world.
Avoid using the global "pm" variable in utility functions - during
extended partitioning they may point to a different device.
Remove useless calls to get_ramsize() - return value is ignored and
the function has no side effects.
Fix /tmp tmpfs handling and on machines with enough RAM default to
creating a /tmp tmpfs with 25% of ram size limit. Suggested by ad@.
PR install/54872: fix printf argument order, sectors and heads were
swapped in the bios geometry display.
First try to bring evbarm installation closer to current reality.
hide disklabel_non_bootable() under NO_DISKLABEL_BOOT like the usage.
should fix most builds.
Deal with even stranger fictious empty disklabels (PR kern/54882).
Factor out all RAM size thresholds as defines to avoid magic numbers.
To work around PR misc/54886 bump the threshold for a tmpfs /tmp mount
up to 256 MB.
When retrying sets during extraction, reset the relevant statistics
to avoid counting retried sets multiple times.
Reported by kim.
Fix support for non-512-byte/sector disks again after I broke it when
introducing the abstract partition backends.
Use a few strlcpy() instead of strncpy() for network ioctl structs.
We seem to have no formal documentation stating the various
	char if*_name[IFNAMSIZ]; /* if name, e.g. "en0" */
elements in ioctls are nul terminated, but the peanut gallery claims
it is so - and at least half of the code in-tree touching them agrees.
Too much disklabel magic happening in the kernel - to compensate force
MBR first when trying to identify the existing partitioning scheme of
a disk.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jan 27 21:21:22 2020 UTC (4 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.20: +10 -6 lines
Diff to previous 1.20 (colored)

Fix support for non-512-byte/sector disks again after I broke it when
introducing the abstract partition backends.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jan 9 13:22:30 2020 UTC (4 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.19: +1 -11 lines
Diff to previous 1.19 (colored)

Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 23 16:02:32 2019 UTC (4 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Fix the "reinstall sets" action.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 20 00:43:55 2019 UTC (4 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Use _fmt_ msg_ methods when formats are needed.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jun 12 06:20:17 2019 UTC (4 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.16: +121 -92 lines
Diff to previous 1.16 (colored)

Rework internal data structures and "interfaces to user interface" functions
to get rid of all disklabel assumptions.

Previously (even for GPT partitioning) struct disklabel was used, which
obviously breaks large disk setups. Also many MD parts and parts of the
user interface assumed (a) a struct disklabel is used internally to
store partitioning information and (b) partitions are named 'a' ... $MAXPART.

Get rid of this and replace it with a quite abstract interface that should
be able to deal with all variants in partition storage:

 - partitions are stored in a (partly abstract) struct disk_partitions
   and most parts of it are only accessed via accessor functions provided
   by a "partitioning scheme".

 - implement partitioning schemes for MBR, disklabel and GPT (with likely
   RDB [amiga] and Apple Partition Map [mac*] to follow soon)

 - partitioning schemes may be cascaded, e.g. on x86 when using MBR as
   "outer partitions", we have disklabel as "inner partitions".

 - all user interface goes via accessor functions in the partitioning scheme,
   some of which return pointers to special user interface descriptors
   (e.g. to allow editing partition flags, which are scheme specific)

Overall the user interface changes (in this initial step) are minimal but
noticable. A new Anita is needed for automatic test setups - many thanks
to Andreas Gustafsson for lots of early testing and a new Anita version,
and to Manuel Bouyer for cooperation and tests of the Anita release.

This work was sponsored by The NetBSD Foundation, Inc.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:38 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.13: +27 -148 lines
Diff to previous 1.13 (colored)

Sync with HEAD

Revision 1.11.12.4 / (download) - annotate - [select for diffs], Fri Jan 18 08:51:03 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.11.12.3: +2 -2 lines
Diff to previous 1.11.12.3 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Synch with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 10 19:00:17 2019 UTC (5 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

PR install/53857: make the pkgsrc menu wider, so the first column fits
in various translations. While there shorten some (misleading) text.

Revision 1.11.12.3 / (download) - annotate - [select for diffs], Sun Sep 30 01:46:01 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.11.12.2: +26 -147 lines
Diff to previous 1.11.12.2 (colored) to branchpoint 1.11 (colored)

Ssync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Thu Sep 20 12:27:42 2018 UTC (5 years, 5 months ago) by rin
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.14: +12 -137 lines
Diff to previous 1.14 (colored)

Add NOPARTMAN compile-time option, which drops extended partitioning
support provided by partman.c. It reduces, e.g., about 30KB for
crunched binary in atari install floppy.

OK christos

Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 11 08:05:18 2018 UTC (5 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.13: +15 -11 lines
Diff to previous 1.13 (colored)

Split the host name used for ftp transfers from the one used for http
transfers. This is slightly inconsistent, as directories are still
shared - but this allows us to default to cdn/nycdn for http (which don't
support ftp).

Revision 1.11.12.2 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:12 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.11.12.1: +2 -2 lines
Diff to previous 1.11.12.1 (colored) to branchpoint 1.11 (colored)

Sync with HEAD

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Sat Jun 9 15:19:27 2018 UTC (5 years, 8 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2
Changes since 1.11.6.1: +4 -4 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Pull up following revision(s) (requested by joerg in ticket #869):

	usr.sbin/sysinst/arch/mvme68k/md.c: revision 1.5
	usr.sbin/sysinst/net.c: revision 1.24
	usr.sbin/sysinst/partman.c: revision 1.22
	usr.sbin/sysinst/menus.mi: revision 1.12
	usr.sbin/sysinst/arch/i386/md.c: revision 1.8
	usr.sbin/sysinst/arch/alpha/md.c: revision 1.3
	usr.sbin/sysinst/bsddisklabel.c: revision 1.3
	usr.sbin/sysinst/arch/x68k/md.c: revision 1.5
	usr.sbin/sysinst/arch/hp300/md.c: revision 1.5
	usr.sbin/sysinst/arch/emips/md.c: revision 1.4
	usr.sbin/sysinst/arch/pmax/md.c: revision 1.3
	usr.sbin/sysinst/arch/mipsco/md.c: revision 1.3
	usr.sbin/sysinst/arch/hppa/md.c: revision 1.3
	usr.sbin/sysinst/util.c: revision 1.8
	usr.sbin/sysinst/defs.h: revision 1.10
	usr.sbin/sysinst/arch/landisk/md.c: revision 1.4

deconst -> __UNCONST, the former involves UB with NULL arithmetic.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Tue Jun 5 08:12:54 2018 UTC (5 years, 9 months ago) by bouyer
Branch: netbsd-8
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Pull up following revision(s) (requested by martin in ticket #860):
	usr.sbin/sysinst/msg.mi.de: revision 1.7
	usr.sbin/sysinst/arch/i386/md.c: revision 1.10
	usr.sbin/sysinst/msg.mi.fr: revision 1.10
	usr.sbin/sysinst/arch/i386/md.c: revision 1.11
	usr.sbin/sysinst/menus.mi: revision 1.13
	usr.sbin/sysinst/arch/i386/md.c: revision 1.9
	usr.sbin/sysinst/msg.mi.es: revision 1.7
	usr.sbin/sysinst/msg.mi.en: revision 1.11
	usr.sbin/sysinst/mbr.c: revision 1.6
	usr.sbin/sysinst/disks.c: revision 1.15
	usr.sbin/sysinst/bsddisklabel.c: revision 1.4
	usr.sbin/sysinst/disks.c: revision 1.16
	usr.sbin/sysinst/msg.mi.pl: revision 1.9
	usr.sbin/sysinst/defs.h: revision 1.11
Add an option to install onto a pre-configured wedge.
Greatly simmplifies (U)EFI setups (but does not fully automate them yet).
In the generated /etc/fstab, do not use the (temporary, during sysinst)
path name for the file in the comment, but instead the one it will
have on the target system.
Reorder fetch options: http before ftp
Default console device and speed to that used by syinst
add missing brace.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 3 13:23:58 2018 UTC (5 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Reorder fetch options: http before ftp

Revision 1.11.12.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:19 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 18 12:23:22 2018 UTC (5 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pgoyette-compat-0521
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

deconst -> __UNCONST, the former involves UB with NULL arithmetic.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:57:01 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 11 00:56:34 2016 UTC (7 years, 2 months ago) by alnsn
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Add aes-xts to sysinst(8).

Revision 1.4.4.5 / (download) - annotate - [select for diffs], Thu May 14 07:58:49 2015 UTC (8 years, 9 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.4.4.4: +32 -34 lines
Diff to previous 1.4.4.4 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by martin in ticket #756):
	usr.sbin/sysinst/arch/arc/md.c: revision 1.4
	usr.sbin/sysinst/arch/atari/md.c: revision 1.3
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.4
	usr.sbin/sysinst/arch/emips/md.c: revision 1.3
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.4
	usr.sbin/sysinst/arch/evbarm64/md.c: revision 1.2
	usr.sbin/sysinst/arch/hp300/md.c: revision 1.4
	usr.sbin/sysinst/arch/i386/md.c: revision 1.6
	usr.sbin/sysinst/arch/mac68k/md.c: revision 1.3
	usr.sbin/sysinst/arch/mac68k/md.c: revision 1.4
	usr.sbin/sysinst/arch/mac68k/menus.md.de: revisions 1.3, 1.4
	usr.sbin/sysinst/arch/mac68k/menus.md.en: revisions 1.3, 1.4
	usr.sbin/sysinst/arch/mac68k/menus.md.es: revisions 1.3, 1.4
	usr.sbin/sysinst/arch/mac68k/menus.md.pl: revisions 1.3, 1.4
	usr.sbin/sysinst/arch/mvme68k/md.c: revision 1.4
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.3
	usr.sbin/sysinst/arch/prep/md.c: revisions 1.3, 1.4
	usr.sbin/sysinst/arch/prep/menus.md.en: revision 1.2
	usr.sbin/sysinst/arch/x68k/md.c: revision 1.4
	usr.sbin/sysinst/configmenu.c: revisions 1.4, 1.5
	usr.sbin/sysinst/defs.h: revisions 1.8, 1.9
	usr.sbin/sysinst/disks.c: revision 1.9
	usr.sbin/sysinst/install.c: revision 1.4
	usr.sbin/sysinst/label.c: revision 1.3
	usr.sbin/sysinst/mbr.c: revision 1.5
	usr.sbin/sysinst/menus.mi: revisions 1.9, 1.10
	usr.sbin/sysinst/net.c: revisions 1.18-1.20
	usr.sbin/sysinst/partman.c: revision 1.10
	usr.sbin/sysinst/upgrade.c: revision 1.4
	usr.sbin/sysinst/util.c: revisions 1.6, 1.7
Backout the previous incorrect fix for PR 49440 and redo it more globaly:
get rid of the global "yesno", introduce utility functions "ask_yesno()"
and "ask_noyes()" instead, greatly simplifying a lot of code.
Pass in a pointer to the return value to various "set source" menus.
--
Make it compile on architectures that do not support INET6 in sysinst
--
Remove a few more (ab-)usages of "yesno".
--
More (ab-)usages of "yesno"
--
Make "ask_yesno" and "ask_noyes" take a const char * as argument, moving
the deconst() dance into the utility functions and simplifying all callers.
--
Missed a few more "yesno" in previous

Revision 1.4.4.4 / (download) - annotate - [select for diffs], Thu May 14 00:30:50 2015 UTC (8 years, 9 months ago) by riz
Branch: netbsd-7
Changes since 1.4.4.3: +5 -5 lines
Diff to previous 1.4.4.3 (colored) to branchpoint 1.4 (colored)

Pull up following revision(s) to fix the build (requested by riz in ticket #754):
	usr.sbin/sysinst/net.c: revision 1.10
	usr.sbin/sysinst/menus.mi: revision 1.5
	usr.sbin/sysinst/net.c: revision 1.9
	usr.sbin/sysinst/defs.h: revision 1.4
rtsol is no longer used.
Only prompt for one nameserver, let the user decide if it's a
pre-determined google server other another one.

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Wed May 13 17:04:27 2015 UTC (8 years, 9 months ago) by snj
Branch: netbsd-7
Changes since 1.4.4.2: +24 -4 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored)

Pull up following revision(s) (requested by martin in ticket #754):
	usr.sbin/sysinst/menus.mi: revision 1.6
	usr.sbin/sysinst/msg.mi.de: revision 1.5
	usr.sbin/sysinst/msg.mi.en: revision 1.5
	usr.sbin/sysinst/msg.mi.es: revision 1.5
	usr.sbin/sysinst/msg.mi.fr: revision 1.5
	usr.sbin/sysinst/msg.mi.pl: revision 1.5
Change the IPv6 DNS selection to use DNS selection and add the
Google Public V4 DNS servers to the list.
The other field can take an IPv4 or IPv6 name server of choice.
Fixes PR install/49231.

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 11 13:07:57 2015 UTC (8 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Make "ask_yesno" and "ask_noyes" take a const char * as argument, moving
the deconst() dance into the utility functions and simplifying all callers.

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 10 10:14:02 2015 UTC (8 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.8: +32 -34 lines
Diff to previous 1.8 (colored)

Backout the previous incorrect fix for PR 49440 and redo it more globaly:
get rid of the global "yesno", introduce utility functions "ask_yesno()"
and "ask_noyes()" instead, greatly simplifying a lot of code.
Pass in a pointer to the return value to various "set source" menus.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Sat May 9 13:52:37 2015 UTC (8 years, 9 months ago) by msaitoh
Branch: netbsd-7
Changes since 1.4.4.1: +2 -1 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

Pull up following revision(s) (requested by martin in ticket #745):
	usr.sbin/sysinst/menus.mi: revision 1.8
When exiting from the "ftpsource" menu, explicitly set yesno to -1 (again),
to avoid a retry loop because a submenu action has changed this global.
Fixes PR 49440.

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 9 12:55:06 2015 UTC (8 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

When exiting from the "ftpsource" menu, explicitly set yesno to -1 (again),
to avoid a retry loop because a submenu action has changed this global.
Fixes PR 49440.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 09:14:51 2014 UTC (9 years, 4 months ago) by martin
Branch: netbsd-7
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Pull up following revision(s) (requested by snj in ticket #149):
	usr.sbin/sysinst/menus.mi: revision 1.7
Make the option to abort pkgsrc fetching/extraction actually work.
Previously, if the network was not set up and you couldn't fetch
pkgsrc, you'd get stuck here, unable to make it back to the parent
menu.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 15 21:38:39 2014 UTC (9 years, 4 months ago) by snj
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Make the option to abort pkgsrc fetching/extraction actually work.
Previously, if the network was not set up and you couldn't fetch
pkgsrc, you'd get stuck here, unable to make it back to the parent
menu.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 22 19:01:02 2014 UTC (9 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.5: +24 -4 lines
Diff to previous 1.5 (colored)

Change the IPv6 DNS selection to use DNS selection and add the
Google Public V4 DNS servers to the list.
The other field can take an IPv4 or IPv6 name server of choice.
Fixes PR install/49231.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 13 00:38:36 2014 UTC (9 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

Only prompt for one nameserver, let the user decide if it's a
pre-determined google server other another one.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:13 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.4.6.1: +735 -0 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 07:00:24 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.4.2.1: +735 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Rebase.

Revision 1.4.6.1, Wed Aug 6 10:03:49 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.4: +0 -735 lines
FILE REMOVED

file menus.mi was added on branch tls-maxphys on 2014-08-20 00:05:13 +0000

Revision 1.4.2.1, Wed Aug 6 10:03:49 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.4: +0 -735 lines
FILE REMOVED

file menus.mi was added on branch tls-earlyentropy on 2014-08-10 07:00:24 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 6 10:03:49 2014 UTC (9 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: tls-maxphys, tls-earlyentropy, netbsd-7
Changes since 1.3: +73 -9 lines
Diff to previous 1.3 (colored)

Remove a few menu entries if raid/lvm/cgd/gpt are not available.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 4 08:50:13 2014 UTC (9 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Rename the "exit" option in the "select your installation" menu into
"Abandon installation" to make clear it is fatal - suggested by
Andreas Gustafsson.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 3 16:09:38 2014 UTC (9 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.1: +216 -15 lines
Diff to previous 1.1 (colored)

(Finally) merge a slightly modified version of the 2012 GSoC results
from Eugene Lozovoy: add extended partitioning options to sysinst.
Still needs some testing and polishing, but it now is possible to use GPT
or to create a RAID set from scratch and install onto it.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 26 19:30:44 2014 UTC (9 years, 7 months ago) by dholland
Branch: MAIN

Move sysinst sources to usr.sbin.

This commit only physically moves the sources - there are no other
changes, to maximize the probability that this will be treated as a
rename if we ever do manage to migrate away from CVS.

Moving sysinst has been discussed on and off for years and has two
goals: making it easier to work on sysinst, and also making sysinst
available on running systems for use installing chroots and VM images
and other such things. None of the latter is possible yet, but as they
say, one thing at a time.

Doing this now was approved in an impromptu fashion by mrg, riz,
riastradh, me, and groo.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>