The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


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

Rebase to HEAD as of a few days ago.

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

Rebase.

Revision 1.69, 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.68: +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.61.2.3 / (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.61.2.2: +10 -1 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.12.2.1 (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.66.2.1 / (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.66: +10 -1 lines
Diff to previous 1.66 (colored) to selected 1.12.2.1 (colored)

resync from head

Revision 1.68 / (download) - annotate - [select for diffs], Sun Mar 24 20:57:19 2013 UTC (11 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: tls-earlyentropy
Changes since 1.67: +1 -11 lines
Diff to previous 1.67 (colored) to selected 1.12.2.1 (colored)

Cleanup prelim_menu definition.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Mar 19 22:16:53 2013 UTC (11 years ago) by garbled
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.66: +20 -1 lines
Diff to previous 1.66 (colored) to selected 1.12.2.1 (colored)

Add a new installer image for Raspberry PI to evbarm

Includes the following major changes:

1) Add new configmenu item to sysinst to allow creation of users at
post-install time.
2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd
enabled, allowing users to install on a headless PI by sshing to the
device with the account "sysinst" password "netbsd" to begin the
installation. (Note, neither the account, nor the ssh setup are copied to
the finalized installation image)
3) Change mkimage to build a boot-only image, without the root filesystems.

Much of the sshramdisk code could be reused on other ports easily.

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:48:52 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.61.2.1: +8 -4 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) to selected 1.12.2.1 (colored)

sync with head

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 20:48:55 2012 UTC (11 years, 8 months ago) by jdc
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, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, 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, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.63.2.1: +8 -4 lines
Diff to previous 1.63.2.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored) to selected 1.12.2.1 (colored)

Pull up revisions:
  src/distrib/utils/sysinst/defs.h revision 1.163
  src/distrib/utils/sysinst/disks.c revisions 1.125,1.126
  src/distrib/utils/sysinst/main.c revisions 1.65,1.66
  src/distrib/utils/sysinst/arch/emips/md.h revision 1.4
  src/distrib/utils/sysinst/arch/i386/md.h revision 1.69
  src/distrib/utils/sysinst/arch/vax/md.h revision 1.21
