The NetBSD Project

CVS log for src/distrib/utils/sysinst/Attic/util.c

[BACK] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.179.2.3, Tue Aug 19 23:45:46 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.179.2.2: +1 -1 lines
FILE REMOVED

Rebase to HEAD as of a few days ago.

Revision 1.184.2.2, Sun Aug 10 06:48:49 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.184.2.1: +1 -1 lines
FILE REMOVED

Rebase.

Revision 1.185, Sat Jul 26 19:30:39 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, localcount-20160914, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.184: +1 -1 lines
FILE REMOVED

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.

Revision 1.170.2.4 / (download) - annotate - [select for diffs], Thu May 22 12:01:35 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.170.2.3: +7 -3 lines
Diff to previous 1.170.2.3 (colored) to branchpoint 1.170 (colored) next main 1.171 (colored) to selected 1.23 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.184.2.1 / (download) - annotate - [select for diffs], Wed Apr 9 03:54:17 2014 UTC (9 years, 11 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.184: +26 -2 lines
Diff to previous 1.184 (colored) to selected 1.23 (colored)

Try to persistently gather some entropy at install time, to give the
fresh system a better chance of not doing awful things like generating
guessable SSH host keys.

Handles both systems with /var on / and /var on its own filesystem.  Tries
to preserve old saved entropy when upgrading.

Revision 1.184 / (download) - annotate - [select for diffs], Sat Dec 7 19:42:36 2013 UTC (10 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.183: +1 -2 lines
Diff to previous 1.183 (colored) to selected 1.23 (colored)

Remove duplicated line for /etc/fstab in file list

Revision 1.179.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:26:20 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.179.2.1: +7 -2 lines
Diff to previous 1.179.2.1 (colored) to selected 1.23 (colored)

resync from head

Revision 1.183 / (download) - annotate - [select for diffs], Sat Mar 23 11:50:02 2013 UTC (11 years ago) by he
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Changes since 1.182: +4 -1 lines
Diff to previous 1.182 (colored) to selected 1.23 (colored)

Add the ability to install the KUROBOX_PRO kernel.
Adds the ability to handle 9 different kernel sets (was 8).

Revision 1.182 / (download) - annotate - [select for diffs], Sat Mar 16 22:16:02 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored) to selected 1.23 (colored)

fix debugging sets

Revision 1.181 / (download) - annotate - [select for diffs], Sat Mar 16 17:10:17 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.180: +4 -2 lines
Diff to previous 1.180 (colored) to selected 1.23 (colored)

add debugging sets

Revision 1.179.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 02:57:53 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.179: +15 -7 lines
Diff to previous 1.179 (colored) to selected 1.23 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.173.2.1.4.1 / (download) - annotate - [select for diffs], Sun Nov 18 22:05:26 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE
Changes since 1.173.2.1: +15 -7 lines
Diff to previous 1.173.2.1 (colored) next main 1.173.2.2 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #649):
	distrib/utils/sysinst/msg.mi.es: revision 1.48
	distrib/utils/sysinst/arch/i386/Makefile: revision 1.18
	distrib/utils/sysinst/msg.mi.en: revision 1.176
	distrib/utils/sysinst/arch/amd64/Makefile: revision 1.8
	distrib/utils/sysinst/msg.mi.de: revision 1.71
	distrib/utils/sysinst/msg.mi.fr: revision 1.130
	distrib/utils/sysinst/util.c: revision 1.180
	distrib/utils/sysinst/msg.mi.pl: revision 1.87
Make the default choice of "Install from" menu to use the sets
in the default file system (assuming which come with the CD/USB image)
and skip distmedium menu if the root file system is not md(4).
Also change "CD-ROM / DVD" menu option accordingly on ports which
have install images.  PR/47038
XXX: still no responsible maintainer of non-en translations

Revision 1.173.2.2 / (download) - annotate - [select for diffs], Sun Nov 18 22:04:43 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.173.2.1: +15 -7 lines
Diff to previous 1.173.2.1 (colored) to branchpoint 1.173 (colored) next main 1.174 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #649):
	distrib/utils/sysinst/msg.mi.es: revision 1.48
	distrib/utils/sysinst/arch/i386/Makefile: revision 1.18
	distrib/utils/sysinst/msg.mi.en: revision 1.176
	distrib/utils/sysinst/arch/amd64/Makefile: revision 1.8
	distrib/utils/sysinst/msg.mi.de: revision 1.71
	distrib/utils/sysinst/msg.mi.fr: revision 1.130
	distrib/utils/sysinst/util.c: revision 1.180
	distrib/utils/sysinst/msg.mi.pl: revision 1.87
Make the default choice of "Install from" menu to use the sets
in the default file system (assuming which come with the CD/USB image)
and skip distmedium menu if the root file system is not md(4).
Also change "CD-ROM / DVD" menu option accordingly on ports which
have install images.  PR/47038
XXX: still no responsible maintainer of non-en translations

Revision 1.170.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 18:48:54 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.170.2.2: +16 -8 lines
Diff to previous 1.170.2.2 (colored) to branchpoint 1.170 (colored) to selected 1.23 (colored)

sync with head

Revision 1.180 / (download) - annotate - [select for diffs], Thu Oct 25 15:05:23 2012 UTC (11 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.179: +15 -7 lines
Diff to previous 1.179 (colored) to selected 1.23 (colored)

Make the default choice of "Install from" menu to use the sets
in the default file system (assuming which come with the CD/USB image)
and skip distmedium menu if the root file system is not md(4).
Also change "CD-ROM / DVD" menu option accordingly on ports which
have install images.  PR/47038

XXX: still no responsible maintainer of non-en translations

Revision 1.179 / (download) - annotate - [select for diffs], Thu Jul 19 06:07:21 2012 UTC (11 years, 8 months ago) by joerg
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored) to selected 1.23 (colored)

Ensure that bakname and tempname have a defined value, even if the first
asprintf failed.

Revision 1.170.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:20 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.170.2.1: +3 -2 lines
Diff to previous 1.170.2.1 (colored) to branchpoint 1.170 (colored) to selected 1.23 (colored)

sync with head.

Revision 1.173.2.1 / (download) - annotate - [select for diffs], Thu May 17 18:57:11 2012 UTC (11 years, 10 months ago) by sborrill
Branch: netbsd-6
CVS Tags: netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6-0
Changes since 1.173: +139 -46 lines
Diff to previous 1.173 (colored) to selected 1.23 (colored)

Pull up the following revisions(s) (requested by riz in ticket #247):
	distrib/utils/sysinst/Makefile.inc: revision 1.59 via patch
	distrib/utils/sysinst/checkrc.c: revision 1.1-1.2 via patch
	distrib/utils/sysinst/configmenu.c: revision 1.1-1.5 via patch
	distrib/utils/sysinst/defs.h: revision 1.162 via patch
	distrib/utils/sysinst/install.c: revision 1.46 via patch
	distrib/utils/sysinst/main.c: revision 1.64 via patch
	distrib/utils/sysinst/mbr.c: revision 1.90 via patch
	distrib/utils/sysinst/menus.mi: revision 1.45-1.46 via patch
	distrib/utils/sysinst/msg.mbr.de: revision 1.12 via patch
	distrib/utils/sysinst/msg.mbr.en: revision 1.16-1.17 via patch
	distrib/utils/sysinst/msg.mbr.es: revision 1.7 via patch
	distrib/utils/sysinst/msg.mbr.fr: revision 1.18-1.19 via patch
	distrib/utils/sysinst/msg.mbr.pl: revision 1.15-1.16 via patch
	distrib/utils/sysinst/msg.mi.de: revision 1.62-1.67 via patch
	distrib/utils/sysinst/msg.mi.en: revision 1.170-1.172 via patch
	distrib/utils/sysinst/msg.mi.es: revision 1.40-1.43 via patch
	distrib/utils/sysinst/msg.mi.fr: revision 1.120-1.126 via patch
	distrib/utils/sysinst/msg.mi.pl: revision 1.79-1.83 via patch
	distrib/utils/sysinst/net.c: revision 1.131-1.132 via patch
	distrib/utils/sysinst/run.c: revision 1.70 via patch
	distrib/utils/sysinst/target.c: revision 1.55 via patch
	distrib/utils/sysinst/util.c: revision 1.174-1.178 via patch
	distrib/utils/sysinst/arch/evbarm/msg.md.de: revision 1.10-1.11 via patch
	distrib/utils/sysinst/arch/evbmips/md.c: revision 1.10 via patch
	distrib/utils/sysinst/arch/hp300/msg.md.de: revision 1.6-1.7 via patch
	distrib/utils/sysinst/arch/hp300/msg.md.en: revision 1.9 via patch
	distrib/utils/sysinst/arch/hp300/msg.md.es: revision 1.5 via patch
	distrib/utils/sysinst/arch/hp300/msg.md.fr: revision 1.8 via patch
	distrib/utils/sysinst/arch/hp300/msg.md.pl: revision 1.8 via patch
	distrib/utils/sysinst/arch/i386/msg.md.en: revision 1.62-1.63 via patch
	distrib/utils/sysinst/arch/i386/msg.md.es: revision 1.14 via patch
	distrib/utils/sysinst/arch/i386/msg.md.de: revision 1.23

Sync sysinst with -current as of 2011-05-17
Add new post-install configuration menu for sysinst, and apply numerous
bug fixes.

Revision 1.178 / (download) - annotate - [select for diffs], Tue May 8 13:51:34 2012 UTC (11 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.177: +3 -2 lines
Diff to previous 1.177 (colored) to selected 1.23 (colored)

Fix harmless error preventing auto-finding non-ISO9660 formatted CD
partitions (when offering sets from CD).

Revision 1.170.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:02:51 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.170: +182 -59 lines
Diff to previous 1.170 (colored) to selected 1.23 (colored)

sync with head

Revision 1.177 / (download) - annotate - [select for diffs], Mon Apr 9 23:18:31 2012 UTC (11 years, 11 months ago) by jdf
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.176: +7 -5 lines
Diff to previous 1.176 (colored) to selected 1.23 (colored)

Make sysinst not store the keyboard or network configuration used while
upgrading, as issued by PR install/35538.

Revision 1.176 / (download) - annotate - [select for diffs], Sat Apr 7 19:02:57 2012 UTC (11 years, 11 months ago) by jdf
Branch: MAIN
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored) to selected 1.23 (colored)

Fix for PR 45816: Restructuring the error menu when the CD ROM is missing.

Revision 1.175 / (download) - annotate - [select for diffs], Fri Apr 6 23:48:54 2012 UTC (11 years, 11 months ago) by riz
Branch: MAIN
Changes since 1.174: +129 -39 lines
Diff to previous 1.174 (colored) to selected 1.23 (colored)

Implement a post-install configuration menu, as proposed on tech-install.
Enables the user to configure a few additional items, including using
pkgin to manage binary packages, in a post-install menu which replaces
the series of questions (Do you want to set a root password? etc).

This is by no means a perfect solution, nor should it discourage anyone
from working on more sweeping changes to sysinst.

Some bug fixes, and .de translation provided by Julian Fagir.

XXX .es, .fr and .pl translations still needed.  Please help!

Revision 1.174 / (download) - annotate - [select for diffs], Wed Mar 21 05:43:55 2012 UTC (12 years ago) by matt
Branch: MAIN
Changes since 1.173: +2 -2 lines
Diff to previous 1.173 (colored) to selected 1.23 (colored)

Use C89 function definitions.

Revision 1.173 / (download) - annotate - [select for diffs], Tue Jan 10 21:02:47 2012 UTC (12 years, 2 months ago) by gson
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.172: +43 -12 lines
Diff to previous 1.172 (colored) to selected 1.23 (colored)

Add support for installing source sets as discussed on tech-install,
with improved German translations from Martin Husemann and Julian
Djamil Fagir.  French, Spanish, and Polish translations are
still needed.  OK christos, riz.

Revision 1.172 / (download) - annotate - [select for diffs], Thu Jan 5 21:29:25 2012 UTC (12 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (colored) to selected 1.23 (colored)

eliminate useless booleans and use the file pointers as conditionals.

Revision 1.171 / (download) - annotate - [select for diffs], Sun Jan 1 23:26:22 2012 UTC (12 years, 2 months ago) by riz
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored) to selected 1.23 (colored)

Fix typo in comment.

Revision 1.170 / (download) - annotate - [select for diffs], Mon Oct 17 16:35:22 2011 UTC (12 years, 5 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored) to selected 1.23 (colored)

There is no doubt whether whether should have a 'h' after the 'w'.

Revision 1.169 / (download) - annotate - [select for diffs], Mon Apr 4 08:30:14 2011 UTC (12 years, 11 months ago) by mbalmer
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.168: +26 -30 lines
Diff to previous 1.168 (colored) to selected 1.23 (colored)

Remove the advertisement clause from files copyrighted by Piermont Information
Systems, with the consent of the copyright owner, Perry E. Metzger.

Revision 1.168 / (download) - annotate - [select for diffs], Thu Mar 24 22:08:28 2011 UTC (13 years ago) by martin
Branch: MAIN
Changes since 1.167: +27 -2 lines
Diff to previous 1.167 (colored) to selected 1.23 (colored)

Split "md_hello" meesage (wich was abused on most archs to tell the user it
is safe to remove a "floppy" now) into two parts: md_hello to tell MD
specific informations (empty on most archs), and md_may_remove_boot_medium,
which is only added if md_may_remove_boot_medium() says so - by default only
say so on non local / filesystems, and never if / is on CD/DVD.

Fixes first part of PR 44738.

XXX - I'm not a linguistic genious nor semantic mind reading sed process,
please fix any fallout if you are a native speaker of an affected language
and/or user of a port I did not test. Send-pr if in doubt.

Revision 1.166.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:18:40 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.166: +11 -4 lines
Diff to previous 1.166 (colored) next main 1.167 (colored) to selected 1.23 (colored)

Sync with HEAD

Revision 1.167 / (download) - annotate - [select for diffs], Tue Feb 1 01:42:07 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.166: +11 -4 lines
Diff to previous 1.166 (colored) to selected 1.23 (colored)

Introduce a new option for all base sets without X11.
From jmcneill with translation help from Daniel Horecki.

Revision 1.166 / (download) - annotate - [select for diffs], Sat Dec 4 14:57:57 2010 UTC (13 years, 3 months ago) by jmmv
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.165: +1 -36 lines
Diff to previous 1.165 (colored) to selected 1.23 (colored)

Remove password cipher selection as discussed in current-users@.

Users who really really really want to change the default setting can
continue to change their cipher algorithm right after a clean install
by modifying /etc/passwd.conf and regenerating the root password if
previously set by sysinst.

Revision 1.151.14.2.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:20:43 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.151.14.2: +32 -19 lines
Diff to previous 1.151.14.2 (colored) next main 1.151.14.3 (colored) to selected 1.23 (colored)

sync to netbsd-5

Revision 1.165 / (download) - annotate - [select for diffs], Mon Apr 5 22:53:02 2010 UTC (13 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.164: +5 -1 lines
Diff to previous 1.164 (colored) to selected 1.23 (colored)

Add a NO_LFS define to force support for LFS in sysinst off, even if
the install media provides the utilities. Set this for sparc64 for now,
since the bootblocks don't deal with the default LFS parameters used
by sysinst.

Revision 1.164 / (download) - annotate - [select for diffs], Tue Mar 30 20:09:25 2010 UTC (14 years ago) by martin
Branch: MAIN
Changes since 1.163: +185 -10 lines
Diff to previous 1.163 (colored) to selected 1.23 (colored)

Do not bother to ask the user for CD details (like device name or path
on the CD) if we can find CDs (i.e. media, not drives) automagically
and check the standard paths on it.

If we find multiple CDs, offer a menu to select showing the volume
name. If something goes wrong, fall back to the manual input method.

In typical installs this makes us just proceed with extracting the sets
after selecting "install from CD/DVD", w/o any further interaction.

As a side effect fixes PR 43012.
XXX new messages need translations.

Revision 1.163 / (download) - annotate - [select for diffs], Wed Jan 27 11:02:03 2010 UTC (14 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.162: +45 -41 lines
Diff to previous 1.162 (colored) to selected 1.23 (colored)

Perform in-place replacement of the cypher type instead of renaming the
passwd.conf file to passwd.conf.pre-sysinst file and creating a new one
from scratch:

- This is consistent with all other edits of configuration files performed
  by sysinst.  (E.g. in-place changes of rc.conf.)

- This eases the upgrade of the system to a newer set of files because the
  diffs presented by etcupdate are easier to read.

No objections in tech-install@.  Tested installing NetBSD/amd64.

Revision 1.162 / (download) - annotate - [select for diffs], Sat Jan 2 18:06:57 2010 UTC (14 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored) to selected 1.23 (colored)

Fix some of the sign-compare fubar.

Revision 1.151.14.4 / (download) - annotate - [select for diffs], Sat Oct 10 20:22:34 2009 UTC (14 years, 5 months ago) by sborrill
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.151.14.3: +24 -19 lines
Diff to previous 1.151.14.3 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored) to selected 1.23 (colored)

Pull up the following revisions(s) (requested by snj in ticket #1082):
	distrib/utils/sysinst/util.c:	revision 1.161

Don't extract xetc to /, but rather in /.sysinst (like etc) so we don't blow
away existing config files. Wait until all sets have been unpacked to run
postinstall.  Previously we ran it after extracting etc, which meant that
/var/db/obsolete/ was not fully populated.

Revision 1.161 / (download) - annotate - [select for diffs], Fri Oct 9 21:11:31 2009 UTC (14 years, 5 months ago) by snj
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.160: +24 -19 lines
Diff to previous 1.160 (colored) to selected 1.23 (colored)

- Don't extract xetc to /, but rather in /.sysinst (like etc) so that we
  don't blow away existing config files.
- Wait until all sets have been unpacked to run postinstall.  Previously
  we ran it after extracting etc, which meant that /var/db/obsolete/ was
  not fully populated.

Revision 1.151.14.3 / (download) - annotate - [select for diffs], Fri Oct 9 08:09:24 2009 UTC (14 years, 5 months ago) by sborrill
Branch: netbsd-5
Changes since 1.151.14.2: +9 -1 lines
Diff to previous 1.151.14.2 (colored) to branchpoint 1.151 (colored) to selected 1.23 (colored)

Pull up the following revisions(s) (requested by snj in ticket #1081):
	distrib/utils/sysinst/util.c:	revision 1.160

/usr/X11R7/lib/X11/xkb/symbols/pc went from a directory to a file, so on
upgrades we need to remove it before extracting the xbase set.

Revision 1.160 / (download) - annotate - [select for diffs], Thu Oct 8 06:41:43 2009 UTC (14 years, 5 months ago) by snj
Branch: MAIN
Changes since 1.159: +9 -1 lines
Diff to previous 1.159 (colored) to selected 1.23 (colored)

/usr/X11R7/lib/X11/xkb/symbols/pc went from a directory to a file, so on
upgrades we need to remove it before extracting the xbase set, otherwise
we end up in a puddle of suck.

Revision 1.159 / (download) - annotate - [select for diffs], Mon Sep 7 02:31:53 2009 UTC (14 years, 6 months ago) by jnemeth
Branch: MAIN
Changes since 1.158: +2 -1 lines
Diff to previous 1.158 (colored) to selected 1.23 (colored)

Install the new modules.tgz set.

Revision 1.158 / (download) - annotate - [select for diffs], Sun Aug 23 21:16:17 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.157: +5 -33 lines
Diff to previous 1.157 (colored) to selected 1.23 (colored)

Get rid of the 'select extraction verbosity' menu.

Revision 1.154.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:17:55 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.154: +2 -2 lines
Diff to previous 1.154 (colored) next main 1.155 (colored) to selected 1.23 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.157 / (download) - annotate - [select for diffs], Sat Apr 4 11:24:24 2009 UTC (14 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.156: +1 -14 lines
Diff to previous 1.156 (colored) to selected 1.23 (colored)

- Improve on previous.
- If no /usr and the disk still has free space, give it to /

Revision 1.156 / (download) - annotate - [select for diffs], Sat Apr 4 11:04:28 2009 UTC (14 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.155: +14 -1 lines
Diff to previous 1.155 (colored) to selected 1.23 (colored)

Calculate swap size dynamically if DEFSWAPSIZE == -1. Default to RAM size.

Revision 1.151.14.2 / (download) - annotate - [select for diffs], Wed Feb 18 01:17:23 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.151.14.1: +2 -2 lines
Diff to previous 1.151.14.1 (colored) to branchpoint 1.151 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by abs in ticket #452):
	distrib/utils/sysinst/util.c: revision 1.155
Fix over enthusiastic length limit in SUPPORT_8_3_SOURCE_FILESYSTEM block

Revision 1.155 / (download) - annotate - [select for diffs], Wed Feb 11 20:33:14 2009 UTC (15 years, 1 month ago) by abs
Branch: MAIN
Changes since 1.154: +2 -2 lines
Diff to previous 1.154 (colored) to selected 1.23 (colored)

Fix over enthusiastic length limit in SUPPORT_8_3_SOURCE_FILESYSTEM block

Revision 1.151.14.1 / (download) - annotate - [select for diffs], Sun Feb 8 19:16:46 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC2
Changes since 1.151: +15 -1 lines
Diff to previous 1.151 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by abs in ticket #421):
	distrib/utils/sysinst/util.c: revision 1.154
	distrib/utils/sysinst/arch/atari/Makefile: revision 1.10
Add -DSUPPORT_8_3_SOURCE_FILESYSTEM option - currently *only enabled on atari*
which if a set file cannot be found will attempt to truncate down to 8.3 and
check again. Required for install with sets from GEMDOS filesystem.

Revision 1.154 / (download) - annotate - [select for diffs], Fri Feb 6 00:24:29 2009 UTC (15 years, 1 month ago) by abs
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.153: +15 -1 lines
Diff to previous 1.153 (colored) to selected 1.23 (colored)

Add -DSUPPORT_8_3_SOURCE_FILESYSTEM option - currently *only enabled on atari*
which if a set file cannot be found will attempt to truncate down to 8.3 and
check again. Required for install with sets from GEMDOS filesystem.

Revision 1.153 / (download) - annotate - [select for diffs], Fri Nov 21 15:31:20 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.152: +10 -1 lines
Diff to previous 1.152 (colored) to selected 1.23 (colored)

Don't ask for set location if:

- installing from CD-ROM or NFS
- and the root file system is of that type
- and the root file system contains sets

Revision 1.152 / (download) - annotate - [select for diffs], Thu Nov 6 15:30:23 2008 UTC (15 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.151: +19 -1 lines
Diff to previous 1.151 (colored) to selected 1.23 (colored)

make the eula acceptance permanent by adding it to sysctl.conf. From Anon Ymous

Revision 1.151.6.1, Sun Oct 5 20:11:10 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.151: +1 -1 lines
FILE REMOVED

Sync with HEAD.

Revision 1.147.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:21:03 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.147.8.2: +13 -1 lines
Diff to previous 1.147.8.2 (colored) to branchpoint 1.147 (colored) next main 1.148 (colored) to selected 1.23 (colored)

sync with HEAD

Revision 1.151.2.2 / (download) - annotate - [select for diffs], Mon Feb 4 01:54:57 2008 UTC (16 years, 1 month ago) by riz
Branch: mjf-devfs
Changes since 1.151.2.1: +1279 -0 lines
Diff to previous 1.151.2.1 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored) to selected 1.23 (colored)

Add 'sha1' as one of the password ciphers to be chosen from at
install time.  Translations will need to be adjusted - I didn't feel
comfortable touching anything but .en and .de despite the relatively
simple adjustment...

Revision 1.151.2.1, Mon Feb 4 01:54:56 2008 UTC (16 years, 1 month ago) by riz
Branch: mjf-devfs
Changes since 1.151: +0 -1279 lines
FILE REMOVED

file util.c was added on branch mjf-devfs on 2008-02-04 01:54:57 +0000

Revision 1.151 / (download) - annotate - [select for diffs], Mon Feb 4 01:54:56 2008 UTC (16 years, 1 month ago) by riz
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-0-RC1, mjf-devfs2-base, mjf-devfs-base, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: netbsd-5, mjf-devfs2, mjf-devfs
Changes since 1.150: +10 -1 lines
Diff to previous 1.150 (colored) to selected 1.23 (colored)

Add 'sha1' as one of the password ciphers to be chosen from at
install time.  Translations will need to be adjusted - I didn't feel
comfortable touching anything but .en and .de despite the relatively
simple adjustment...

Revision 1.150 / (download) - annotate - [select for diffs], Mon Jan 28 02:47:12 2008 UTC (16 years, 2 months ago) by rumble
Branch: MAIN
Changes since 1.149: +4 -1 lines
Diff to previous 1.149 (colored) to selected 1.23 (colored)

Fix MD set tweaking by introducing `md_init_set_status', which is called
at the end of `init_set_status'.

Previously, i386/amd64, mac68k and sgimips were using `md_init' to set the
appropriate kernel, but any changes made were being undone by a later call
to `init_set_status'.

This should fix IP3x installation issues on sgimips.

XXX - `md_init' is now unused. Should we G/C it?

Revision 1.147.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:28:30 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.147.8.1: +2 -1 lines
Diff to previous 1.147.8.1 (colored) to branchpoint 1.147 (colored) to selected 1.23 (colored)

sync with HEAD

Revision 1.147.4.1 / (download) - annotate - [select for diffs], Sun Jan 6 05:00:37 2008 UTC (16 years, 2 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.147: +13 -1 lines
Diff to previous 1.147 (colored) next main 1.148 (colored) to selected 1.23 (colored)

Catch up to netbsd-4.0 release.

Revision 1.149 / (download) - annotate - [select for diffs], Mon Nov 12 15:07:33 2007 UTC (16 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: pc532-eol-2008, matt-armv6-base, cube-autoconf-base, cube-autoconf
Changes since 1.148: +2 -1 lines
Diff to previous 1.148 (colored) to selected 1.23 (colored)

Make sysinst install the new tests.tgz set

Teach sysinst about the new tests.tgz set and allow the user to install
it as part of a regular installation.

Revision 1.147.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:10:16 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.147: +13 -1 lines
Diff to previous 1.147 (colored) to selected 1.23 (colored)

sync with HEAD

Revision 1.147.2.1 / (download) - annotate - [select for diffs], Fri Oct 26 14:44:35 2007 UTC (16 years, 5 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-1-RELEASE, netbsd-4-0
Changes since 1.147: +13 -1 lines
Diff to previous 1.147 (colored) next main 1.148 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by pavel in ticket #948):
	distrib/utils/sysinst/msg.mi.pl: revision 1.58
	distrib/utils/sysinst/msg.mi.de: revision 1.39
	distrib/utils/sysinst/msg.mi.es: revision 1.18
	distrib/utils/sysinst/util.c: revision 1.148
	distrib/utils/sysinst/msg.mi.en: revision 1.147
	distrib/utils/sysinst/msg.mi.de: revision 1.40
	distrib/utils/sysinst/msg.mi.fr: revision 1.98
	distrib/utils/sysinst/msg.mi.fr: revision 1.99
When upgrading, check (using postinstall) if /etc/mailer.conf selects the
old, now removed sendmail. If yes, display a warning menu that offers to
replace it by a current version that selects postfix.
Thank much to Martin Husemann for extensive testing and suggestions.
XXX translations need updating.

Translate in french the new oldsendmail message

Translate oldsendmail message.

Revision 1.148 / (download) - annotate - [select for diffs], Sun Oct 21 20:21:02 2007 UTC (16 years, 5 months ago) by pavel
Branch: MAIN
Changes since 1.147: +13 -1 lines
Diff to previous 1.147 (colored) to selected 1.23 (colored)

When upgrading, check (using postinstall) if /etc/mailer.conf selects the
old, now removed sendmail. If yes, display a warning menu that offers to
replace it by a current version that selects postfix.

Thank much to Martin Husemann for extensive testing and suggestions.

XXX translations need updating.

Revision 1.147 / (download) - annotate - [select for diffs], Fri Nov 24 00:53:47 2006 UTC (17 years, 4 months ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-4-base, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: wrstuden-fixsa, netbsd-4, matt-armv6
Changes since 1.146: +8 -4 lines
Diff to previous 1.146 (colored) to selected 1.23 (colored)

Properly mark the sets to install when selecting a full install.
Bug reported and patch reviewed by mhitch@, tested by myself

Revision 1.146 / (download) - annotate - [select for diffs], Mon Oct 23 19:45:56 2006 UTC (17 years, 5 months ago) by he
Branch: MAIN
Changes since 1.145: +33 -33 lines
Diff to previous 1.145 (colored) to selected 1.23 (colored)

Complete initializers, and correctly order "static" relative to "const",
i.e. at the front.

Revision 1.143.2.2 / (download) - annotate - [select for diffs], Wed Sep 27 12:15:14 2006 UTC (17 years, 6 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.143.2.1: +13 -3 lines
Diff to previous 1.143.2.1 (colored) to branchpoint 1.143 (colored) next main 1.144 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by hubertf in ticket #187):
	distrib/utils/sysinst/msg.mi.de: revision 1.33
	distrib/utils/sysinst/msg.mi.pl: revision 1.56
	distrib/utils/sysinst/msg.mi.es: revision 1.16
	distrib/utils/sysinst/util.c: revision 1.145
	distrib/utils/sysinst/msg.mi.en: revision 1.146
	distrib/utils/sysinst/msg.mi.fr: revision 1.95
	distrib/utils/sysinst/menus.mi: revision 1.28
	distrib/utils/sysinst/defs.h: revision 1.131
 * Add Minimal (core) installation, consisting of a kernel, base + etc
 * Fixup all of the German translations.

Revision 1.143.2.1 / (download) - annotate - [select for diffs], Wed Sep 27 12:13:26 2006 UTC (17 years, 6 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.143: +4 -6 lines
Diff to previous 1.143 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by hubertf in ticket #187):
	distrib/utils/sysinst/util.c: revision 1.144
Use sed(1) from the newly installed system instead of from the
miniroot/ramdisk -- which is not present on some platforms (hp300, mvme68k,
x68k), according to comments in their md_cleanup_install() functions.

Revision 1.145 / (download) - annotate - [select for diffs], Mon Sep 4 02:20:40 2006 UTC (17 years, 6 months ago) by hubertf
Branch: MAIN
Changes since 1.144: +13 -3 lines
Diff to previous 1.144 (colored) to selected 1.23 (colored)

 * Add Minimal (core) installation, consisting of a kernel, base + etc
 * Fixup all of the German translations.

Revision 1.144 / (download) - annotate - [select for diffs], Sun Sep 3 23:54:02 2006 UTC (17 years, 6 months ago) by hubertf
Branch: MAIN
Changes since 1.143: +4 -6 lines
Diff to previous 1.143 (colored) to selected 1.23 (colored)

Use sed(1) from the newly installed system instead of from the
miniroot/ramdisk -- which is not present on some platforms (hp300, mvme68k,
x68k), according to comments in their md_cleanup_install() functions.

Revision 1.143 / (download) - annotate - [select for diffs], Sun Feb 26 10:25:52 2006 UTC (18 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.142: +12 -10 lines
Diff to previous 1.142 (colored) to selected 1.23 (colored)

Make floppy install messages less confusing (maybe).
Make floppy file system type settable - it depends on the system you are
using to write the split sets, not the target.

Revision 1.142 / (download) - annotate - [select for diffs], Sat Feb 25 20:21:00 2006 UTC (18 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.141: +28 -79 lines
Diff to previous 1.141 (colored) to selected 1.23 (colored)

Use a menu for 'install from floppy' questions.
Ask whether the user wants to delete the fetched files (ftp and floppy) after
install.  Delete after sucessful install of each file.
Kill bufferred tty input in a couple of places when typeahead will be wrong.
Code added to run.c to do a 'cd' in the child, unused (so far).

Revision 1.141 / (download) - annotate - [select for diffs], Mon Jan 16 21:47:56 2006 UTC (18 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.140: +2 -5 lines
Diff to previous 1.140 (colored) to selected 1.23 (colored)

Remove the notarfile_ok message - is it no longer needed.
We don't need to have dump_lfs to get lfs support.
(i386 will need 100k of stuff deleted to get newfs_lfs and fsck_lfs added)

Revision 1.140 / (download) - annotate - [select for diffs], Sun Jan 15 20:41:00 2006 UTC (18 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.139: +17 -14 lines
Diff to previous 1.139 (colored) to selected 1.23 (colored)

Show the number of sets installed and the next set above the menu that
asks you where to load stuff from.
Initialise stuff so that 'install default set of sets' works.
Fix install loop, removing infinite loop if/when first kernel not selected.

Revision 1.139 / (download) - annotate - [select for diffs], Sun Jan 15 13:56:15 2006 UTC (18 years, 2 months ago) by is
Branch: MAIN
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored) to selected 1.23 (colored)

pacify gcc on VAX.

Revision 1.138 / (download) - annotate - [select for diffs], Thu Jan 12 22:02:44 2006 UTC (18 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.137: +423 -382 lines
Diff to previous 1.137 (colored) to selected 1.23 (colored)

Rework the installation loop so that it is possible to change the source
of the sets after an error.
A side effect is that it now does fetch-install-fetch-install..., not
fetch-...-fetch-install-...install.
The set selection code now uses a byte per set (not a bit-pattern) removing
the restriction of 32 sets, and allowing a per set status display (TBC).
Also TBC is deleting sets from /usr/INSTALL.
However I believe it works...

Revision 1.135.2.2 / (download) - annotate - [select for diffs], Sat Nov 5 00:49:05 2005 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.135.2.1: +3 -3 lines
Diff to previous 1.135.2.1 (colored) to branchpoint 1.135 (colored) next main 1.136 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by dsl in ticket #931):
	distrib/utils/sysinst/util.c: revision 1.137
Don't redisplay the title messages before displaying sub-menus during set
selection (eg selecting the X sets).
libcurses got changed earlier in the year so that the erase (and refresh)
of the message window caused all the unchanged spaces to be redrawn
overwriting most of the main set selection window.

Revision 1.117.2.5 / (download) - annotate - [select for diffs], Thu Nov 3 21:01:46 2005 UTC (18 years, 4 months ago) by riz
Branch: netbsd-2-0
Changes since 1.117.2.4: +4 -4 lines
Diff to previous 1.117.2.4 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by dsl in ticket #5964):
	distrib/utils/sysinst/util.c: revision 1.137
Don't redisplay the title messages before displaying sub-menus during set
selection (eg selecting the X sets).
libcurses got changed earlier in the year so that the erase (and refresh)
of the message window caused all the unchanged spaces to be redrawn
overwriting most of the main set selection window.

Revision 1.117.2.4.2.2.2.1 / (download) - annotate - [select for diffs], Thu Nov 3 21:01:44 2005 UTC (18 years, 4 months ago) by riz
Branch: netbsd-2-1
Changes since 1.117.2.4.2.2: +4 -4 lines
Diff to previous 1.117.2.4.2.2 (colored) next main 1.117.2.4.2.3 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by dsl in ticket #5964):
	distrib/utils/sysinst/util.c: revision 1.137
Don't redisplay the title messages before displaying sub-menus during set
selection (eg selecting the X sets).
libcurses got changed earlier in the year so that the erase (and refresh)
of the message window caused all the unchanged spaces to be redrawn
overwriting most of the main set selection window.

Revision 1.117.2.4.2.3 / (download) - annotate - [select for diffs], Thu Nov 3 21:01:02 2005 UTC (18 years, 4 months ago) by riz
Branch: netbsd-2
Changes since 1.117.2.4.2.2: +4 -4 lines
Diff to previous 1.117.2.4.2.2 (colored) to branchpoint 1.117.2.4 (colored) next main 1.117.2.5 (colored) to selected 1.23 (colored)

Pull up following revision(s) (requested by dsl in ticket #5964):
	distrib/utils/sysinst/util.c: revision 1.137
Don't redisplay the title messages before displaying sub-menus during set
selection (eg selecting the X sets).
libcurses got changed earlier in the year so that the erase (and refresh)
of the message window caused all the unchanged spaces to be redrawn
overwriting most of the main set selection window.

Revision 1.137 / (download) - annotate - [select for diffs], Sat Oct 22 09:31:50 2005 UTC (18 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.136: +4 -4 lines
Diff to previous 1.136 (colored) to selected 1.23 (colored)

Don't redisplay the title messages before displaying sub-menus during set
selection (eg selecting the X sets).
libcurses got changed earlier in the year so that the erase (and refresh)
of the message window caused all the unchanged spaces to be redrawn
overwriting most of the main set selection window.

Revision 1.117.2.4.2.2 / (download) - annotate - [select for diffs], Thu Sep 1 16:54:49 2005 UTC (18 years, 6 months ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4
Branch point for: netbsd-2-1
Changes since 1.117.2.4.2.1: +2 -2 lines
Diff to previous 1.117.2.4.2.1 (colored) to branchpoint 1.117.2.4 (colored) to selected 1.23 (colored)

Apply patch (requested by cube in ticket #5638):
Backout part of sysinst upgrade; postinstall is still in /etc in
this branch.

Revision 1.117.2.4.2.1 / (download) - annotate - [select for diffs], Sun Jul 24 02:25:24 2005 UTC (18 years, 8 months ago) by snj
Branch: netbsd-2
CVS Tags: netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1
Changes since 1.117.2.4: +65 -64 lines
Diff to previous 1.117.2.4 (colored) to selected 1.23 (colored)

Apply patch (requested by riz in ticket #5523):
Sync sysinst with HEAD of 2005-07-23.

Revision 1.135.2.1 / (download) - annotate - [select for diffs], Wed Apr 20 11:43:13 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored) to selected 1.23 (colored)

Pull up revision 1.136 (requested by lukem in ticket #176):
use /usr/sbin/postinstall instead of etc/postinstall from the extracted etc=
.tgz

Revision 1.136 / (download) - annotate - [select for diffs], Mon Apr 18 23:36:03 2005 UTC (18 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored) to selected 1.23 (colored)

use /usr/sbin/postinstall instead of etc/postinstall from the extracted etc.tgz

Revision 1.135 / (download) - annotate - [select for diffs], Sat Feb 26 17:40:50 2005 UTC (19 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.134: +1 -1 lines
Diff to previous 1.134 (colored) to selected 1.23 (colored)

Put 'Delete ?' (not "yes or no") in box when we ask whether the user
want to keep or delete the dist files.
Stop the "type enter to continue" if the rmdir fails - may not be empty.
Report an error if the chroot() (for RUN_CHROOT) fails.
fflush log and script files before writing to them from a child.

Revision 1.134 / (download) - annotate - [select for diffs], Sat Feb 26 17:36:32 2005 UTC (19 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.133: +2 -3 lines
Diff to previous 1.133 (colored) to selected 1.23 (colored)

Remove target_prefix() from rmdir command used to remove the temporary
directory that ftp copied teh dist files into.  Command is running chroot().

Revision 1.133 / (download) - annotate - [select for diffs], Sun Feb 20 20:54:52 2005 UTC (19 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.132: +3 -2 lines
Diff to previous 1.132 (colored) to selected 1.23 (colored)

Put /bin/sh at top of list for root's shell.
Remove a global data item as well.

Revision 1.132 / (download) - annotate - [select for diffs], Thu Nov 11 22:39:03 2004 UTC (19 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.131: +5 -5 lines
Diff to previous 1.131 (colored) to selected 1.23 (colored)

Specify --chroot and -h to tar so that it will chroot into the target
filesystem and then follow existing symbolic links in that filesystem.
The choot is required to make absolute links be processed correctly,
and must be done by tar because the program (and input file) do not
exist inside the chroot.
Fixes PR install/5010 and install/8090 (at least)

Revision 1.131 / (download) - annotate - [select for diffs], Thu Nov 11 22:30:49 2004 UTC (19 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.130: +18 -6 lines
Diff to previous 1.130 (colored) to selected 1.23 (colored)

Remove precisely the set files when tidying up after an ftp install.
(why this code persists in running 'rm -f' and not just calling unlink()
is rather beyond me....)

Revision 1.117.2.4 / (download) - annotate - [select for diffs], Thu Sep 16 03:31:08 2004 UTC (19 years, 6 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.117.2.3: +2 -2 lines
Diff to previous 1.117.2.3 (colored) to branchpoint 1.117 (colored) to selected 1.23 (colored)

Pullup rev 1.130 (requested by dsl in ticket #851)

Run the new copy of /etc/postinstall, not the one that happens to be on the
users system already.

Revision 1.130 / (download) - annotate - [select for diffs], Sun Sep 12 19:12:45 2004 UTC (19 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored) to selected 1.23 (colored)

Run the new copy of /etc/postinstall, not the one that happens to be on the
users system already.
Amongst other things this should ensure that MAKEDEV get updated.
(currently untested...)

Revision 1.129 / (download) - annotate - [select for diffs], Tue Aug 17 17:12:26 2004 UTC (19 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.128: +4 -3 lines
Diff to previous 1.128 (colored) to selected 1.23 (colored)

Don't require <enter> to by typed after setting root's password

Revision 1.128 / (download) - annotate - [select for diffs], Mon Aug 16 21:04:08 2004 UTC (19 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.127: +2 -1 lines
Diff to previous 1.127 (colored) to selected 1.23 (colored)

Add a couple of blank lines before the 'Creating devices' message

Revision 1.127 / (download) - annotate - [select for diffs], Sat Aug 14 16:06:39 2004 UTC (19 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.126: +7 -18 lines
Diff to previous 1.126 (colored) to selected 1.23 (colored)

Default to input in MB for all architectures (MB are cylinder aligned).
Move info about cylinders to the 'ask for units' menu.
  (translations need checking, done by cutting sentences)
Stop i386 always asking for units.
Use BIOS cylinders for MBR and disk cylinders for the disklabel.
  (code intended to do this, but got it wrong...)
Mark some menus as 'sub menu' or MC_SUBMENU so that the screen underneath
  is saved.
Add GENERIC.MPACPI to i386 menu.

Revision 1.126 / (download) - annotate - [select for diffs], Sat Jul 17 11:28:16 2004 UTC (19 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.125: +7 -1 lines
Diff to previous 1.125 (colored) to selected 1.23 (colored)

'Warp' menu selection to 'Exit' when a timezone is selected.
Add a line-break to the TZ menu title - has to look better that way.

Revision 1.125 / (download) - annotate - [select for diffs], Sat Jul 17 10:55:03 2004 UTC (19 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.124: +6 -5 lines
Diff to previous 1.124 (colored) to selected 1.23 (colored)

Remove the globals ramsize and rammb, the former was only ever used inside
a single function, the latter is now the return value of get_ramsize().
Changed all uses of rammb to get_ramsize().
Used the 64bit HW_PHYSMEM64 so silly things don't happen if the memory size
approaches (or even exceeds) 4GB.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Jul 16 21:35:44 2004 UTC (19 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.123: +16 -16 lines
Diff to previous 1.123 (colored) to selected 1.23 (colored)

'verbose' and 'silent' were switched - correct.
Fixes PR/26283
Also removed 'static int verbose' and passed as a parameter.

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jul 15 21:06:45 2004 UTC (19 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.122: +3 -16 lines
Diff to previous 1.122 (colored) to selected 1.23 (colored)

Nuke reask_sizemult() - it isn't used any more

Revision 1.122 / (download) - annotate - [select for diffs], Sat Jun 12 19:18:24 2004 UTC (19 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.121: +4 -1 lines
Diff to previous 1.121 (colored) to selected 1.23 (colored)

Add a menu (right at the start) to ask for the keyboard type.
Save the result in /etc/wscons.conf at the end of the install/upgrade.
Currently only builds for i386 - change arch/*/Makefile and add the
extra messages (though they could go into the msg.mi.* files).
Needs the 'Keyboard type' message translated in to German, French and polish.
Maybe the keyboard type names could be less cryptic...

Revision 1.117.2.3 / (download) - annotate - [select for diffs], Mon Jun 7 10:20:39 2004 UTC (19 years, 9 months ago) by tron
Branch: netbsd-2-0
Changes since 1.117.2.2: +48 -80 lines
Diff to previous 1.117.2.2 (colored) to branchpoint 1.117 (colored) to selected 1.23 (colored)

Pull up revision 1.120 (requested by dsl in ticket #453):
A load of usability fixes mainly to network installs.
I've made the error retry loops go back as far as the input menus.
Split all the pathname inputs into 2 pieces (base directory and set directory).
Reduced the size of some fixed strings.
Stopped the install aborting if ftp can't find a set (eg the X ones).
The French and Polish transations don't differenciate between Base_dir and
Set_dir - but that can be fixed later.

Revision 1.121 / (download) - annotate - [select for diffs], Sun Jun 6 06:06:59 2004 UTC (19 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.120: +3 -2 lines
Diff to previous 1.120 (colored) to selected 1.23 (colored)

Get rid of the EXTERN/INIT mess; fix so that we can process this with xstr(1).
Not worth processing though, since on the i386 we only save ~3K.

Revision 1.120 / (download) - annotate - [select for diffs], Sat Jun 5 21:19:00 2004 UTC (19 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.119: +48 -80 lines
Diff to previous 1.119 (colored) to selected 1.23 (colored)

A load of usability fixes mainly to network installs.
I've made the error retry loops go back as far as the input menus.
Split all the pathname inputs into 2 pieces (base directory and set directory).
Reduced the size of some fixed strings.
Stopped the install aborting if ftp can't find a set (eg the X ones).
The French and Polish transations don't differenciate between Base_dir and
Set_dir - but that can be fixed later.

Revision 1.117.2.2 / (download) - annotate - [select for diffs], Sat May 22 16:24:38 2004 UTC (19 years, 10 months ago) by he
Branch: netbsd-2-0
Changes since 1.117.2.1: +18 -9 lines
Diff to previous 1.117.2.1 (colored) to branchpoint 1.117 (colored) to selected 1.23 (colored)

Pull up revision 1.119 (requested by dsl in ticket #359):
  Remove code to do with etc.old, instead install etc.tgz
  into /.sysinst and use /etc/postinstall to merge.

Revision 1.117.2.1 / (download) - annotate - [select for diffs], Sat May 22 16:17:37 2004 UTC (19 years, 10 months ago) by he
Branch: netbsd-2-0
Changes since 1.117: +1 -189 lines
Diff to previous 1.117 (colored) to selected 1.23 (colored)

Pull up revision 1.118 (requested by dsl in ticket #358):
  Delete code that has been under '#if 0' for a while.

Revision 1.119 / (download) - annotate - [select for diffs], Sun Apr 18 21:34:56 2004 UTC (19 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.118: +18 -9 lines
Diff to previous 1.118 (colored) to selected 1.23 (colored)

Throw out all the crap to do with etc.old, instead install etc/tgz
into /.sysinst and use /etc/postinstall to do the merge.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Apr 18 20:42:19 2004 UTC (19 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.117: +1 -189 lines
Diff to previous 1.117 (colored) to selected 1.23 (colored)

Delete a load of code that has been under '#if 0' for a while

Revision 1.117 / (download) - annotate - [select for diffs], Thu Jan 29 08:48:23 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.116: +2 -1 lines
Diff to previous 1.116 (colored) to selected 1.23 (colored)

Add support for "xetc".

Revision 1.116 / (download) - annotate - [select for diffs], Sat Jan 17 05:30:01 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.115: +2 -4 lines
Diff to previous 1.115 (colored) to selected 1.23 (colored)

Remove references to xcontrib and xmisc now that they've been merged
into xbase.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Nov 30 14:36:44 2003 UTC (20 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.114: +13 -58 lines
Diff to previous 1.114 (colored) to selected 1.23 (colored)

- Change enum for partition numbers from [A..Z] to PART_[A..P] (16 is enough)
- Rename run_prog() to run_program() and remove the 'errmsg' argument (almost
  never used).
- Be consistent about #define<space> in defs.h
- Allow BSDFFS partitions to be FFSv1 or FFSv2 (fixes PR install/23547)
- i386: install correct bootblocks for root filesystem type.
- Do 'fsck -p' before all mounts (but never a full fsck), rename fsck_xxx()
  to mount_xxx() and remove some wrapper functions.
- Allow root to be an APPLEUFS partition - and allow them to be newfsed,
  should fix PR install/23198
- Redo fstab processing for upgrade to avoid large static data items and
  memory leaks.  Change walk() to abort on user defined error.
  (the fstab stuff really needs more work though...)
- i386: 'Warp' cursor to alternate option when selecting console/bootblocks,
  should fix PR port-i386/23546.
- Allow MENU_ok and MENU_yesno to take user defined title.
- Ensure that mountpoint not defined for swap (and similar issues) when
  editing netbsd label.
- Tweaks to error handling in run_program(), allow user to say that errors
  are expected or that the display shouldn't be cleared before returning.
- Remove some old code that has been festering under #if 0

Revision 1.114 / (download) - annotate - [select for diffs], Sat Nov 15 12:53:34 2003 UTC (20 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.113: +2 -3 lines
Diff to previous 1.113 (colored) to selected 1.23 (colored)

A few sysinst fixes:

	* use cd0a rather than cd0[cd] as the CDROM installation device.
	  This fixes problems with platforms that install from iso9660 images
	  encapsulated in a partition, and should not affect platforms that
	  don't.
	* add RUN_PROGRESS to the run_prog() flags for ftp installs.

Okay'ed by David Laight.

Revision 1.67.2.12 / (download) - annotate - [select for diffs], Mon Oct 20 06:01:25 2003 UTC (20 years, 5 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.67.2.11: +11 -4 lines
Diff to previous 1.67.2.11 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored) to selected 1.23 (colored)

Pull back up changes from 1.81 to enable the progress bar. (ticket #1167)

Revision 1.113 / (download) - annotate - [select for diffs], Sun Oct 19 20:45:27 2003 UTC (20 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored) to selected 1.23 (colored)

Change RC_CONFIGURED from NO to YES (not YES to NO).

Revision 1.112 / (download) - annotate - [select for diffs], Sun Oct 19 20:17:32 2003 UTC (20 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.111: +111 -100 lines
Diff to previous 1.111 (colored) to selected 1.23 (colored)

Checkpoint a load of changes - seems to work ok still.
- rework run_prog() so that the program name (etc) is usually displayed if
  the program generates any output, or terminates with an error.
  Allow arguments to included in single quotes.
  Try to collect console output so it doesn't interfere with curses.
- Add a '*' to the cylinder count if non-integral number of cylinders
  (on disklabel editor)
- Only show partition type for unused partitions.
- Show size including unused space on '+' partition, remove a..z since
  the don't relate to partition IDs (netbsd partition sizes)
- Fix deleting of 'user' partitions - killed size of next ptn.
- Don't default a swap partition is the disk already has one.
- Fix deleting of extended MBR partitions - changed size of ptn 2.
- Show error message if user tries something illegal in mbr editor.
- Default to old diskname (actually disk type - dunno why!)
- Use MI enable_rc_conf() to set RC_CONFIGURED=YES, use a single sed
  command instead of a raft of code playing with files etc.
- Float some menus to just below header text, saves counting and lets
  language variants have different height headers (use y=-1)
- Track whether anything is mounted on /mnt2 better.
- Put more texts into message file.
- Change english prose texts to be more correct.
- Stop french and polish versions core dumping if ptn start/size changed.
- Fix processing logic for saving /etc (action is still borked)
- Do tail-end setup if any sets (eg X) can't be found (but not if you give
  in (yet)).

Revision 1.111 / (download) - annotate - [select for diffs], Wed Aug 6 13:57:00 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.110: +4 -3 lines
Diff to previous 1.110 (colored) to selected 1.23 (colored)

use bounded string op

Revision 1.110 / (download) - annotate - [select for diffs], Tue Jul 29 12:08:32 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.109: +5 -5 lines
Diff to previous 1.109 (colored) to selected 1.23 (colored)

Fix display of localtime on timezone update screen.
(missing "." in "%.*s")
Reduce memory leak in setenv() by only calling it for changes.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Jul 27 08:57:27 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.108: +14 -4 lines
Diff to previous 1.108 (colored) to selected 1.23 (colored)

Force localfs_dir to be an absolute path - fixes PR install/14130.
Put disklabel info into /tmp/disktab in case / isn't writable,
fixes PR 17347.  Note the /etc/disktab isn't the target /etc anyway...

Revision 1.108 / (download) - annotate - [select for diffs], Sun Jul 27 07:45:09 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.107: +12 -12 lines
Diff to previous 1.107 (colored) to selected 1.23 (colored)

Remove 'menu_ent' parameter from action routines.
Add menu for all disklabel partition types.
Default 'partition type' and 'sizechoice' menus to current value.
Change 'standard/use existing' to 'set sizes/use existing'.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jul 25 08:26:22 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.106: +11 -19 lines
Diff to previous 1.106 (colored) to selected 1.23 (colored)

Sprinkle a load of consts, and change a few variable names.
Now compiles with WARNS=3.

Revision 1.106 / (download) - annotate - [select for diffs], Tue Jul 22 08:30:11 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.105: +8 -3 lines
Diff to previous 1.105 (colored) to selected 1.23 (colored)

Output a messge before the 5 second delay while the network comes up.
Ask user before deleting set files (fixes PR/7190).

Revision 1.105 / (download) - annotate - [select for diffs], Fri Jul 18 10:29:37 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.104: +3 -5 lines
Diff to previous 1.104 (colored) to selected 1.23 (colored)

Tested version of code to get local directory (I'd got waylaid by etc.old)
Messages for net.c changes.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Jul 18 09:49:18 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.103: +23 -27 lines
Diff to previous 1.103 (colored) to selected 1.23 (colored)

Remember which sets we sucessfully installed (so we know when to
restore /etc).
Improve handling of absent directories in get_via_localdir.
distname[] isn't needed (twice)

Revision 1.103 / (download) - annotate - [select for diffs], Thu Jul 10 13:36:48 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.102: +5 -7 lines
Diff to previous 1.102 (colored) to selected 1.23 (colored)

Ensure correct curses tty settings are restored after a program runs.
Remove the abberant call to endwin() in i386 md_update() that caused
echo to be left on. I've not removed the endwin from the other ports.
Only run MAKEDEV if etc.tgz installed.
Some extra sanity checks on an 'rm -rf %s'.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Jul 8 11:58:58 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.23 (colored)

Stop timezone submenu exploding (strcmp of MSG_xxxx).
Allow mbr partition type to be changed without losing disklabel info
for same area of disk (allows type to be changed from 165 to 169).

Revision 1.101 / (download) - annotate - [select for diffs], Mon Jul 7 12:30:22 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.100: +138 -77 lines
Diff to previous 1.100 (colored) to selected 1.23 (colored)

Another pass of the rototiller. Mainly:
1) New MBR editor
2) Hierarchic timezone menu

Revision 1.100 / (download) - annotate - [select for diffs], Fri Jun 27 13:36:06 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.99: +6 -6 lines
Diff to previous 1.99 (colored) to selected 1.23 (colored)

Pull texts from MI menus into language dependant text files.
Minor change to name of some strings (eg: MSG_yes -> MSG_Yes == "Yes")

Revision 1.99 / (download) - annotate - [select for diffs], Mon Jun 16 19:42:14 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.98: +5 -3 lines
Diff to previous 1.98 (colored) to selected 1.23 (colored)

A load of KNF changes, plus a couple of strnxxx => strlxxx my fingers did
on the way through.

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jun 11 23:06:15 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored) to selected 1.23 (colored)

make rammb sum correct for memory sizes between 2GB and 4GB.
Fixes sysinst/17551

Revision 1.97 / (download) - annotate - [select for diffs], Wed Jun 11 21:35:36 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.96: +265 -19 lines
Diff to previous 1.96 (colored) to selected 1.23 (colored)

rototil of the set selection menu
I've also made the set selection happen first.  This lets me test it!
also measn the selected sets could be used in the disk partition code.
Removed the 'with X' disk layout question (now too late to change the sets).

Revision 1.96 / (download) - annotate - [select for diffs], Wed Jun 11 11:00:39 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.95: +33 -41 lines
Diff to previous 1.95 (colored) to selected 1.23 (colored)

KNF

Revision 1.95 / (download) - annotate - [select for diffs], Wed Jun 4 19:09:50 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) to selected 1.23 (colored)

Add extra parameter (exit text) to new_menu() calls

Revision 1.94 / (download) - annotate - [select for diffs], Tue Jun 3 11:54:49 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.93: +34 -34 lines
Diff to previous 1.93 (colored) to selected 1.23 (colored)

Add NULL to all process_menu() calls - value is passed through to the
action routine.
Make the french and polish versions compile.
NB needs a new version of menuc - so need 'build.sh tools'

Revision 1.93 / (download) - annotate - [select for diffs], Fri May 30 22:17:00 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored) to selected 1.23 (colored)

Make all architectures (except amiga and mac68k) use the MI make_bsd_partitions.
This does change the default size of /, but I'm going to rewrite
make_bsd_partitions next to make it less user-hostile.
(I'm not sure adding in 2 * ram is actually useful! Especially size it left
/usr with a -ve size on all my test installs with 256MB ram and 1GB disk)
Make bootsel code delete menu names if the partition is unused.
Use raw device for cdrom access (I've a kernel that doesn't report an invalid
label so /dev/cd0a dosn't work).

Revision 1.92 / (download) - annotate - [select for diffs], Fri May 16 19:34:00 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.91: +69 -65 lines
Diff to previous 1.91 (colored) to selected 1.23 (colored)

Use sizeof() to be absolutely certain there are no buffer overruns.
Use strlcpy() instead of strncpy() where appropriate.
Recode timezone menu so that it can stand opt_name being const char *
and to only do the fts_read() once (there were problems if the filestore
changed between passes!).
Remove stupid check for errno != 0 which probably stopped the tomezone
menu being displayed!

Revision 1.91 / (download) - annotate - [select for diffs], Fri May 9 12:45:01 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.90: +4 -4 lines
Diff to previous 1.90 (colored) to selected 1.23 (colored)

Allow for menu 'opt_name' being const char *.

Revision 1.90 / (download) - annotate - [select for diffs], Fri May 9 12:34:42 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.89: +8 -1 lines
Diff to previous 1.89 (colored) to selected 1.23 (colored)

#if 0  out  cleanup_dist()  (the obsolete file handling function)
since we don't ship the obsolete sets on the install media anymore.
Instead, we'll rely upon postinstall to do this for us.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Apr 6 16:12:37 2003 UTC (20 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.88: +6 -2 lines
Diff to previous 1.88 (colored) to selected 1.23 (colored)

When installing from floppy disks, let the user say which is the last one
on a set, instead of hardcoding the number of parts in sysinst (which gets
out of sync easily).  The fdlast field of the distinfo struct has been
removed.

This solution is a bit simplistic but...  anybody using the floppy
installation method will have to split sets himself (as we don't provide
them), so he will know which is the last one.  Also, he will be able to
use whatever chunk size he wants.

Closes PR install/5050.  Ok'ed by fvdl.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Feb 22 03:20:48 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored) to selected 1.23 (colored)

all:
	Use /var/db/obsolete instead of /etc/obsolete

etc/Makefile:
	Create separate target "install-obsolete-files" to populate
	/var/db/obsolete, instead of using "install-etc-files".

Makefile:
	Add do-obsolete target, to run "cd etc && make install-obsolete-files",
	and add this to BUILDTARGETS.
	This moves the "obsolete files" creation from "distribution" to "build".


Per discussion with Andrew Brown.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Feb 20 22:21:25 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.23 (colored)

fix previous; target_prefix() returns const char *, not char *.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Feb 20 12:02:56 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.85: +6 -7 lines
Diff to previous 1.85 (colored) to selected 1.23 (colored)

cleanup_dist():
- filenames in obsolete sets start with "./" not "/" (i changed that a
  while ago, and forgot to update this)
- only call target_prefix() once, not for each filename parsed...
- look for obsolete lists in /etc/obsolete/%s instead of /dist/%s_obsolete

Revision 1.85 / (download) - annotate - [select for diffs], Thu Feb 20 11:03:34 2003 UTC (21 years, 1 month ago) by grant
Branch: MAIN
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored) to selected 1.23 (colored)

remove -O arg in pax->tar change.

also noted by MOCHIZUKI Tomomitsu.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Feb 20 11:00:35 2003 UTC (21 years, 1 month ago) by grant
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored) to selected 1.23 (colored)

add missing '-' (stdin) to progress/tar command line.

noted by MOCHIZUKI Tomomitsu in PR install/20442.

Revision 1.67.2.11 / (download) - annotate - [select for diffs], Fri Feb 14 02:52:21 2003 UTC (21 years, 1 month ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.67.2.10: +6 -1 lines
Diff to previous 1.67.2.10 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

Pullup rev 1.82 (requested by grant in ticket #1166)
 Put a retry loop around the cd mount to try and handle slow cd
 spinup's that might return EIO on some systems. Fixes PR#20165

Revision 1.83 / (download) - annotate - [select for diffs], Fri Feb 14 00:17:56 2003 UTC (21 years, 1 month ago) by grant
Branch: MAIN
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored) to selected 1.23 (colored)

use pas-as-tar to extract sets rather than pax-as-pax, and pass
-e arg to abort after first error.

This means the extract process doesn't spew seemingly-endless
"No space left on device" if the destination partition fills.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Feb 11 11:30:54 2003 UTC (21 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.81: +6 -1 lines
Diff to previous 1.81 (colored) to selected 1.23 (colored)

Put a retry loop around the cd mount to try and handle slow cd spinup's that
might return EIO on some systems. Fixes PR#20165

Revision 1.67.2.10 / (download) - annotate - [select for diffs], Tue Feb 11 08:24:31 2003 UTC (21 years, 1 month ago) by jmc
Branch: netbsd-1-6
Changes since 1.67.2.9: +4 -11 lines
Diff to previous 1.67.2.9 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

Revert rev 1.81 out for now. (grant, ticket #1115)
progess(1) and sysinst are not getting along and this needs some work before
it's going to work correctly. Backing it out here will allow future
integration without redoing the whole pullup (since the rest of the pullup
doesn't affect anything).

Revision 1.67.2.9 / (download) - annotate - [select for diffs], Mon Feb 10 06:05:11 2003 UTC (21 years, 1 month ago) by jmc
Branch: netbsd-1-6
Changes since 1.67.2.8: +10 -3 lines
Diff to previous 1.67.2.8 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

Pullup rev 1.81 (requested by grant in ticket #1115)
 Separate progress reporting into a utility set of routines. Use
 these to provide a standalone progress binary and integrate support
 for this into sysinst.

Revision 1.67.2.8 / (download) - annotate - [select for diffs], Mon Jan 27 06:37:47 2003 UTC (21 years, 2 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.67.2.7: +2 -2 lines
Diff to previous 1.67.2.7 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

Pullup revisions 1.76-1.77 (requested by grant in ticket #1114)
 Add '-O' to pax command line, so that various error conditions don't
 try and prompt the user for a new archive.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Jan 22 05:59:08 2003 UTC (21 years, 2 months ago) by jhawk
Branch: MAIN
Changes since 1.80: +11 -4 lines
Diff to previous 1.80 (colored) to selected 1.23 (colored)

Allow the user to select a progress bar for file extraction, rather
than simply silence or maximum verbosity. Leverage progress(1).

Revision 1.80 / (download) - annotate - [select for diffs], Sat Jan 11 22:32:43 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.79: +3 -1 lines
Diff to previous 1.79 (colored) to selected 1.23 (colored)

check for strdup returning null

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jan 11 19:44:05 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.78: +1 -36 lines
Diff to previous 1.78 (colored) to selected 1.23 (colored)

Make everything compile again. All platforms compile on i386 now.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jan 10 20:00:28 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.77: +19 -14 lines
Diff to previous 1.77 (colored) to selected 1.23 (colored)

pass lint[pass1]

Revision 1.77 / (download) - annotate - [select for diffs], Sun Dec 22 12:07:34 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored) to selected 1.23 (colored)

Add '-O' to pax command line, so that various error conditions don't try
and prompt the user for a new archive.

(No idea if this solves the infamous "sysinst random coredump" problem,
but it's worth a shot, and makes sense in any case)

Revision 1.76 / (download) - annotate - [select for diffs], Thu Dec 5 01:17:18 2002 UTC (21 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.75: +9 -9 lines
Diff to previous 1.75 (colored) to selected 1.23 (colored)

FILE *log -> FILE *logfp, to avoid warnings about gcc-current's
builtin log() function.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Oct 19 20:33:19 2002 UTC (21 years, 5 months ago) by provos
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored) to selected 1.23 (colored)

use readlink with bufsize - 1; approved thorpej.

Revision 1.67.2.7 / (download) - annotate - [select for diffs], Sun Oct 13 23:57:01 2002 UTC (21 years, 5 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.67.2.6: +2 -2 lines
Diff to previous 1.67.2.6 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

Pull up revision 1.74 (requested by grant in ticket #902):
during timezone selection, only update the clock once per minute. once
per second is painful and annoying over a serial line.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Oct 5 02:41:54 2002 UTC (21 years, 5 months ago) by grant
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.23 (colored)

during timezone selection, only update the clock once per minute. once
per second is painful and annoying over a serial line.

Revision 1.67.2.6 / (download) - annotate - [select for diffs], Sat Aug 10 00:50:39 2002 UTC (21 years, 7 months ago) by itojun
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Changes since 1.67.2.5: +1 -10 lines
Diff to previous 1.67.2.5 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

backout previous commit(s) to a branch which i shoulnd't commit.

Revision 1.67.2.5 / (download) - annotate - [select for diffs], Sat Aug 10 00:43:22 2002 UTC (21 years, 7 months ago) by itojun
Branch: netbsd-1-6
Changes since 1.67.2.4: +2 -2 lines
Diff to previous 1.67.2.4 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

sync comment with msg file

Revision 1.67.2.4 / (download) - annotate - [select for diffs], Sat Aug 10 00:42:45 2002 UTC (21 years, 7 months ago) by itojun
Branch: netbsd-1-6
Changes since 1.67.2.3: +10 -1 lines
Diff to previous 1.67.2.3 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

have a choice of bcrypt passwd.  not sure if we should set ypcipher to
something other than "old"...

Revision 1.73 / (download) - annotate - [select for diffs], Mon Jul 29 03:05:17 2002 UTC (21 years, 8 months ago) by grant
Branch: MAIN
Changes since 1.72: +10 -1 lines
Diff to previous 1.72 (colored) to selected 1.23 (colored)

add setting of root's shell, from Julio Merino in install/17676 with
minor changes by me.

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Sat Jun 29 23:26:02 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.67.2.2: +2 -2 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

Pull up revision 1.72 (requested by scottr in ticket #405):
A malloc() return value wasn't checked properly in cleanup_dist() while
reading the file list. Bob Nestor found this by inspection while working on
sysinst for NetBSD/mac68k, and as such there is no corresponding PR.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Jun 29 20:04:56 2002 UTC (21 years, 9 months ago) by scottr
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.23 (colored)

A malloc() return value wasn't checked properly in cleanup_dist() while
reading the file list. Bob Nestor found this by inspection while working on
sysinst for NetBSD/mac68k, and as such there is no corresponding PR.

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Fri Jun 21 16:03:49 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.67.2.1: +16 -5 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored) to selected 1.23 (colored)

pull up revs 1.69-1.70 of util.c via patch (requested by itojun in ticket #141)
and associated menu & message changes:
    revision 1.70
	``des'' isn't a valid parameter as cipher name.  Use ``old'' instead
	as per pwd_gensalt.c (or passwd.conf(5)).  Compile test only.
    revision 1.69
	have an option to leave passwd.conf unchanged, particularly for
	upgrading.  From: Tetsuya Isaki <isaki@par.odn.ne.jp>
	XXX translation needed

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Thu Jun 6 09:58:45 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.67: +1 -9 lines
Diff to previous 1.67 (colored) to selected 1.23 (colored)

Pull up revision 1.71 (requested by lukem in ticket #188):
- Replace make(1) and -D FTP_HOST with SYSINST_FTP_HOST.
  Defaults to "ftp.netbsd.org"
- Replace make(1) and -D FTP_DIR with SYSINST_FTP_DIR.
  Defaults to "pub/NetBSD/NetBSD-" + VER + "/" + MACH.
  (FTP_DIR used to override "pub/NetBSD/NetBSD-", which meant the
  path name had to contain the release version in it)
- Add make(1) and -D SYSINST_CDROM_DIR.
  Defaults to "/" + mach.
- only append ftp_prefix to ftp_dir and cdrom_dir once, just after
  the options are parsed.  Do this in newly added set_defaults().

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jun 6 09:53:22 2002 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.70: +1 -9 lines
Diff to previous 1.70 (colored) to selected 1.23 (colored)

- Replace make(1) and -D FTP_HOST with SYSINST_FTP_HOST.
  Defaults to "ftp.netbsd.org"
- Replace make(1) and -D FTP_DIR with SYSINST_FTP_DIR.
  Defaults to "pub/NetBSD/NetBSD-" + VER + "/" + MACH.
  (FTP_DIR used to override "pub/NetBSD/NetBSD-", which meant the
  path name had to contain the release version in it)
- Add make(1) and -D SYSINST_CDROM_DIR.
  Defaults to "/" + mach.
- only append ftp_prefix to ftp_dir and cdrom_dir once, just after
  the options are parsed.  Do this in newly added set_defaults().

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jun 5 10:00:43 2002 UTC (21 years, 9 months ago) by enami
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) to selected 1.23 (colored)

``des'' isn't a valid parameter as cipher name.  Use ``old'' instead as per
pwd_gensalt.c (or passwd.conf(5)).  Compile test only.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Jun 2 14:12:54 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.68: +16 -6 lines
Diff to previous 1.68 (colored) to selected 1.23 (colored)

have an option to leave passwd.conf unchanged, particularly for upgrading.
From: Tetsuya Isaki <isaki@par.odn.ne.jp>

XXX translation needed

Revision 1.68 / (download) - annotate - [select for diffs], Fri May 24 08:07:50 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.67: +14 -4 lines
Diff to previous 1.67 (colored) to selected 1.23 (colored)

let users choose blowfish password option.
XXX msg.mi.fr is out of sync

Revision 1.67 / (download) - annotate - [select for diffs], Fri Apr 5 00:12:14 2002 UTC (21 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored) to selected 1.23 (colored)

Remember to free strdup()'ed string.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Apr 4 14:26:44 2002 UTC (21 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.65: +26 -1 lines
Diff to previous 1.65 (colored) to selected 1.23 (colored)

Allow the password cipher to be chosen at install time. XXX Not tested for
real yet, and the French files need updating.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Mar 23 05:18:23 2002 UTC (22 years ago) by shin
Branch: MAIN
Changes since 1.64: +1 -4 lines
Diff to previous 1.64 (colored) to selected 1.23 (colored)

'kern.tgz' no longer exists.
don't check 'kern.tgz'.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jan 14 02:38:16 2001 UTC (23 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.63: +85 -5 lines
Diff to previous 1.63 (colored) to selected 1.23 (colored)

extend sysinst disk handling, some general clean ups, better /etc support
and some sparc64 fixes.  details:

- new scripting_{,v}fprintf() that also write to the script log (if open).
- support of creation of LFS filesystems
- standard installs now allow one to choose which file systems to create,
out of the list of /usr, /var, /home, MFS /tmp, and swap.  a / is always
created, but the rest all optional. [*]
- new disklabel method: use existing.  this requires one to fill in the
mount points (and having at least a "/" is enforced).
- preservation of existing filesystems (at install) is supported.
- rewrote most of make_fstab(): the entire thing is generated from the
bsdlabel now, rather than hard coding / to 'a' and swap to 'b'.  create
MFS /tmp if requested.
- if IPv6 support isn't present, don't display any ipv6 messages.
- better rc.conf support
- sparc & sparc64 default to "cylinders" now.
- choosing "standard" instead of "standard with X" de-selects the X pkgs
by default.
- sparc64: don't install bootblocks until we have a complete system, avoids
booting with no /dev/console.
- sparc64: bump STDNEEDMB, it is way low.


[*] i have added default values for DEFVARSIZE & DEFUSRSIZE (this is used
only if /usr and /home are selected) to each port, based on STDNEEDMB.  as
such, my guesses might be wrong so port maintainers should look at these.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jan 7 13:07:57 2001 UTC (23 years, 2 months ago) by jdc
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.23 (colored)

Use wrefresh(curscr) instead of clearok().
Suggested by Thomas Dickey.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 31 13:08:06 2000 UTC (23 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.61: +7 -2 lines
Diff to previous 1.61 (colored) to selected 1.23 (colored)

Be paranoid and do a clearok() before we do a refresh().

Revision 1.51.2.4 / (download) - annotate - [select for diffs], Tue Dec 26 06:35:43 2000 UTC (23 years, 3 months ago) by jhawk
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.51.2.3: +4 -1 lines
Diff to previous 1.51.2.3 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored) to selected 1.23 (colored)

Pull up revision 1.59 (requested by hubertf):
  Fix sysinst to require base.tgz (in addition to etc.tgz and
  kern.tgz) to successfully install. Fixes PR#11634.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Dec 22 10:12:14 2000 UTC (23 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.60: +6 -6 lines
Diff to previous 1.60 (colored) to selected 1.23 (colored)

de-__P()-ify

Revision 1.60 / (download) - annotate - [select for diffs], Thu Dec 21 21:42:03 2000 UTC (23 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.59: +3 -7 lines
Diff to previous 1.59 (colored) to selected 1.23 (colored)

Don't output the termcap `cl' sequence.
XXX: do we really need to home the cursor here?
XXX: should we do clearok() instead or in addition?

Revision 1.59 / (download) - annotate - [select for diffs], Mon Dec 18 09:39:50 2000 UTC (23 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.58: +4 -1 lines
Diff to previous 1.58 (colored) to selected 1.23 (colored)

A sane distrib doesn't only need etc.tgz and kern.tgz, but also base.tgz.
Check for it!

Fixes PR 11634 by Wayne Berke <wayber@rcn.com>

Revision 1.58 / (download) - annotate - [select for diffs], Mon Dec 4 22:47:02 2000 UTC (23 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.23 (colored)

Fix typos in comments.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Nov 26 01:11:26 2000 UTC (23 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored) to selected 1.23 (colored)

Close list_file after we're finished with it.

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Wed Oct 18 17:51:16 2000 UTC (23 years, 5 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.51.2.2: +61 -45 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored) to selected 1.23 (colored)

Pullup (sync with HEAD not including xmisc set changes) [fvdl]:
==
Don't call test(1) to determine the existence/type of files, that's
rather over the top. Not doing this also means that test(1) can
be omitted from the ramdisks (for scripts it's not needed, because it
is built in to sh(1)).
==
On the i386, enable swapspace as soon as the disklabel has been written,
to play nice with low-memory systems.

Add a md_pre_update() hook, to do MD things before an upgrade operation.
On the i386, use it to enable swap.
==
Remove outdated comment.
==
Add a definition for md_init(), an MD function to initialize whatever
needs to be initialized before sysinst starts processing menus.
Call it from main().
==
[i386 only]
* In md_init, determine what kind of bootfloppy we are (either
  by checking uname, or the BOOTMODEL environment var), and set
  the kernel setname accordingly for some bootmodels (tiny and laptop),
  to install GENERIC_TINY and GENERIC_LAPTOP respectively. There's
  no sense in installing plain GENERIC, especially on "tiny" systems;
  it may not even make it far enough to add swapspace on 4M machines.
* Make sure to always install bootcode into the MBR (unless the user
  explicitly tells us not to). Should fix PR#8887, PR#9093, PR#9999
==
[non-i386 md.c files]
Add empty stubs for md_init().
==
[i386]
Fix compare logic error in check for installation of seperate kernel
sets.

Add code to deal with moving a.out libraries to /emul/aout for
upgrading.
==
[i386]
Add 2 defines for a.out library move code.
==
Externalize concat_paths, it is used by arch/i386/md.c now. Add
target_realpath prototype.
==
Add message for a.out library move failure case.
==
Add target_realpath(), a function that expands a pathname on the
"target" filesystem, i.e. a filesystem that will probably be
mounted on /mnt during install/upgrade, but will be / when
the system is booted. Needed to deal with absolute symbolic links.
This function is (unfortunately) a verbatim copy of realpath() from libc,
with prefix handling added.
==
Don't abort when trying to remove a directory marked as obsolete that does
not exist.
==
Create the disktab file directly, no need to waste precious inodes/space
in ramdisks with disktab.preinstall.
==
* Change the interface of run_prog: use a flags argument instead of
  seperate booleans. Add flags to run as a plain 'system()' command,
  fullscreen (but on a pty), and chrooted, and implement their
  functionality. Add a bit of TIOCPKT handling code to handle
  programs messing with term settings better.
* Ask to set the root password at the end of an install.
* Remove a few unneeded comments.
* Sprinkle some touchwin() calls here and there to make the output
cleaner.
  They shouldn't really be needed, but even normal usage (no syslog
  messages) even left the screen messy sometimes.
* Change some messages around that were apparently swapped by accident and
  thus caused confusion.
==
Improve labelling a bit, by allowing some shortcuts to start partitions
where another one ends, and ending partitions where another one start,
or at the start of the disk / until the end of the disk.
==
Stress that if a match is found between a disk device and a BIOS disk,
you really should not be changing the geometry values, unless they
look totally ridiculous due to some BIOS bug.

Disable manual entering of initial partition label values when doing
a custom label. The step was redundant. Just go to the label edit
directly, leaving everything but the c and d partitions empty.
==
Adapt for format change in mbr editing header; it now always displays
the whole partition, and the total disksize.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Oct 11 23:47:57 2000 UTC (23 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.55: +21 -11 lines
Diff to previous 1.55 (colored) to selected 1.23 (colored)

* Change the interface of run_prog: use a flags argument instead of
  seperate booleans. Add flags to run as a plain 'system()' command,
  fullscreen (but on a pty), and chrooted, and implement their
  functionality. Add a bit of TIOCPKT handling code to handle
  programs messing with term settings better.
* Ask to set the root password at the end of an install.
* Remove a few unneeded comments.
* Sprinkle some touchwin() calls here and there to make the output cleaner.
  They shouldn't really be needed, but even normal usage (no syslog
  messages) even left the screen messy sometimes.
* Change some messages around that were apparently swapped by accident and
  thus caused confusion.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Oct 11 11:10:46 2000 UTC (23 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.54: +6 -1 lines
Diff to previous 1.54 (colored) to selected 1.23 (colored)

Don't abort when trying to remove a directory marked as obsolete that does
not exist.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 26 13:26:02 2000 UTC (23 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.53: +35 -34 lines
Diff to previous 1.53 (colored) to selected 1.23 (colored)

Don't call test(1) to determine the existence/type of files, that's
rather over the top. Not doing this also means that test(1) can
be omitted from the ramdisks (for scripts it's not needed, because it
is built in to sh(1)).

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Thu Aug 31 12:40:50 2000 UTC (23 years, 7 months ago) by hubertf
Branch: netbsd-1-5
Changes since 1.51.2.1: +70 -82 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) to selected 1.23 (colored)

Pull up all changes up to rev. 1.53 to netbsd-1-5 branch, OK'd by jhawk
>set_timezone:
> * If etc/localtime can't be readlink(3)'d, assume the default time zone is
>   UTC
> * if errors occur (malloc, fts_open, fts_read, menu generation fails),
>   skip timezone setting instead of terminating sysinst.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Aug 31 01:10:43 2000 UTC (23 years, 7 months ago) by hubertf
Branch: MAIN
Changes since 1.52: +12 -24 lines
Diff to previous 1.52 (colored) to selected 1.23 (colored)

set_timezone:
 * If etc/localtime can't be readlink(3)'d, assume the default time zone is
   UTC
 * if errors occur (malloc, fts_open, fts_read, menu generation fails),
   skip timezone setting instead of terminating sysinst.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Tue Aug 15 02:12:53 2000 UTC (23 years, 7 months ago) by hubertf
Branch: netbsd-1-5
Changes since 1.51: +164 -1 lines
Diff to previous 1.51 (colored) to selected 1.23 (colored)

Pull changes up to netbsd-1-5 branch, OK'd by thorpej:

Revisions:
 > cvs rdiff -r1.54 -r1.55 basesrc/distrib/utils/sysinst/defs.h
 > cvs rdiff -r1.19 -r1.20 basesrc/distrib/utils/sysinst/install.c
 > cvs rdiff -r1.42 -r1.43 basesrc/distrib/utils/sysinst/menus.mi.en
 > cvs rdiff -r1.64 -r1.65 basesrc/distrib/utils/sysinst/msg.mi.en
 > cvs rdiff -r1.30 -r1.31 basesrc/distrib/utils/sysinst/run.c
 > cvs rdiff -r1.51 -r1.52 basesrc/distrib/utils/sysinst/util.c

Log Message:
 >  * Add timezone-setting menu to sysinst, offering all timezones from
 >    (/mnt)/usr/share/zoneinfo in a listbox, and setting (/mnt)/etc/localtime
 >    accordingly.
 >  * Adjust for the needed menuc change un run.c's log_flip() and script_flip()
 >    functions.
 >
 > Related PRs:
 >  5777   sysinst does not offer to tweak /etc/localtime
 >  8099   changing the default time zone is non-obvious
 >  9910   sysinst doesn't ask about setting timezone

Revision 1.52 / (download) - annotate - [select for diffs], Tue Aug 15 01:08:00 2000 UTC (23 years, 7 months ago) by hubertf
Branch: MAIN
Changes since 1.51: +164 -1 lines
Diff to previous 1.51 (colored) to selected 1.23 (colored)

 * Add timezone-setting menu to sysinst, offering all timezones from
   (/mnt)/usr/share/zoneinfo in a listbox, and setting (/mnt)/etc/localtime
   accordingly.
 * Adjust for the needed menuc change un run.c's log_flip() and script_flip()
   functions.

Related PRs:
 5777   sysinst does not offer to tweak /etc/localtime
 8099   changing the default time zone is non-obvious
 9910   sysinst doesn't ask about setting timezone

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jun 18 13:40:41 2000 UTC (23 years, 9 months ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.50: +4 -1 lines
Diff to previous 1.50 (colored) to selected 1.23 (colored)

don't worry about non-existing files when deleting obsolete files
in the upgrade-case. just skip them silently.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 14 22:42:49 2000 UTC (24 years ago) by fvdl
Branch: MAIN
CVS Tags: minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.49: +8 -5 lines
Diff to previous 1.49 (colored) to selected 1.23 (colored)

Convert ask_sizemult to take an argument, so that MBR using ports can
actually call it with the right sectors per cylinder size during
MBR partitioning.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jul 4 22:33:54 1999 UTC (24 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.48: +7 -3 lines
Diff to previous 1.48 (colored) to selected 1.23 (colored)

note that msg_printf_add() is going to go away

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jul 4 22:31:37 1999 UTC (24 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored) to selected 1.23 (colored)

convert the custom distribution set table to be formatted with
msg_table.  needed slight tweaks in the MD menus, for menu placement.
(one XXX TRANSLATE in msg.mi.fr.)

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 4 21:32:49 1999 UTC (24 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) to selected 1.23 (colored)

message const poisoning, and conversion from integers to an opaque
message type.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Thu Jun 24 23:02:09 1999 UTC (24 years, 9 months ago) by cgd
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.34.2.1: +43 -52 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.23 (colored)

pull up rev(s) 1.41-1.46 from trunk. (cgd)

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jun 22 18:47:07 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: dynamic-messages-base, dynamic-messages
Changes since 1.45: +5 -2 lines
Diff to previous 1.45 (colored) to selected 1.23 (colored)

address the problems described in PR#7833 and its followups: ftp/nfs
installation would try to continue even if no networking interfaces found,
and, and, when that was fixed, instead of dropping back to the
pick-distribution-medium menu they'd drop all the way back to the opening
menu.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jun 22 06:57:01 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.44: +7 -8 lines
Diff to previous 1.44 (colored) to selected 1.23 (colored)

* make selection of 'none' for installation media type return the user
  to the toplevel menu, as promised by the media selection menu, without
  first going through an "installation is aborted" menu.
* when something causes the installation to fail (e.g. missing set or failure
  to extract a set's contents), don't go through N menus
  (missing/failed/aborted, sets didn't install/aborted,
  sanity check failed/aborted) before getting back to the top level.  The
  user only needs to be told once that their life sucks.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jun 22 02:43:10 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.43: +26 -41 lines
Diff to previous 1.43 (colored) to selected 1.23 (colored)

nuke ask_ynquestion from orbit.  not only was it bogus w.r.t. what is
allowed in C (see PR 6431), but it's also bogus w.r.t. sysinst's message
display style, etc.  XXX the French msg file needs translation.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jun 22 00:57:06 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored) to selected 1.23 (colored)

mark all calls to write 'CL' (the screen-clear escape sequence) to the
screen as XXX.  Where they were not followed by wclear(stdscr), add
wclear(stdscr).  Somebody was let out without adult supervision.  If i
were more adventurous, i'd remove the bits that output 'CL', but i'm not
gonna go there right now.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jun 20 06:08:15 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.23 (colored)

copyright notice typo fixups, as noticed in PR#7248.  This software
was developed, not develooped.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 20 04:17:57 1999 UTC (24 years, 9 months ago) by garbled
Branch: MAIN
Changes since 1.40: +5 -2 lines
Diff to previous 1.40 (colored) to selected 1.23 (colored)

Check the return code of subwin and newwin for NULL.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Apr 19 15:19:28 1999 UTC (24 years, 11 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE
Changes since 1.34: +203 -22 lines
Diff to previous 1.34 (colored) to selected 1.23 (colored)

sync with head. yes, this is an unorthodox pullup.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Apr 18 04:09:27 1999 UTC (24 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) to selected 1.23 (colored)

Don't frob the interals of a WINDOW*, use the getmaxx() and getmaxy()
macros.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Apr 15 12:25:54 1999 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.38: +3 -1 lines
Diff to previous 1.38 (colored) to selected 1.23 (colored)

Add wclear()/wupdate() before MSG_makedev, bits of the previous screen
were left.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Apr 14 12:47:27 1999 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.23 (colored)

If there is no files to delete, return 1 (success), not 0.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Apr 13 20:17:48 1999 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.36: +181 -5 lines
Diff to previous 1.36 (colored) to selected 1.23 (colored)

Main change: add a cleanup_dist() function in util.c which will do the needed
cleanups before extracting a set. Should'nt do anything for an install,
as the filesystem shouldn't contain files that need to be removed.
cleanup_dist() is called before extract_file() for each set (the set name
is passed as parameter). It will open a file /dist/<set name>_obsolete
if it exists. This file should contain a list of files (absolutes
pathnames) that needs to be removed. cleanup_dist() will lstat() each file
to determine if it's there and if it's a directory or not.
It will then unlink() entries that are not directories and then rmdir()
directories. If a directory is not empty (it should now if the list of files
is correct) it will be renamed to <directory.old> and the user will be warned.

Other changes:
- move prototype of target_prefix() in defs.h, don't maintain a copy
  of it in each file.
- in install.c, after MSG_disksetupdone, do a wclear(stdscr) (display was
  clobbered after it).
- kill MSG_openmsgbuf, it's not used anywhere
- after MSG_disksetupdone in upgrade, don't call MENU_ok, do it the
  same way as in install.
- add wclear(stdscr);/wrefresh(stdscr); before calling MENU_distset (another
  display problem ...)
- While I'm there, move ask_verbose_dist() before MENU_distmedium. This way,
  if all go well the user can go away one ftp starts and come back once
  sets are extracted.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Apr 11 22:40:22 1999 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.23 (colored)

- Add 2 functions in label.c, getpartoff()/getpartsize() used to let the user
  enter partitions offet and size. The user can chose unit independantly of
  the unit used for display ('M'/'c'/'s'). These functions do the proper
  bound checks and alignement/roudups. Used in the edfspart menu and
  i386 md_make_bsd_partitions() (other ports should do the change as
  well).
- now that getpartsize() does the rigth thing, kill the swapadj hack (which was
  buggy anyway).
- in i386 md_make_bsd_partitions(), don't propose defaults that don't fit on
  the disk. If the disk is too small, fallback to custom instead.
- fix a bug in mbr.c, where the partition flags would not have always been
  reset. sysinst created me a MBR with 2 active partition. The boot code
  doesn't like it :)
- added a message for eventual mount failures.
- killed donewfs and extracting messages, as we run  the commands in a
  subwindow these messages just flashed on the screen.
- Changes a few exit(1) to return(1), to give the user a second chance.
- added msg_clear() or wclear(stdscr) in a place or two, to make
  display a bit nicer.
- in run_cmd(), if the command succeeded, don't wait for the user to
  press enter.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 9 10:24:39 1999 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.34: +18 -15 lines
Diff to previous 1.34 (colored) to selected 1.23 (colored)

Some fixes for the do_install() function:
- Make all the functions called from do_install() return an error code,
  so that we can abort install if something went wrong.
- Add a 'errstr' argument to run_prog(), which if not NULL is displayed
  with msg_printf() and followed by process_menu(MENU_ok) if the command fail.
  Used to warn the user that the current action is aborted.
- in a few places use msg_display() or msg_printf() rather than printf.
  It seems that stdout/stderr are not always pointing to the active curses
  window.
- garbage-collecd unused messages, add a few new one (error handling).
XXX only tested on i386. Other md parts should be tested as well.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 8 19:42:30 1999 UTC (25 years ago) by garbled
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.33: +9 -2 lines
Diff to previous 1.33 (colored) to selected 1.23 (colored)

Found another case of shell redirection in a run_prog.  Tidy it up with
do_system, and appropriate logging calls.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jan 25 23:34:24 1999 UTC (25 years, 2 months ago) by garbled
Branch: MAIN
Changes since 1.32: +1 -5 lines
Diff to previous 1.32 (colored) to selected 1.23 (colored)

1) Remove all vestiges of tar from src/distrib.  Use pax and appropriate
commandlines for all tar operations.  (work supplied by Matt Green)
2) Update arch/*/md.c to deal with new sysinst/run.c.  Special case
anything that needs to do a redirect or a pipe.
3) #if 0 some unused code in target.c. This code will need to be updated,
or special cased with do_system.

Big thank you to Matt for all his work on this.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 21 08:02:18 1999 UTC (25 years, 2 months ago) by garbled
Branch: MAIN
Changes since 1.31: +60 -18 lines
Diff to previous 1.31 (colored) to selected 1.23 (colored)

This change includes the following:
Scripting and logging functionality for sysinst.
Child programs are run in a "display window" so you can actually see what
	they did before the screen flashes back and you loose it all.
Lots of curses fixups.  Removed nasty endwins that mangled the tty upon
	rentry.
Change the yes/no box to accept Y or N, and not require cursor motion to
	decide one or the other.
Perform curses redraws when doing things that could cause the kernel to
	spew printfs onto your screen.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Aug 10 02:23:45 1998 UTC (25 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.23 (colored)

bzero->memset

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jun 22 12:18:52 1998 UTC (25 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.29: +1 -3 lines
Diff to previous 1.29 (colored) to selected 1.23 (colored)

remove bogus unnecessary "NetBSD-X.Y" directory from cdrom path; it will not exist for future cdroms

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 20 13:05:51 1998 UTC (25 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.28: +161 -130 lines
Diff to previous 1.28 (colored) to selected 1.23 (colored)

KNF.

Revision 1.6.2.13 / (download) - annotate - [select for diffs], Fri May 29 18:02:25 1998 UTC (25 years, 10 months ago) by mycroft
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002
Changes since 1.6.2.12: +4 -4 lines
Diff to previous 1.6.2.12 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.23 (colored)

Pull up 1.28, per request of fvdl.

Revision 1.28 / (download) - annotate - [select for diffs], Fri May 15 15:12:30 1998 UTC (25 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) to selected 1.23 (colored)

Add MD cleanup function to do some thingd once the install is done.
Only implemented for the i386; behaviour for other ports is
unchanged. For the i386, make this function remove some extraneous
files in /, and frob rc.conf to have rc_configured=YES. The defaults
are reasonable, and it saves the user having to set TERM and mount
filesystems by hand in order to be able to edit /etc/rc.conf

(XXX not very clean, but it's a workaround to be more user-friendly
 for 1.3.2)

Also adapt a few messages slightly so they apply to both situations.

Revision 1.6.2.12 / (download) - annotate - [select for diffs], Mon Mar 9 22:11:24 1998 UTC (26 years ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH001
Changes since 1.6.2.11: +9 -3 lines
Diff to previous 1.6.2.11 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Pull up 1.26 and 1.27 (phil)

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 25 05:26:37 1998 UTC (26 years, 1 month ago) by phil
Branch: MAIN
Changes since 1.26: +5 -2 lines
Diff to previous 1.26 (colored) to selected 1.23 (colored)

Make the CDROM default path be .../NetBSD-<rel>/<machine>/binary/sets
as specified in release(7) for the ftp site.  This is because I'm
assuming that the CDROM would just be a copy of the ftp site minus
duplication.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Feb 9 06:55:27 1998 UTC (26 years, 1 month ago) by phil
Branch: MAIN
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored) to selected 1.23 (colored)

Ask for custom/full and select distribution files before selecting
distribution medium.  Makes ftp fetch only needed files.

Revision 1.6.2.11 / (download) - annotate - [select for diffs], Sun Feb 8 06:35:34 1998 UTC (26 years, 1 month ago) by mellon
Branch: netbsd-1-3
Changes since 1.6.2.10: +6 -2 lines
Diff to previous 1.6.2.10 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Pull up 1.25 (jonathan)

Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 7 09:32:32 1998 UTC (26 years, 1 month ago) by jonathan
Branch: MAIN
Changes since 1.24: +6 -2 lines
Diff to previous 1.24 (colored) to selected 1.23 (colored)

Fix typo in table of files to check for in target. Found  by Phil Nelson.

Revision 1.6.2.10 / (download) - annotate - [select for diffs], Fri Dec 26 02:39:49 1997 UTC (26 years, 3 months ago) by perry
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE
Changes since 1.6.2.9: +2 -2 lines
Diff to previous 1.6.2.9 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

pull up from trunk (fvdl)

Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 26 01:58:49 1997 UTC (26 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

* mount NFS directory to get the sets from read-only,
  same for floppies (from Christoph Badura)
* allow user to run 'Configure network' multiple times, to correct errors
  for example.
* deal with network interfaces that need explicit media type selection
  (i.e. ask for it when it is needed, also store it in the generated
  /etc/ifconfig.blah file on the destination disk)

Revision 1.6.2.9 / (download) - annotate - [select for diffs], Thu Dec 25 20:15:04 1997 UTC (26 years, 3 months ago) by perry
Branch: netbsd-1-3
Changes since 1.6.2.8: +2 -2 lines
Diff to previous 1.6.2.8 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

pull up from trunk (fvdl,bad)

Revision 1.23 / (download) - annotate - [selected], Thu Dec 25 17:54:41 1997 UTC (26 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Fix naming of split sets to be loaded from floppy. From Christoph Badura.

Revision 1.6.2.8 / (download) - annotate - [select for diffs], Fri Dec 5 14:12:52 1997 UTC (26 years, 3 months ago) by jonathan
Branch: netbsd-1-3
Changes since 1.6.2.7: +196 -21 lines
Diff to previous 1.6.2.7 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Pull up changes with commit message starting
  >* Add main menu option to reinstall sets or install additional sets.
  >  (like upgrade but without trying to save etc.
to 1.3 release branch:
    defs.h:1.25
    disks.c:1.16
    label.c:1.2
    menus.mi.eng:1.17
    msg.mi.eng:1.24
    net.c:1.24
    target.c:1.14
    upgrade.c:1.12
    util.c:1.22

Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 5 14:01:12 1997 UTC (26 years, 3 months ago) by jonathan
Branch: MAIN
Changes since 1.21: +196 -21 lines
Diff to previous 1.21 (colored) to selected 1.23 (colored)

* Add main menu option to reinstall sets or install additional sets.
  (like upgrade but without trying to save etc.

* Add option to setls0urce menu to look in an already-mounted (local)
  directory.  Change `local fs' option to say umounted local fs.

* Change extract_file() to check that a tarball actually exists
  and give an explicit non-curses warning if it doesn't. (see above.)

* GNU tar returns a successful status if its gunzip child dies.
  Add short sleep() after tar commands in case of undetected errors.

* Change set-source selection code (except FTP, floppy) to check
  that the mandatory set files (base.tgz, etc.tgz) exist
  in the selected directory.  If they don't, warn the user and
  prompt the user to  change the selected directory.
  Give the user the option to explicitly continue even if
  base.tgz or etc.tgz not found, just in case.

* Change extract_file() to keep count of set unpacks that succeeded
  or failed. (Unreliable, given the broken return status of gnu tar.)
  Warn the user if there are errors and abort the installation/upgrade
  if we find any.  Does at least catch Ctrl-C interrupts of unpacking.

* Make unwind_mounts() signal-safe.

* Sense of target_verify_* is broken. Replace with predicates that
  return 1 iff the file or directory exists.

* Fix upgrade tests for existing etc.old (see above) before saving
  target /etc as /etc.old.

* Other detail fixes.

Revision 1.6.2.7 / (download) - annotate - [select for diffs], Tue Nov 25 06:58:02 1997 UTC (26 years, 4 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-BETA
Changes since 1.6.2.6: +5 -5 lines
Diff to previous 1.6.2.6 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Sync w/ trunk.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 25 06:53:13 1997 UTC (26 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored) to selected 1.23 (colored)

Update for the lay-of-the-land as described in release(7).  As such, move
all pathname-on-server related definitions to MI code, since they are now
defined to be consistent across all platforms.  Also, nuke the "rels" global,
since release numbers are now always specified in "long form", i.e. 1.3A
vs. 13A.

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Thu Nov 13 03:10:25 1997 UTC (26 years, 4 months ago) by jonathan
Branch: netbsd-1-3
Changes since 1.6.2.5: +10 -3 lines
Diff to previous 1.6.2.5 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Pull disks.s revision: 1.14 and util.c revision: 1.20 to release branch.
Original commit message:
  >* Create /mnt2 before unpacking sets, in case it's not on install media.
  >* Create target /kern after creating target /etc/fstab entry for /kern.
  >* Check for more  files in target when done: /etc/{rc,rc.subr,conf}
  >* Clean up warning exerciser.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Nov 13 03:06:45 1997 UTC (26 years, 4 months ago) by jonathan
Branch: MAIN
Changes since 1.19: +10 -3 lines
Diff to previous 1.19 (colored) to selected 1.23 (colored)

* Create /mnt2 before unpacking sets, in case it's not on install media.
* Create target /kern after creating target /etc/fstab entry for /kern.
* Check for more  files in target when done: /etc/{rc,rc.subr,conf}
* Clean up warning exerciser.

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Tue Nov 11 00:47:38 1997 UTC (26 years, 4 months ago) by phil
Branch: netbsd-1-3
Changes since 1.6.2.4: +25 -16 lines
Diff to previous 1.6.2.4 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Sync with HEAD.  (As per thorpej's instructions.)

Revision 1.19 / (download) - annotate - [select for diffs], Tue Nov 11 00:43:51 1997 UTC (26 years, 4 months ago) by phil
Branch: MAIN
Changes since 1.18: +25 -16 lines
Diff to previous 1.18 (colored) to selected 1.23 (colored)

Clear up confusion of extract_dist() extract directory source.  New var
ext_dir that is absolute directory name of where files are located to
extract.  All setup routines must set that directory name correctly.
Make target.c compile if DEBUG is set.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Mon Nov 10 19:23:31 1997 UTC (26 years, 4 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.6.2.3: +37 -20 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Sync w/ trunk.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 6 09:02:37 1997 UTC (26 years, 4 months ago) by jonathan
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored) to selected 1.23 (colored)

* Add merge_etc() in upgrade.c. Copies /etc.old/fstab to /etc/fstab
 as last step of upgrade, so /etc/fstab exists after reboot.

*  util.c: correct sense of test in sanity-check helper check_for().
   Change variable name to `found' for readability.

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Thu Nov 6 00:52:03 1997 UTC (26 years, 4 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.6.2.2: +154 -38 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Pull rev 1.12 through 1.15 up from trunk (jonathan)

Revision 1.17 / (download) - annotate - [select for diffs], Wed Nov 5 23:32:54 1997 UTC (26 years, 4 months ago) by phil
Branch: MAIN
Changes since 1.16: +11 -16 lines
Diff to previous 1.16 (colored) to selected 1.23 (colored)

- add TODO file for developer communication
- add user notification/response for errors during tar extraction
- twiddle ask_ynquestion()

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 5 22:46:10 1997 UTC (26 years, 4 months ago) by mhitch
Branch: MAIN
Changes since 1.15: +23 -1 lines
Diff to previous 1.15 (colored) to selected 1.23 (colored)

Add an option to install or upgrade from a local disk filesystem.  Upgrade
still needs an option to specify the distribution sets from a filesystem
present in fstab.
Add "ados" to the list file recognized filesystems.
Increase label information table size to 16 to allow for 16 partitions.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 5 07:48:52 1997 UTC (26 years, 4 months ago) by phil
Branch: MAIN
Changes since 1.14: +8 -5 lines
Diff to previous 1.14 (colored) to selected 1.23 (colored)

Make extract_dist use the getit information.  (Correct fix)

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 5 07:28:40 1997 UTC (26 years, 4 months ago) by jonathan
Branch: MAIN
Changes since 1.13: +84 -2 lines
Diff to previous 1.13 (colored) to selected 1.23 (colored)

* Add code to run `test(1)' on target-root pathnames.

* Change find_disks: after mouting target root, check for
  /etc/fstab in target, and abort upgrade if not found.

* Change upgrade to check if the target root has /etc.old
  before renaming the target /etc -> /etc.old.  If found, abort.
  (may indicates a failed upgrade.)

*  Add save_etc(). saves target /etc as /etc.old, then copies back
   config files we might want during upgrade, in case target is current root.

* Fix logic that fscks and mounts disks. Use subroutines to
  fsck with a warning message and ok() on continue.  Same for doing mounts.

* Fix bug in extract_dist(). Do NOT do target prefixing on the dist_dir,
  since we didn't do target prefixing when mounting it.
  (At least, NFS does't.)

* Add function to  sanity-check target root.
   Call after upgrade/install  is done.

* Change MSG_realdir to print the strerror() of any errors.
  Change target_chdir() to check if chdir() returns -1 and return errno.

* Make sure /dev exists before cd'ing there and running MAKEDEV.

* Use target_fopen() and fprintf() to write network state to disk,
  to avoid inadvertent shell escapes.

* Fix silly typo in append_to_target_file. (maybe add shell quotes?)

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 5 01:23:09 1997 UTC (26 years, 4 months ago) by phil
Branch: MAIN
Changes since 1.12: +6 -1 lines
Diff to previous 1.12 (colored) to selected 1.23 (colored)

Complete -r flag addition, info was static, now path names are runtime
constructed so -r flag makes a diffference in the distribution directory.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Nov 4 01:39:09 1997 UTC (26 years, 4 months ago) by phil
Branch: MAIN
Changes since 1.11: +63 -37 lines
Diff to previous 1.11 (colored) to selected 1.23 (colored)

- extract_dist now uses dist_list to know which to extract
- Added -r rel flag to change the release tag on the tar files.
- Added Usage
- Fixed a menu bug (missing exit)
- Made target_expand available to all functions to produce correct
	file names.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sun Nov 2 20:45:47 1997 UTC (26 years, 5 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.6.2.1: +61 -39 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) to selected 1.23 (colored)

Pull rev 1.9, 1.10 and 1.11 up from trunk (jonathan)

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 2 09:42:01 1997 UTC (26 years, 5 months ago) by jonathan
Branch: MAIN
Changes since 1.10: +41 -1 lines
Diff to previous 1.10 (colored) to selected 1.23 (colored)

Snip out common code that fetches and unpack setss in both upgrade()
and install().  Put it into a new function ``get_and_unpack_sets()''.
Fixes a typo (/sbin/umoount) in the upgrade() version.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Nov 2 08:20:45 1997 UTC (26 years, 5 months ago) by jonathan
Branch: MAIN
Changes since 1.9: +14 -38 lines
Diff to previous 1.9 (colored) to selected 1.23 (colored)

* Change sysinst MI code to use new install-target-filesystem access functions.
  Add  target.c to Makefiles.

* Minor fixes:
  * Fix buglet in disks.c: make sure the target /etc exists before
    touching the target's /etc/fstab. (Could be even cleaner.)

   * If the target root is on /, don't copy our temporary /etc/resolv.conf
     to the target /etc/resolv.conf. (Could be even cleaner.)
   * Don't write the DNS hostname into /etc/defaultdomain.
     DNS  search paths are often not the same as YP group names.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 31 23:00:50 1997 UTC (26 years, 5 months ago) by phil
Branch: MAIN
Changes since 1.8: +8 -2 lines
Diff to previous 1.8 (colored) to selected 1.23 (colored)

Tweeks to editing file system partitions, fix for PR4405, adding a method
to reselect the allocation multiplier while editing a disklabel.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Thu Oct 30 06:14:37 1997 UTC (26 years, 5 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.6: +74 -48 lines
Diff to previous 1.6 (colored) to selected 1.23 (colored)

Pull rev 1.7 and 1.8 up from trunk (phil)

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 30 00:03:36 1997 UTC (26 years, 5 months ago) by phil
Branch: MAIN
Changes since 1.7: +17 -12 lines
Diff to previous 1.7 (colored) to selected 1.23 (colored)

Bug fixes for distribution sets from floppy, nfs and cdrom.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 29 01:07:01 1997 UTC (26 years, 5 months ago) by phil
Branch: MAIN
Changes since 1.6: +62 -41 lines
Diff to previous 1.6 (colored) to selected 1.23 (colored)

Sync with current state.  Includes selection of distribution sets, tweeks
to disk detection, and floppy load.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 20 06:13:42 1997 UTC (26 years, 5 months ago) by phil
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.5: +23 -1 lines
Diff to previous 1.5 (colored) to selected 1.23 (colored)

Floppy and cdrom distribution load. Other tweeks to improve installation
and upgrade.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 17 21:10:48 1997 UTC (26 years, 5 months ago) by phil
Branch: MAIN
Changes since 1.4: +89 -6 lines
Diff to previous 1.4 (colored) to selected 1.23 (colored)

Tweeks to make install nicer.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 7 04:01:34 1997 UTC (26 years, 5 months ago) by phil
Branch: MAIN
Changes since 1.3: +16 -1 lines
Diff to previous 1.3 (colored) to selected 1.23 (colored)

Update to current state.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 1 05:04:30 1997 UTC (26 years, 6 months ago) by phil
Branch: MAIN
Changes since 1.2: +25 -8 lines
Diff to previous 1.2 (colored) to selected 1.23 (colored)

Sync with current state.  Fixes PR 4193.  factor.c -- replce prime table with
code to generate needed primes.  Change copyright because prime table was only
code under previous copyright.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 27 00:09:30 1997 UTC (26 years, 6 months ago) by phil
Branch: MAIN
Changes since 1.1: +3 -5 lines
Diff to previous 1.1 (colored) to selected 1.23 (colored)

Sync to current state.  (detect ftp error, clean up directories ...)

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Sep 26 23:02:54 1997 UTC (26 years, 6 months ago) by phil
Branch: PIERMONT_NELSON
CVS Tags: REL_0
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.23 (colored)

Import of sysinst.  Not quite ready, but other ports want access for
parallel development.  i386 version about 90% complete.  pc532 version
just started, other architectures later in coordination with portmasters.

This is a curses based, menu driven installation program.

Better error checking is needed.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 26 23:02:54 1997 UTC (26 years, 6 months ago) by phil
Branch: MAIN
Diff to selected 1.23 (colored)

Initial revision

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>