(requested by abs in ticket #386).

- Replace the CD_NAME definition with a CD_NAMES comma separate list,
 the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
 takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
 checks the contents of hw.disknames against CD_NAMES. The first one
 found (minus partition letter) is picked, otherwise the first entry
 in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax

Trying to print a function pointer as a string is likely to cause tears.
While here, don't match on the unit either

Do not assign to a const pointer, but set the value of the target variable
instead. Makes sysinst at least start up again.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jun 23 17:49:58 2012 UTC (11 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.65: +7 -10 lines
Diff to previous 1.65 (colored) to selected 1.12.2.1 (colored)

Do not assign to a const pointer, but set the value of the target variable
instead. Makes sysinst at least start up again.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jun 22 20:54:39 2012 UTC (11 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.64: +9 -2 lines
Diff to previous 1.64 (colored) to selected 1.12.2.1 (colored)

- Replace the CD_NAME definition with a CD_NAMES comma separate list,
  the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
  takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
  checks the contents of hw.disknames against CD_NAMES. The first one
  found (minus partition letter) is picked, otherwise the first entry
  in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Thu May 17 18:57:08 2012 UTC (11 years, 10 months ago) by sborrill
Branch: netbsd-6
Changes since 1.63: +14 -1 lines
Diff to previous 1.63 (colored) to selected 1.12.2.1 (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.61.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:02:49 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.61: +22 -10 lines
Diff to previous 1.61 (colored) to selected 1.12.2.1 (colored)

sync with head

Revision 1.64 / (download) - annotate - [select for diffs], Fri Apr 6 23:48:53 2012 UTC (11 years, 11 months ago) by riz
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.63: +14 -1 lines
Diff to previous 1.63 (colored) to selected 1.12.2.1 (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.63 / (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.62: +5 -3 lines
Diff to previous 1.62 (colored) to selected 1.12.2.1 (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.62 / (download) - annotate - [select for diffs], Thu Jan 5 21:29:24 2012 UTC (12 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.61: +5 -8 lines
Diff to previous 1.61 (colored) to selected 1.12.2.1 (colored)

eliminate useless booleans and use the file pointers as conditionals.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Sep 16 15:42:28 2011 UTC (12 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.12.2.1 (colored)

Use __dead

Revision 1.60 / (download) - annotate - [select for diffs], Mon May 30 14:20:48 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.12.2.1 (colored)

Use proper format strings.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Apr 8 15:53:44 2011 UTC (12 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.12.2.1 (colored)

Make all curses/$TERM related failures exit with error code 4 (everything
else in here only exits successfully or with error 1), so we can react
accordingly in the surrounding script. Part of fixing PR 44738.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Apr 4 08:30:12 2011 UTC (12 years, 11 months ago) by mbalmer
Branch: MAIN
Changes since 1.57: +8 -12 lines
Diff to previous 1.57 (colored) to selected 1.12.2.1 (colored)

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

Revision 1.57 / (download) - annotate - [select for diffs], Thu Mar 24 22:01:14 2011 UTC (13 years ago) by martin
Branch: MAIN
Changes since 1.56: +7 -1 lines
Diff to previous 1.56 (colored) to selected 1.12.2.1 (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.54.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.54: +2 -2 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.12.2.1 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jan 26 10:58:19 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.55: +1 -5 lines
Diff to previous 1.55 (colored) to selected 1.12.2.1 (colored)

make this build on non-emips again

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jan 26 01:18:46 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.54: +6 -2 lines
Diff to previous 1.54 (colored) to selected 1.12.2.1 (colored)

Add support for the Extensible MIPS ("eMIPS") platform.  The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Oct 18 12:09:48 2009 UTC (14 years, 5 months ago) by ahoka
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.12.2.1 (colored)

Give the option to use tmpfs for /tmp in sysinst instead of the older
mfs on i386 and amd64. Should be enabled on other platforms with reliable
tmpfs too.

Revision 1.52.28.1 / (download) - annotate - [select for diffs], Thu Jan 22 22:45:15 2009 UTC (15 years, 2 months ago) by snj
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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.52: +9 -1 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.12.2.1 (colored)

Pull up following revision(s) (requested by christos in ticket #300):
	distrib/utils/sysinst/msg.mi.de: revision 1.46
	distrib/utils/sysinst/msg.mi.en: revision 1.152
	distrib/utils/sysinst/msg.mi.es: revision 1.23
	distrib/utils/sysinst/msg.mi.fr: revision 1.103
	distrib/utils/sysinst/msg.mi.pl: revision 1.62
	distrib/utils/sysinst/main.c: revision 1.53
Set an apropriate locale depending on the selected language.
This does not realy change anything in the crunched version, but helps
debugging foreign languages and will magically start working once we
un-castrate locales in the crunched environment.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Dec 21 11:02:41 2008 UTC (15 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.52: +9 -1 lines
Diff to previous 1.52 (colored) to selected 1.12.2.1 (colored)

Set an apropriate locale depending on the selected language.
This does not realy change anything in the crunched version, but helps
debugging foreign languages and will magically start working once we
un-castrate locales in the crunched environment.

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

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Oct 23 19:45:56 2006 UTC (17 years, 5 months ago) by he
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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, pc532-eol-2008, netbsd-5-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs-base, mjf-devfs, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: netbsd-5, mjf-devfs2
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) to selected 1.12.2.1 (colored)

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

Revision 1.51 / (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, abandoned-netbsd-4
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored) to selected 1.12.2.1 (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.50 / (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.49: +2 -1 lines
Diff to previous 1.49 (colored) to selected 1.12.2.1 (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.49 / (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.48: +69 -114 lines
Diff to previous 1.48 (colored) to selected 1.12.2.1 (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.42.2.2.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-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.42.2.2: +49 -20 lines
Diff to previous 1.42.2.2 (colored) next main 1.43 (colored) to selected 1.12.2.1 (colored)

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

Revision 1.48 / (download) - annotate - [select for diffs], Thu Nov 11 20:17:48 2004 UTC (19 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-3-base, 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, netbsd-3
Changes since 1.47: +14 -19 lines
Diff to previous 1.47 (colored) to selected 1.12.2.1 (colored)

Simplify code that opens file for -f option.
I bet no one ever uses the option anyway!

Revision 1.47 / (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.46: +1 -3 lines
Diff to previous 1.46 (colored) to selected 1.12.2.1 (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.46 / (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.45: +2 -1 lines
Diff to previous 1.45 (colored) to selected 1.12.2.1 (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.42.2.2 / (download) - annotate - [select for diffs], Mon Jun 7 10:20:32 2004 UTC (19 years, 9 months ago) by tron
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.42.2.1: +3 -35 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.12.2.1 (colored)

Pull up revision 1.44 (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.45 / (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.44: +37 -2 lines
Diff to previous 1.44 (colored) to selected 1.12.2.1 (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.44 / (download) - annotate - [select for diffs], Sat Jun 5 21:18:59 2004 UTC (19 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.43: +3 -35 lines
Diff to previous 1.43 (colored) to selected 1.12.2.1 (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.42.2.1 / (download) - annotate - [select for diffs], Sat May 22 16:23:58 2004 UTC (19 years, 10 months ago) by he
Branch: netbsd-2-0
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored) to selected 1.12.2.1 (colored)

Pull up revision 1.43 (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.43 / (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.42: +3 -1 lines
Diff to previous 1.42 (colored) to selected 1.12.2.1 (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.42 / (download) - annotate - [select for diffs], Sun Oct 19 20:17:31 2003 UTC (20 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.12.2.1 (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.41 / (download) - annotate - [select for diffs], Mon Jul 28 11:32:21 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored) to selected 1.12.2.1 (colored)

Remove extra process and pipe that relayed data from the master pty
to sysinst's main process when a command is run (eg the file list from pax).
Since the pty is in 'packet' mode, the boundaries of the pty reads would
need to be preserved in order to detect control records.
If the pipe became full the main process could treat part of a filename
as a control byte and then save the rest of the name as tty settings.
The effect of 'random' tty settings is unknown, but could be responsible
for core dumps while displaying the full file list from pax.
I suspect that the extra pipe was originally used because select wasn't
supported on the master side of a pty (not checked).

Also cd out of /targetroot if set installation is killed with ^C ^C.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jul 27 07:45:08 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.12.2.1 (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.39 / (download) - annotate - [select for diffs], Fri Jul 18 09:46:11 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.38: +5 -1 lines
Diff to previous 1.38 (colored) to selected 1.12.2.1 (colored)

Copy /etc.old back to /etc if it was saved, but we didn't actually
install the ETC set.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jul 9 20:02:35 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.37: +4 -1 lines
Diff to previous 1.37 (colored) to selected 1.12.2.1 (colored)

Create mount point used for target system.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jul 7 12:30:20 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.12.2.1 (colored)

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

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jun 27 22:20:15 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.35: +101 -2 lines
Diff to previous 1.35 (colored) to selected 1.12.2.1 (colored)

Add run-time selection of installation language.
Make 'doingwhat' an argument to find_disks() instead of a global.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 25 15:45:22 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.34: +5 -2 lines
Diff to previous 1.34 (colored) to selected 1.12.2.1 (colored)

Add a -D (debug) option for testing.
Ignore inability to remove swap if -D specified.
Select disk before sets (but label after)
Let mac68k sysinst run on i386.

Revision 1.34 / (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.33: +70 -71 lines
Diff to previous 1.33 (colored) to selected 1.12.2.1 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 10 17:47:15 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.32: +2 -6 lines
Diff to previous 1.32 (colored) to selected 1.12.2.1 (colored)

Use dynamic menu for final editing of partition stable

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jun 4 20:05:12 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored) to selected 1.12.2.1 (colored)

A rototil of the partition size requesting code.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jun 3 11:54:48 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.12.2.1 (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.30 / (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.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.12.2.1 (colored)

pass lint[pass1]

Revision 1.29 / (download) - annotate - [select for diffs], Thu Dec 5 01:17:16 2002 UTC (21 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored) to selected 1.12.2.1 (colored)

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

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Sat Aug 10 00:18:35 2002 UTC (21 years, 7 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, 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, 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.26.2.1: +4 -0 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.12.2.1 (colored)

Pull up revision 1.28 (requested by lukem):
refresh screen before processing menus.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 27 10:02:50 2002 UTC (21 years, 8 months ago) by grant
Branch: MAIN
Changes since 1.27: +5 -1 lines
Diff to previous 1.27 (colored) to selected 1.12.2.1 (colored)

refresh screen before processing menus.

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

Pull up revision 1.27 (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.27 / (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.26: +30 -1 lines
Diff to previous 1.26 (colored) to selected 1.12.2.1 (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.26 / (download) - annotate - [select for diffs], Sat Nov 17 02:06:47 2001 UTC (22 years, 4 months ago) by perry
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.25: +10 -1 lines
Diff to previous 1.25 (colored) to selected 1.12.2.1 (colored)

XXX if a color term, do color. horrible kludge.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jun 6 23:12:49 2001 UTC (22 years, 9 months ago) by scottr
Branch: MAIN
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored) to selected 1.12.2.1 (colored)

Add support for FTP through a web proxy (via the ftp_proxy environment
variable).

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

de-__P()-ify

Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 3 01:54:46 2000 UTC (23 years, 4 months ago) by minoura
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored) to selected 1.12.2.1 (colored)

Welcome message `If you booted from a floppy,...' is somewhat port-specific
instruction.
Create md_hello message and move that message to it.

Port-maintainers: please reflect the reality of your port.
Someone who can write french: please correct *.fr catalogue.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Wed Oct 18 17:51:14 2000 UTC (23 years, 5 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.12.2.1 (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.22 / (download) - annotate - [select for diffs], Wed Oct 11 23:47:56 2000 UTC (23 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored) to selected 1.12.2.1 (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.21 / (download) - annotate - [select for diffs], Mon Oct 2 09:26:26 2000 UTC (23 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored) to selected 1.12.2.1 (colored)

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().

Revision 1.20 / (download) - annotate - [select for diffs], Thu May 11 02:23:53 2000 UTC (23 years, 10 months ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.12.2.1 (colored)

fix typo

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Thu Jun 24 22:58:34 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.12.2.1: +64 -12 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

pull up rev(s) 1.14-1.19 from trunk. (cgd)

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 22 15:04:15 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, dynamic-messages-base, dynamic-messages, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored) to selected 1.12.2.1 (colored)

now that msg_window returns a value, check it

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 22 00:43:57 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.17: +39 -6 lines
Diff to previous 1.17 (colored) to selected 1.12.2.1 (colored)

provide a way to ignore tty-generated signals (INTR and QUIT) and/or
forward them on to subprocesses.  nice when running a subprocess in
a display window to allow the user to kill the subprocess w/o nuking
sysinst itself.  add handling for QUIT, which gets handled the same
as intr.  add handling for HUP which just cleans up.  More signals
should be handled.

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

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

Revision 1.16 / (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.15: +6 -1 lines
Diff to previous 1.15 (colored) to selected 1.12.2.1 (colored)

Check the return code of subwin and newwin for NULL.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 19 06:52:22 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.14: +10 -2 lines
Diff to previous 1.14 (colored) to selected 1.12.2.1 (colored)

initialize the menu systerm before setting up the message window.  Then
use stdscr's maxx and maxy to set up the message window rather than hard
coding 78 and 22, respectively.  The latter, combined with large messages
and a relatively small screen (and perhaps badly-placed menus), would seem
to cause the SEGVs reported in PR#7806.  (For certain window sizes, the
menu system would reject the menus as too small, but for others sysinst
would just crash.)

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 18 08:54:28 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.13: +6 -4 lines
Diff to previous 1.13 (colored) to selected 1.12.2.1 (colored)

* hitting control-c (causing SIGINTR) would cause the SIGINTR handler to
  be called.  it'd cleanup() then exit().  however, cleanup() is scheduled
  to run at exit via atexit().  This means that it gets run twice, and
  this causes confusion for things like endwin().  The end result is
  that rather than actually exiting and printing the "sysinst terminated"
  message, after one control-c it looks like it's still sitting at the
  last screen you were viewing even though it's actually at a shell prompt.
  squelch the cleanup() in the SIGINTR handler to avoid this problem.
* while here, nuke the annoying space before the "sysinst terminated."
  message.  it looks bad, and serves no purpose.

Revision 1.12.2.1 / (download) - annotate - [selected], Mon Apr 19 15:19:27 1999 UTC (24 years, 11 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 9 10:24:38 1999 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.12.2.1 (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.12 / (download) - annotate - [select for diffs], Wed Mar 31 00:44:48 1999 UTC (25 years ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.11: +8 -1 lines
Diff to previous 1.11 (colored) to selected 1.12.2.1 (colored)

Rework the MBR code, and some of the labelling code.

	* Use structures, not 2-dimensional arrays..
	* Use the DIOCGDEFLABEL ioctl to get the disk information,
	  to avoid confusion with (older) labels.
	* Don't ever call fdisk for partitioning. This was the
	  source of much confusion.
	* For the i386, use the BIOS geometry information passed by
	  the bootblocks.

Lots of things left to do, but it's a start.

Revision 1.11 / (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.10: +23 -3 lines
Diff to previous 1.10 (colored) to selected 1.12.2.1 (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.10 / (download) - annotate - [select for diffs], Sun Oct 25 19:15:04 1998 UTC (25 years, 5 months ago) by phil
Branch: MAIN
Changes since 1.9: +118 -2 lines
Diff to previous 1.9 (colored) to selected 1.12.2.1 (colored)

Implement a config file (-f file) option that overrides compiled in
defaults for things like rel (release number), ftp host, ftp prefix,
cdrom device, cdrom directory and others.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 20 13:05:49 1998 UTC (25 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.8: +28 -19 lines
Diff to previous 1.8 (colored) to selected 1.12.2.1 (colored)

KNF.

Revision 1.1.1.1.2.6 / (download) - annotate - [select for diffs], Fri Dec 5 13:43:43 1997 UTC (26 years, 3 months ago) by simonb
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001
Changes since 1.1.1.1.2.5: +23 -8 lines
Diff to previous 1.1.1.1.2.5 (colored) to branchpoint 1.1.1.1 (colored) next main 1.2 (colored) to selected 1.12.2.1 (colored)

Sync w/ trunc;
    Clean up curses and mounted filesystems under any exit conditions.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 5 13:38:59 1997 UTC (26 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.7: +23 -8 lines
Diff to previous 1.7 (colored) to selected 1.12.2.1 (colored)

Add a cleanup function (set with atexit()) that shuts down curses nicely
and unmounts any filesystems left mounted when sysinst exits under any
circumstances.

Revision 1.1.1.1.2.5 / (download) - annotate - [select for diffs], Thu Dec 4 09:10:59 1997 UTC (26 years, 3 months ago) by jonathan
Branch: netbsd-1-3
Changes since 1.1.1.1.2.4: +17 -1 lines
Diff to previous 1.1.1.1.2.4 (colored) to branchpoint 1.1.1.1 (colored) to selected 1.12.2.1 (colored)

Pull changes to
   target.c main.c menus.mi.{fr,eng} defs.h
with commit message
   >Implement TODO item to unwind target mounts on  completion:
up to 1.3 release branch.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 4 09:05:35 1997 UTC (26 years, 3 months ago) by jonathan
Branch: MAIN
Changes since 1.6: +17 -1 lines
Diff to previous 1.6 (colored) to selected 1.12.2.1 (colored)

Implement TODO item to unwind target mounts on  completion:
  * Add mount_with_unwind() that adds mountpoint to a LIFO queue
    of  mountpoints to undo on error.   Use in target_mount().
  * Add unwind_mounts() which traverses the LIFO queue and unmounts
    filesystems, silently ignoring errors.
  * create toplevel() function which displays banner message and
    calls unwind_mounts().
  * change toplevel menu to call toplevel() instead of inline banner.

Where to do unwinds needs more thought.  Perhaps we should only unwind
if an upgrade or install appears unsuccessful, so after a successful
install, the target is mounted (e.g., for upgrading /etc/rc.conf).

Revision 1.1.1.1.2.4 / (download) - annotate - [select for diffs], Tue Nov 25 06:57:59 1997 UTC (26 years, 4 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-BETA
Changes since 1.1.1.1.2.3: +1 -10 lines
Diff to previous 1.1.1.1.2.3 (colored) to branchpoint 1.1.1.1 (colored) to selected 1.12.2.1 (colored)

Sync w/ trunk.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 25 06:53:10 1997 UTC (26 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +1 -10 lines
Diff to previous 1.5 (colored) to selected 1.12.2.1 (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.1.1.1.2.3 / (download) - annotate - [select for diffs], Fri Nov 21 12:09:32 1997 UTC (26 years, 4 months ago) by simonb
Branch: netbsd-1-3
Changes since 1.1.1.1.2.2: +15 -1 lines
Diff to previous 1.1.1.1.2.2 (colored) to branchpoint 1.1.1.1 (colored) to selected 1.12.2.1 (colored)

Sync w/ trunc; leave tty in sane state on SIGINT.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 21 12:08:06 1997 UTC (26 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.4: +15 -1 lines
Diff to previous 1.4 (colored) to selected 1.12.2.1 (colored)

Catch SIGINT and do a endwin() to leave tty in a sane state.

Revision 1.1.1.1.2.2 / (download) - annotate - [select for diffs], Mon Nov 10 19:23:04 1997 UTC (26 years, 4 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.1.1.1.2.1: +29 -3 lines
Diff to previous 1.1.1.1.2.1 (colored) to branchpoint 1.1.1.1 (colored) to selected 1.12.2.1 (colored)

Sync w/ trunk.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 9 15:54:16 1997 UTC (26 years, 4 months ago) by phil
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.12.2.1 (colored)

-TODO: Remove names as they were source name rather than names of who should
	do it.
-change install confirmation message to outline install process
-move english print text into msg.mi.eng.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 4 01:39:05 1997 UTC (26 years, 4 months ago) by phil
Branch: MAIN
Changes since 1.2: +29 -3 lines
Diff to previous 1.2 (colored) to selected 1.12.2.1 (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.1.1.1.2.1 / (download) - annotate - [select for diffs], Sun Nov 2 20:40:38 1997 UTC (26 years, 5 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.1.1.1: +10 -3 lines
Diff to previous 1.1.1.1 (colored) to selected 1.12.2.1 (colored)

Pull rev 1.2 up from trunk (jonathan)

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 31 23:00:40 1997 UTC (26 years, 5 months ago) by phil
Branch: MAIN
Changes since 1.1: +10 -3 lines
Diff to previous 1.1 (colored) to selected 1.12.2.1 (colored)

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

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Sep 26 23:02:53 1997 UTC (26 years, 6 months ago) by phil
Branch: PIERMONT_NELSON
CVS Tags: netbsd-1-3-base, REL_0
Branch point for: netbsd-1-3
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.12.2.1 (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:53 1997 UTC (26 years, 6 months ago) by phil
Branch: MAIN
Diff to selected 1.12.2.1 (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>