The NetBSD Project

CVS log for src/distrib/utils/sysinst/Attic/defs.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.163.2.2, Tue Aug 19 23:45:46 2014 UTC (12 days, 22 hours ago) by tls
Branch: tls-maxphys
Changes since 1.163.2.1: +1 -1 lines
FILE REMOVED

Rebase to HEAD as of a few days ago.

Revision 1.167.6.1, Sun Aug 10 06:48:49 2014 UTC (3 weeks, 1 day ago) by tls
Branch: tls-earlyentropy
Changes since 1.167: +1 -1 lines
FILE REMOVED

Rebase.

Revision 1.168, Sat Jul 26 19:30:39 2014 UTC (5 weeks, 2 days ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, HEAD
Changes since 1.167: +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.154.2.4 / (download) - annotate - [select for diffs], Thu May 22 12:01:35 2014 UTC (3 months, 1 week ago) by yamt
Branch: yamt-pagecache
Changes since 1.154.2.3: +14 -2 lines
Diff to previous 1.154.2.3 (colored) to branchpoint 1.154 (colored) next main 1.155 (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.163.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:26:20 2013 UTC (14 months, 1 week ago) by tls
Branch: tls-maxphys
Changes since 1.163: +14 -2 lines
Diff to previous 1.163 (colored)

resync from head

Revision 1.167 / (download) - annotate - [select for diffs], Tue Mar 26 20:56:54 2013 UTC (17 months ago) by garbled
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.166: +3 -2 lines
Diff to previous 1.166 (colored)

Add def for KERNEL_9
Get rid of unneeded disklabel -D in md.c
Fix pr/47684 by getting rid of a stupid NULL.

Revision 1.166 / (download) - annotate - [select for diffs], Tue Mar 19 22:16:53 2013 UTC (17 months, 1 week ago) by garbled
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.165: +5 -1 lines
Diff to previous 1.165 (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.165 / (download) - annotate - [select for diffs], Sat Mar 16 22:16:02 2013 UTC (17 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.164: +3 -3 lines
Diff to previous 1.164 (colored)

fix debugging sets

Revision 1.164 / (download) - annotate - [select for diffs], Sat Mar 16 17:10:16 2013 UTC (17 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.163: +8 -1 lines
Diff to previous 1.163 (colored)

add debugging sets

Revision 1.154.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 18:48:52 2012 UTC (22 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.154.2.2: +4 -5 lines
Diff to previous 1.154.2.2 (colored) to branchpoint 1.154 (colored)

sync with head

Revision 1.161.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 20:48:55 2012 UTC (2 years, 1 month 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-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-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.161.2.1: +4 -5 lines
Diff to previous 1.161.2.1 (colored) to branchpoint 1.161 (colored) next main 1.162 (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.163 / (download) - annotate - [select for diffs], Fri Jun 22 20:54:39 2012 UTC (2 years, 2 months ago) by abs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.162: +4 -5 lines
Diff to previous 1.162 (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.161.2.1 / (download) - annotate - [select for diffs], Thu May 17 18:57:08 2012 UTC (2 years, 3 months ago) by sborrill
Branch: netbsd-6
Changes since 1.161: +43 -5 lines
Diff to previous 1.161 (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.154.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:02:49 2012 UTC (2 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.154.2.1: +75 -19 lines
Diff to previous 1.154.2.1 (colored) to branchpoint 1.154 (colored)

sync with head

Revision 1.162 / (download) - annotate - [select for diffs], Fri Apr 6 23:48:53 2012 UTC (2 years, 4 months ago) by riz
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.161: +43 -5 lines
Diff to previous 1.161 (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.161 / (download) - annotate - [select for diffs], Tue Jan 10 21:02:47 2012 UTC (2 years, 7 months ago) by gson
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.160: +24 -5 lines
Diff to previous 1.160 (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.160 / (download) - annotate - [select for diffs], Thu Jan 5 22:18:36 2012 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.159: +3 -1 lines
Diff to previous 1.159 (colored)

we want the label name not the fstype name.

Revision 1.159 / (download) - annotate - [select for diffs], Thu Jan 5 21:29:24 2012 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.158: +1 -3 lines
Diff to previous 1.158 (colored)

eliminate useless booleans and use the file pointers as conditionals.

Revision 1.158 / (download) - annotate - [select for diffs], Thu Jan 5 21:22:49 2012 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.157: +8 -7 lines
Diff to previous 1.157 (colored)

- add printflike and fix the broken formats
- make sure we don't exceed the number of partitions we have

Revision 1.157 / (download) - annotate - [select for diffs], Thu Jan 5 20:21:35 2012 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.156: +1 -2 lines
Diff to previous 1.156 (colored)

use getfstypename from libutil.

Revision 1.156 / (download) - annotate - [select for diffs], Thu Jan 5 19:43:59 2012 UTC (2 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.155: +2 -3 lines
Diff to previous 1.155 (colored)

- avoid dereferencing junk if fstype is out of bounds.
- kill mountnames since it is not used.

Revision 1.154.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:15 2011 UTC (2 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.154: +2 -1 lines
Diff to previous 1.154 (colored)

sync with head

Revision 1.155 / (download) - annotate - [select for diffs], Fri Nov 4 11:27:00 2011 UTC (2 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2
Changes since 1.154: +2 -1 lines
Diff to previous 1.154 (colored)

Add a new hook, md_pre_mount(), that is called after preparation of
the target filesystem, but before mounting it. Use this on sparc64
to install the primary boot block, but install the secondary boot
(/ofwboot) later.
This allows sysinst to run at securelevel 1 (as long as we don't do an
upgrade install on the hard disk we booted from).

Revision 1.154 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:15 2011 UTC (3 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.153: +7 -7 lines
Diff to previous 1.153 (colored)

dependant -> dependent

Revision 1.153 / (download) - annotate - [select for diffs], Mon Apr 4 08:30:12 2011 UTC (3 years, 4 months ago) by mbalmer
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.152: +8 -12 lines
Diff to previous 1.152 (colored)

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

Revision 1.152 / (download) - annotate - [select for diffs], Thu Mar 24 22:01:13 2011 UTC (3 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.151: +2 -1 lines
Diff to previous 1.151 (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.149.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:18:40 2011 UTC (3 years, 6 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.149: +11 -2 lines
Diff to previous 1.149 (colored) next main 1.150 (colored)

Sync with HEAD

Revision 1.151 / (download) - annotate - [select for diffs], Tue Feb 1 01:42:07 2011 UTC (3 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.150: +6 -2 lines
Diff to previous 1.150 (colored)

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

Revision 1.150 / (download) - annotate - [select for diffs], Wed Jan 26 10:58:19 2011 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.149: +6 -1 lines
Diff to previous 1.149 (colored)

make this build on non-emips again

Revision 1.149 / (download) - annotate - [select for diffs], Sat Dec 4 14:57:56 2010 UTC (3 years, 8 months ago) by jmmv
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.148: +1 -2 lines
Diff to previous 1.148 (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.136.6.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:20:43 2010 UTC (4 years, 4 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.136: +9 -8 lines
Diff to previous 1.136 (colored) next main 1.137 (colored)

sync to netbsd-5

Revision 1.148 / (download) - annotate - [select for diffs], Wed Jan 27 11:02:03 2010 UTC (4 years, 7 months ago) by jmmv
Branch: MAIN
Changes since 1.147: +2 -2 lines
Diff to previous 1.147 (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.147 / (download) - annotate - [select for diffs], Sat Jan 2 21:16:46 2010 UTC (4 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.146: +2 -4 lines
Diff to previous 1.146 (colored)

Change most of the variables that hold disk sector number to be (at least)
uint32_t. Might make sysinst work on disks between 1TB and 2TB.
Not actually tested because I don't have a big disk.
Hopefully I haven't broken the small disk case!
Set WARNS= 4 so that comparisons of signed and unsigned block numbers
are trapped.

Revision 1.146 / (download) - annotate - [select for diffs], Sun Oct 18 12:09:48 2009 UTC (4 years, 10 months ago) by ahoka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (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.145 / (download) - annotate - [select for diffs], Sat Sep 19 14:57:27 2009 UTC (4 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.144: +15 -9 lines
Diff to previous 1.144 (colored)

defs.h:
- Re-order the md_*() definitions so they are in the order called
- Add some comments
- Remove obsolete md_set_no_x() definition
- Remove md_copy_filesystem()
- #if defined(DEBUG) declare backtowin(void) to avoid scattering
  externs in various md .c files

mbr.[ch]:
- Add a set_bios_geom_with_mbr_guess() which can be called by all
  the non x86 ports rather than copying the same code into arc,
  bebox, cobalt, evbmips, evbppc, hpcarm, hpcmips, landisk, ofppc,
  prep, sandpoint, and zaurus md.c

install.c:
- Remove now unnecessary call to md_copy_filesystem()

upgrade.c:
- Move move_aout_libs() here, and put under #ifdef AOUT2ELF
- Rather than having *every* md_update call wrefresh(curscr),
  wmove(stdscr, 0, 0), wclear(stdscr), and wrefresh(stdscr),
  move them here

arch/acorn26/md.c:
- Just include arch/acorn32/md.c, but add a note there warning
  about this, and while here add a note to i386/md.c that it
  is included by amd64

arch/*/md.c:
- By all means "Vive la difference", but we have 38 pairs of md.[ch],
  and they could not even agree on the order in which to list the
  md hooks, let alone formatting. Sort the md hooks to match the
  (now sane) order in def.sh, and try to normalise the formatting
- Also copy across some function level comments everywhere
- Ensure functions only used inside each md.c are defined as static
- Remove some now unused functions
- Some files had enable_rc_conf in #ifdef DEBUG. Add this to all
- bebox, evbppc and sandpoint were still playing broken games with
  copying the booted ramdisk to the target disk, the primary result
  of which was just to slow things down and ensure the target system
  lost the .profile extracted from the sets. Just kill this.
- For some ports md_update() called endwin(), and in others not.
  Take a cure from i386/amd64 and a few other more active ports,
  and update everything to match (no endwin())
- In a couple of cases correct port names in comments
- ANSIfy some lingering old style functions
- Consistently use "return 0;" rather than "return (0);"

More of the mbr code should be abstracted, along with the
get_ramsize() / set_swap() logic, but this is (more than)
enough for one day...

sysinst built for all ports but only runtime tested on amd64 & i386

Revision 1.144 / (download) - annotate - [select for diffs], Mon Sep 7 02:31:53 2009 UTC (4 years, 11 months ago) by jnemeth
Branch: MAIN
Changes since 1.143: +3 -2 lines
Diff to previous 1.143 (colored)

Install the new modules.tgz set.

Revision 1.136.2.1 / (download) - annotate - [select for diffs], Mon May 18 19:35:14 2009 UTC (5 years, 3 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, 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-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.136: +9 -8 lines
Diff to previous 1.136 (colored) next main 1.137 (colored)

Pull up following revision(s) (requested by sborrill in ticket #758):
	distrib/utils/sysinst/mbr.c: revision 1.80
	distrib/utils/sysinst/msg.mi.en: revision 1.155
	distrib/utils/sysinst/disks.c: revision 1.105
	distrib/utils/sysinst/arch/i386/md.c: revision 1.122
	distrib/utils/sysinst/savenewlabel.c: revision 1.6
	distrib/utils/sysinst/mbr.h: revision 1.23
	distrib/utils/sysinst/defs.h: revision 1.143
	distrib/utils/sysinst/msg.mi.pl: revision 1.65
	distrib/utils/sysinst/bsddisklabel.c: revision 1.52
	distrib/utils/sysinst/msg.mi.es: revision 1.26
	distrib/utils/sysinst/msg.mi.de: revision 1.49
	distrib/utils/sysinst/msg.mi.fr: revision 1.106
Support drives over 1TB in size (i.e. stop errors like drive is -654343MB in
size).
Error if drive is over 2TB in size (and thus over the disklabel limit).

Revision 1.143 / (download) - annotate - [select for diffs], Thu May 14 16:23:38 2009 UTC (5 years, 3 months ago) by sborrill
Branch: MAIN
Changes since 1.142: +9 -8 lines
Diff to previous 1.142 (colored)

Support drives over 1TB in size (i.e. stop errors like drive is -654343MB in
size).
Error if drive is over 2TB in size (and thus over the disklabel limit).

Revision 1.137.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:17:55 2009 UTC (5 years, 3 months ago) by jym
Branch: jym-xensuspend
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored) next main 1.138 (colored)

Sync with HEAD.

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

Revision 1.142 / (download) - annotate - [select for diffs], Tue Apr 7 10:45:04 2009 UTC (5 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.141: +2 -1 lines
Diff to previous 1.141 (colored)

Improve UFS2 root handling on sysinst:
- add HAVE_UFS2_BOOT define on ports which have UFS2 capable loader
- reject UFS2 for root file system on ports !HAVE_UFS2_BOOT
- add a MI function to get bootxx name from root file system type
  per MD defines and remove md_bootxx_name() from arch/i386/md.c,
  so that alpha can use bootxx_ffsv2 for UFS2 as well as x86

Tested on i386 and alpha with FFSv1 and FFSv2, and also
tested on vax (on simh) for !HAVE_UFS2_BOOT case.
de translation is provided by martin@.

No objection on tech-install, and "move forward with it" from perry@.

XXX1: not tested on all ports, more ports might/could have UFS2 root support
XXX2: no es, fr, and pl translations, even en message should be improved
XXX3: alpha has a fixed en message without MSG

Revision 1.141 / (download) - annotate - [select for diffs], Sun Apr 5 02:18:41 2009 UTC (5 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.140: +1 -2 lines
Diff to previous 1.140 (colored)

Remove unused check_partitions().
The similar check is done in check_one_root() in label.c.

Revision 1.140 / (download) - annotate - [select for diffs], Sat Apr 4 11:24:24 2009 UTC (5 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.139: +1 -2 lines
Diff to previous 1.139 (colored)

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

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

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

Revision 1.138 / (download) - annotate - [select for diffs], Sun Feb 22 11:21:55 2009 UTC (5 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.137: +2 -2 lines
Diff to previous 1.137 (colored)

Remove softdep menu item.

Revision 1.137 / (download) - annotate - [select for diffs], Thu Nov 6 15:30:23 2008 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.136: +2 -1 lines
Diff to previous 1.136 (colored)

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

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

Sync with HEAD.

Revision 1.135.6.1 / (download) - annotate - [select for diffs], Sun Sep 28 11:09:22 2008 UTC (5 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 (colored)

Sync with HEAD.

Revision 1.135.10.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:41:22 2008 UTC (5 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 (colored) next main 1.136 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.136 / (download) - annotate - [select for diffs], Fri Aug 8 02:54:06 2008 UTC (6 years ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, 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, mjf-devfs2-base, 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, matt-mips64-base2
Branch point for: netbsd-5, matt-nb5-mips64
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 (colored)

Allow the "log" option to be chosen for filesystems.  Move "log"
and "softdep" to top of menu to chose filesystem options.

Revision 1.135.12.1 / (download) - annotate - [select for diffs], Tue Jun 10 14:51:20 2008 UTC (6 years, 2 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.135: +4 -1 lines
Diff to previous 1.135 (colored) next main 1.136 (colored)

Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block
Logging) journaling code.  Originally written by Darrin B. Jewell
while at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.

Still a number of issues - look in doc/BRANCHES for "simonb-wapbl"
for more info.

Revision 1.132.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 00:21:03 2008 UTC (6 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.132.8.1: +24 -1 lines
Diff to previous 1.132.8.1 (colored) to branchpoint 1.132 (colored) next main 1.133 (colored)

sync with HEAD

Revision 1.135.2.2 / (download) - annotate - [select for diffs], Mon Jan 28 02:47:13 2008 UTC (6 years, 7 months ago) by rumble
Branch: mjf-devfs
Changes since 1.135.2.1: +466 -0 lines
Diff to previous 1.135.2.1 (colored) to branchpoint 1.135 (colored) next main 1.136 (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.135.2.1, Mon Jan 28 02:47:12 2008 UTC (6 years, 7 months ago) by rumble
Branch: mjf-devfs
Changes since 1.135: +0 -466 lines
FILE REMOVED

file defs.h was added on branch mjf-devfs on 2008-01-28 02:47:13 +0000

Revision 1.135 / (download) - annotate - [select for diffs], Mon Jan 28 02:47:12 2008 UTC (6 years, 7 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: wrstuden-revivesa, simonb-wapbl, mjf-devfs2, mjf-devfs
Changes since 1.134: +2 -1 lines
Diff to previous 1.134 (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.134 / (download) - annotate - [select for diffs], Wed Jan 23 23:15:37 2008 UTC (6 years, 7 months ago) by garbled
Branch: MAIN
Changes since 1.133: +23 -1 lines
Diff to previous 1.133 (colored)

Change bsddisklabel.c to export it's functions rather than declaring them
all static.  This makes it possible to write a md_make_bsd_partitions()
function without having to copy all of bsddisklabel.c into md.c.

Make ofppc sysinst install sanely and in a bootable manner on both my
7044, and my pegasos.  The only thing the user needs to do is pick the
right kernel set.

Revision 1.132.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:28:27 2008 UTC (6 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.132: +3 -2 lines
Diff to previous 1.132 (colored)

sync with HEAD

Revision 1.133 / (download) - annotate - [select for diffs], Mon Nov 12 15:07:33 2007 UTC (6 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: pc532-eol-2008, matt-armv6-base, cube-autoconf-base, cube-autoconf
Changes since 1.132: +3 -2 lines
Diff to previous 1.132 (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.132 / (download) - annotate - [select for diffs], Wed Oct 4 21:27:27 2006 UTC (7 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.131: +2 -5 lines
Diff to previous 1.131 (colored)

remove home-brewd rounding macros.

Revision 1.130.2.1 / (download) - annotate - [select for diffs], Wed Sep 27 12:15:14 2006 UTC (7 years, 11 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.130: +5 -3 lines
Diff to previous 1.130 (colored) next main 1.131 (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.131 / (download) - annotate - [select for diffs], Mon Sep 4 02:20:40 2006 UTC (7 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.130: +5 -3 lines
Diff to previous 1.130 (colored)

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

Revision 1.123.4.1 / (download) - annotate - [select for diffs], Sat Aug 12 19:20:41 2006 UTC (8 years ago) by riz
Branch: netbsd-3-0
CVS Tags: netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

Pull up following revision(s) (requested by dsl in ticket #1463):
	distrib/utils/sysinst/mbr.c: revision 1.75
	distrib/utils/sysinst/label.c: revision 1.49
	distrib/utils/sysinst/defs.h: revision 1.130
When we read 'last mounted' from an FFSv2 superblock set the flag to
default the partition to FFSv2 (instead of FFSv1).
This makes update installs add the correct bootstrap code.
Fixes PR/33682 and PR/32636 (and 33228 which has alrady been closed
as a duplicate of 32636).

Revision 1.123.2.1 / (download) - annotate - [select for diffs], Sat Aug 12 19:20:36 2006 UTC (8 years ago) by riz
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
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

Pull up following revision(s) (requested by dsl in ticket #1463):
	distrib/utils/sysinst/mbr.c: revision 1.75
	distrib/utils/sysinst/label.c: revision 1.49
	distrib/utils/sysinst/defs.h: revision 1.130
When we read 'last mounted' from an FFSv2 superblock set the flag to
default the partition to FFSv2 (instead of FFSv1).
This makes update installs add the correct bootstrap code.
Fixes PR/33682 and PR/32636 (and 33228 which has alrady been closed
as a duplicate of 32636).

Revision 1.130 / (download) - annotate - [select for diffs], Sat Jun 10 14:48:46 2006 UTC (8 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored)

When we read 'last mounted' from an FFSv2 superblock set the flag to
default the partition to FFSv2 (instead of FFSv1).
This makes update installs add the correct bootstrap code.
Fixes PR/33682 and PR/32636 (and 33228 which has alrady been closed
as a duplicate of 32636).

Revision 1.129 / (download) - annotate - [select for diffs], Wed Apr 5 16:55:01 2006 UTC (8 years, 4 months ago) by garbled
Branch: MAIN
Changes since 1.128: +5 -2 lines
Diff to previous 1.128 (colored)

Rather big update to sysinst, in order to get it working on the prep port.

1) Add an md_post_extract() function.  This function is called after
extracting the sets, and allows the arch to do something at that time.
In the case of prep, it is much easier to install the bootcode after all
the sets are extracted, so we do it in md_post_extract().  Added empty
md_post_extract() functions to all other arches so they compile.

2) Add md_mbr_use_wholedisk() and md_check_mbr().  In edit_mbr() I have
split off the code that uses the whole disk for NetBSD, into the
mbr_use_wholedisk() function.  On most ports that use mbr.c, I made
md_mbr_use_wholedisk() just call that and return.  On prep we create the
magical prep boot partition here.  The md_check_mbr() function allows the
arch to add additional checks after the user had manually edited the MBR
to make sure the choices he made allow NetBSD to function.  Added a dummy
routine to all mbr.c using arches.

3) Added code to bsdlabel.c to create a partition of type boot if
PART_BOOT is defined, but BOOT_SIZE is not defined.  Also added two more
globals "bootsize" and "bootstart" which must be seeded in order to do
so.  This is done on prep in md_check_mbr().

4) Added MBR_PTYPE_PREP to the list of MBR partitions.

5) Made the prep port actually install sanely.  It now creates a prep
boot partition, labels it correctly, installs all the sets, and then runs
mkbootimage and dd's the bootimage into the prep partition.  The result
is a prep installer that creates a bootable NetBSD installation
automatically.

6) Edited the prep menus and messages files to add new labels.  In the
case of the translated files, I just added the words in english for
someone to translate later.

I tried to xcompile a few arches to make sure I didn't break anything,
but I could have missed something.  Please let me know if I have broken
your arch in any way.  I'll watch the autobuilds for the next few days
too. For all ports other than prep there should be no functional changes
at all.

Revision 1.128 / (download) - annotate - [select for diffs], Sun Feb 26 10:25:52 2006 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.127: +4 -3 lines
Diff to previous 1.127 (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.127 / (download) - annotate - [select for diffs], Sat Feb 25 20:21:00 2006 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.126: +2 -3 lines
Diff to previous 1.126 (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.126 / (download) - annotate - [select for diffs], Sat Feb 25 13:29:34 2006 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.125: +1 -2 lines
Diff to previous 1.125 (colored)

target_realpath() is only used by the code that updates libraries from
a.out to elf - so move it into aout2elf.c
I'm not even sure this code is important at all any more.

Revision 1.125 / (download) - annotate - [select for diffs], Sun Jan 15 20:41:00 2006 UTC (8 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.124: +2 -1 lines
Diff to previous 1.124 (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.124 / (download) - annotate - [select for diffs], Thu Jan 12 22:02:44 2006 UTC (8 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.123: +80 -48 lines
Diff to previous 1.123 (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.111.2.3.2.1 / (download) - annotate - [select for diffs], Sun Jul 24 02:25:24 2005 UTC (9 years, 1 month 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.111.2.3: +59 -68 lines
Diff to previous 1.111.2.3 (colored) next main 1.112 (colored)

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

Revision 1.123 / (download) - annotate - [select for diffs], Sat Feb 26 17:40:49 2005 UTC (9 years, 6 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-3-base, 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-1-RELEASE
Branch point for: netbsd-3-0, netbsd-3
Changes since 1.122: +1 -2 lines
Diff to previous 1.122 (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.122 / (download) - annotate - [select for diffs], Sun Feb 20 20:54:52 2005 UTC (9 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.121: +2 -3 lines
Diff to previous 1.121 (colored)

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

Revision 1.121 / (download) - annotate - [select for diffs], Thu Jan 20 21:59:35 2005 UTC (9 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

Default to using 2k fragments (16k blocks) on filesystems that are >1GB.
Matches the defaults advertised in the newfs(8).
Perry keeps on asking me to do this :-)

Revision 1.120 / (download) - annotate - [select for diffs], Thu Nov 11 21:24:40 2004 UTC (9 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

Add support for fetching using http (by specifying http URL to ftp)
Remove a 'Press <enter> to continue' message that was accidently left
in by a previous commit.
Fixes PR/18555 (and a recent discussion on a mailing list)

Revision 1.119 / (download) - annotate - [select for diffs], Sat Aug 14 16:06:36 2004 UTC (10 years ago) by dsl
Branch: MAIN
Changes since 1.118: +1 -2 lines
Diff to previous 1.118 (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.118 / (download) - annotate - [select for diffs], Sat Jul 17 10:55:03 2004 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.117: +2 -6 lines
Diff to previous 1.117 (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.117 / (download) - annotate - [select for diffs], Thu Jul 15 21:06:45 2004 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.116: +1 -2 lines
Diff to previous 1.116 (colored)

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

Revision 1.111.2.3 / (download) - annotate - [select for diffs], Thu Jun 17 09:14:13 2004 UTC (10 years, 2 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.111.2.2: +1 -0 lines
Diff to previous 1.111.2.2 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Pull up revision 1.113 (requested by dsl in ticket #491):
Parse a disk name of "raid:no_mbr" to mean "raid" but without any mbr
setup (on i386).  Allows sysinst to install to an existing RAID1 volume.

Revision 1.116 / (download) - annotate - [select for diffs], Sat Jun 12 19:18:24 2004 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.115: +9 -1 lines
Diff to previous 1.115 (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.111.2.2 / (download) - annotate - [select for diffs], Mon Jun 7 10:21:16 2004 UTC (10 years, 2 months ago) by tron
Branch: netbsd-2-0
Changes since 1.111.2.1: +14 -16 lines
Diff to previous 1.111.2.1 (colored) to branchpoint 1.111 (colored)

Pull up revision 1.114 (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.115 / (download) - annotate - [select for diffs], Sun Jun 6 06:06:59 2004 UTC (10 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.114: +51 -60 lines
Diff to previous 1.114 (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.114 / (download) - annotate - [select for diffs], Sat Jun 5 21:18:59 2004 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.113: +14 -16 lines
Diff to previous 1.113 (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.111.2.1 / (download) - annotate - [select for diffs], Sat May 22 16:23:18 2004 UTC (10 years, 3 months ago) by he
Branch: netbsd-2-0
Changes since 1.111: +4 -3 lines
Diff to previous 1.111 (colored)

Pull up revision 1.112 (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.113 / (download) - annotate - [select for diffs], Sat May 15 21:53:29 2004 UTC (10 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.112: +2 -1 lines
Diff to previous 1.112 (colored)

Parse a disk name of "raid:no_mbr" to mean "raid" but without any mbr
setup (on i386).  Allows sysinst to install to an existing RAID1 volume.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Apr 18 21:34:56 2004 UTC (10 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.111: +4 -3 lines
Diff to previous 1.111 (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.111 / (download) - annotate - [select for diffs], Fri Mar 26 19:55:13 2004 UTC (10 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.110: +1 -2 lines
Diff to previous 1.110 (colored)

Kill emptylabel() is doesn't DTRT since it doesn't know the size of the array.
Fixes breakage caused by copying oldlabel to bsdlabel for update.
Don't look for 'last mounted' in first alternate superblock.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jan 29 08:48:23 2004 UTC (10 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.109: +2 -1 lines
Diff to previous 1.109 (colored)

Add support for "xetc".

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

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

Revision 1.108 / (download) - annotate - [select for diffs], Sun Dec 28 05:30:47 2003 UTC (10 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Add an argument to cp_within_target that indicates if the file is optional
or really should be there. Use that for files that are not necessarily
present.

Revision 1.107 / (download) - annotate - [select for diffs], Sun Nov 30 14:36:43 2003 UTC (10 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.106: +35 -33 lines
Diff to previous 1.106 (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.106 / (download) - annotate - [select for diffs], Sat Nov 15 12:53:34 2003 UTC (10 years, 9 months ago) by sekiya
Branch: MAIN
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (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.105 / (download) - annotate - [select for diffs], Sun Oct 19 20:17:31 2003 UTC (10 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.104: +10 -7 lines
Diff to previous 1.104 (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.104 / (download) - annotate - [select for diffs], Sat Sep 27 10:47:17 2003 UTC (10 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.103: +2 -4 lines
Diff to previous 1.103 (colored)

Use new kern.root_partition sysctl to find out whether we are installing
over the current root (ie the one we are booted from).
Remove all the stuff that tried to find this out by other means.
A few other message changes.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Aug 10 14:51:48 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.102: +12 -9 lines
Diff to previous 1.102 (colored)

Let noexec, nodev and nosuid be written to /ets fstab entries
Always use 1023 cylinders in mbr for large disks

Revision 1.102 / (download) - annotate - [select for diffs], Sat Aug 9 21:36:26 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.101: +2 -1 lines
Diff to previous 1.101 (colored)

Allow user to shoot themselves in the foot by specifing a non-standard
'average bytes per inode' for each partition.
Fixes PR install/8509

Revision 1.101 / (download) - annotate - [select for diffs], Tue Aug 5 13:35:26 2003 UTC (11 years ago) by dsl
Branch: MAIN
Changes since 1.100: +6 -1 lines
Diff to previous 1.100 (colored)

When writing /etc/fstab:
add support for setting mount options of async, noatime, nodevmtine and softdep.
add noauto if 'mount' was not requested.
add entry for /proc (with noauto)
Display fragment size and block size on the correct line.
Ask for numeric fragment size (not # fragments/block).
Show one unused partition when editing disklabel.
Zap all fields when a partition is made FS_UNSED.
Tweak some menu texts (a space at the end of a line causes a line break!).
Simplify code that displays output from commands - curses is requied to not DTRT
with CR/LF sequences, I need to revert libcurses :-(

Revision 1.100 / (download) - annotate - [select for diffs], Sat Jul 26 17:07:39 2003 UTC (11 years, 1 month ago) by salo
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

netbsd.org->NetBSD.org

Revision 1.99 / (download) - annotate - [select for diffs], Fri Jul 25 08:26:21 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.98: +6 -6 lines
Diff to previous 1.98 (colored)

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

Revision 1.98 / (download) - annotate - [select for diffs], Sat Jul 19 22:07:36 2003 UTC (11 years, 1 month ago) by abs
Branch: MAIN
Changes since 1.97: +2 -1 lines
Diff to previous 1.97 (colored)

Make net_namesvr6 extern again to fix compilation if INET6 is defined.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jul 18 09:44:20 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.96: +5 -25 lines
Diff to previous 1.96 (colored)

Network info has gone to net.c and is now static.
Stuff to put /etc back in upgrade aborted.

Revision 1.96 / (download) - annotate - [select for diffs], Fri Jul 11 15:28:58 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.95: +3 -27 lines
Diff to previous 1.95 (colored)

Use a menu when asking for the install disk (fixes PR install/20121).
Make disk_desc[], disk and numdisks local to get_disks (instead of globals).
Fix a little fallout from the above.
A bit of mbr.c was missing #ifdef BOOTSEL...

Revision 1.95 / (download) - annotate - [select for diffs], Tue Jul 8 17:38:54 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.94: +3 -5 lines
Diff to previous 1.94 (colored)

Sort out (and remember) the disk partition we will install into.
This should stop the i386 code splatting all over the start of the disk
during upgrade.
Upgrade will still use partition 'a' (unless you loop through the install
far enough first!)

Revision 1.94 / (download) - annotate - [select for diffs], Mon Jul 7 12:30:19 2003 UTC (11 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.93: +22 -14 lines
Diff to previous 1.93 (colored)

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

Revision 1.93 / (download) - annotate - [select for diffs], Fri Jun 27 22:20:14 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.92: +2 -3 lines
Diff to previous 1.92 (colored)

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

Revision 1.92 / (download) - annotate - [select for diffs], Wed Jun 25 15:45:21 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.91: +3 -1 lines
Diff to previous 1.91 (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.91 / (download) - annotate - [select for diffs], Mon Jun 16 10:42:47 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

Correct check for active swap on install disk.
Use swapctl() for all swap operations.
Remove md_upgrade_mbrtype() from arc and hpcmips ports.
(I haven't finalised what I'm doing about type 165 partitions, but the
existing code is borked.)

Revision 1.90 / (download) - annotate - [select for diffs], Sat Jun 14 12:58:45 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.89: +2 -1 lines
Diff to previous 1.89 (colored)

Implement a limit on the size of / so that its guaranteed readable by the boot code.
Remove pointless 'len' parameter from read_mbr and write_mbr.
Make read_mbr initialise mbr if it can't be read (delete MD code).
Make i386 always ask at least once about the bootcode.
Move LIB_MOVE and LIB_COUNT from md.h to aout2elf.c

Revision 1.89 / (download) - annotate - [select for diffs], Fri Jun 13 11:57:28 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.88: +1 -3 lines
Diff to previous 1.88 (colored)

Remove all references to minfsdmb and STDNEEDMB - neither are used any more.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Jun 13 11:45:49 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored)

Report actual minimum size of partitions (instead of a number that is
4 times system memory). (These numbers need moving to a different menu still.)
Remove size of /usr from default sized / when /usr created.
Shrink swap in order to get partitions into available disk space.
Add twice ram size to / if space available (for system dumps).
Keep all but last partition cylinder aligned when the disk isn't a whole
number of cylinders.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Jun 12 12:41:55 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.86: +33 -33 lines
Diff to previous 1.86 (colored)

kernel names mixed up on i386/amd64 port
Default to TINY, LAPTOP or PS2 if running from such a kernel.
Do wscons stuff unless we installed a TINT kernel (not if running one)

Revision 1.86 / (download) - annotate - [select for diffs], Wed Jun 11 21:35:35 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.85: +45 -5 lines
Diff to previous 1.85 (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.85 / (download) - annotate - [select for diffs], Tue Jun 10 17:47:15 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.84: +6 -3 lines
Diff to previous 1.84 (colored)

Use dynamic menu for final editing of partition stable

Revision 1.84 / (download) - annotate - [select for diffs], Mon Jun 9 19:06:48 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.83: +2 -1 lines
Diff to previous 1.83 (colored)

Use dynamic menu to select partition to edit

Revision 1.83 / (download) - annotate - [select for diffs], Fri Jun 6 21:37:13 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Add (back) support for mfs /tmp
Fix menu size so that user defined partitions can be allocated instead of
standard ones (need > MAXPARTITIONS entries in menu).
Make partition size info static - with a view to including it in a longer loop.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jun 6 17:05:02 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.81: +1 -6 lines
Diff to previous 1.81 (colored)

Remove a cpuple of unused buffers

Revision 1.81 / (download) - annotate - [select for diffs], Fri Jun 6 14:31:22 2003 UTC (11 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.80: +2 -3 lines
Diff to previous 1.80 (colored)

Remove a load of messages that are no longer used.
Make the French and Polish versions compile (seems I didn't fix it last time)

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jun 4 20:05:12 2003 UTC (11 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.79: +16 -14 lines
Diff to previous 1.79 (colored)

A rototil of the partition size requesting code.

Revision 1.79 / (download) - annotate - [select for diffs], Thu May 29 17:54:22 2003 UTC (11 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.78: +1 -3 lines
Diff to previous 1.78 (colored)

partsize and partstart don't need to be globals

Revision 1.78 / (download) - annotate - [select for diffs], Wed May 21 10:05:20 2003 UTC (11 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.77: +5 -9 lines
Diff to previous 1.77 (colored)

Reduce the number of global variables slightly, use the ones that are
left consistently.
Make the i386 install let you partition a disk beyond the CHS limit if the
system bios doesn't support LBA reads (the checks aren't ideal yet).
Make the bsddislabel.c code usable onan i386 system - but don't use it yet.

Revision 1.77 / (download) - annotate - [select for diffs], Sun May 18 20:40:09 2003 UTC (11 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.76: +101 -98 lines
Diff to previous 1.76 (colored)

Stop double-inclusion being an error.
Adjust whitespace and remove names from prototypes

Revision 1.76 / (download) - annotate - [select for diffs], Sun Apr 6 16:12:36 2003 UTC (11 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.75: +1 -2 lines
Diff to previous 1.75 (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.75 / (download) - annotate - [select for diffs], Sun Jan 12 21:49:50 2003 UTC (11 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.74: +2 -1 lines
Diff to previous 1.74 (colored)

hack to have only one copy of fstypenames[]

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jan 10 20:00:27 2003 UTC (11 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.73: +3 -4 lines
Diff to previous 1.73 (colored)

pass lint[pass1]

Revision 1.73 / (download) - annotate - [select for diffs], Thu Dec 5 01:17:15 2002 UTC (11 years, 9 months ago) by fvdl
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

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

Revision 1.72 / (download) - annotate - [select for diffs], Wed Oct 9 13:28:48 2002 UTC (11 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Use unsigned variable for memory size, so > 2M memory isn't negative.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Jul 29 03:05:16 2002 UTC (12 years, 1 month ago) by grant
Branch: MAIN
Changes since 1.70: +3 -1 lines
Diff to previous 1.70 (colored)

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

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Thu Jun 6 09:58:16 2002 UTC (12 years, 2 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.69: +11 -9 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Pull up revision 1.70 (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.70 / (download) - annotate - [select for diffs], Thu Jun 6 09:53:22 2002 UTC (12 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.69: +11 -9 lines
Diff to previous 1.69 (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.69 / (download) - annotate - [select for diffs], Thu Apr 4 14:26:43 2002 UTC (12 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (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.68 / (download) - annotate - [select for diffs], Sun Feb 3 22:21:55 2002 UTC (12 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.67: +4 -1 lines
Diff to previous 1.67 (colored)

Factor out the aout library moving code for use in other platforms.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jun 6 23:12:49 2001 UTC (13 years, 2 months ago) by scottr
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

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

Revision 1.66 / (download) - annotate - [select for diffs], Sun Apr 15 11:08:51 2001 UTC (13 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.65: +3 -1 lines
Diff to previous 1.65 (colored)

write out IPv6 configuration to /etc/rc.conf and /etc/ifconfig.*

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jan 14 02:38:14 2001 UTC (13 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.64: +24 -1 lines
Diff to previous 1.64 (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.64 / (download) - annotate - [select for diffs], Fri Dec 22 10:12:12 2000 UTC (13 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.63: +86 -86 lines
Diff to previous 1.63 (colored)

de-__P()-ify

Revision 1.53.2.5 / (download) - annotate - [select for diffs], Wed Oct 18 17:51:13 2000 UTC (13 years, 10 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.53.2.4: +18 -3 lines
Diff to previous 1.53.2.4 (colored) to branchpoint 1.53 (colored) next main 1.54 (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.63 / (download) - annotate - [select for diffs], Wed Oct 11 23:47:55 2000 UTC (13 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.62: +9 -1 lines
Diff to previous 1.62 (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.62 / (download) - annotate - [select for diffs], Wed Oct 11 11:06:03 2000 UTC (13 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.61: +3 -1 lines
Diff to previous 1.61 (colored)

Externalize concat_paths, it is used by arch/i386/md.c now. Add
target_realpath prototype.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Oct 2 09:26:26 2000 UTC (13 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Wed Sep 27 12:42:04 2000 UTC (13 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.59: +3 -1 lines
Diff to previous 1.59 (colored)

Move md_enable_swap to disks.c, rename it set_swap, and handle both
enabling and disabling swap. Enabling swap is currently only
done by the i386 port on systems with <= 8M of physical memory.

If a user re-enters the install procedure through the main menu,
and the target disk has an active swap partition, try to disable it,
warning the user that this might lead to 'out of swap' problems,
making a restart necessary. This should not happen very often.

Partly based on comments by Simon Burge.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Sep 26 23:12:44 2000 UTC (13 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

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.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Sep 26 13:26:02 2000 UTC (13 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.57: +3 -2 lines
Diff to previous 1.57 (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.53.2.4 / (download) - annotate - [select for diffs], Wed Sep 20 21:43:53 2000 UTC (13 years, 11 months ago) by hubertf
Branch: netbsd-1-5
Changes since 1.53.2.3: +7 -2 lines
Diff to previous 1.53.2.3 (colored) to branchpoint 1.53 (colored)

Pull up rev. 1.54 to netbsd-1-5 branch, OK'd by thorpej:

Log:
> date: 2000/07/24 10:52:28;  author: itojun;  state: Exp;  lines: +7 -2
> do not skip IPv6 configuration menu on dhcp configuration.
>
> do not save address/netmask/default router, if we got them from dhcp.
> (we shouldn't do that).  if we keep any of dhcp config into /etc, we shoul
> update rc.conf to run dhcp again.

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Wed Sep 20 20:13:14 2000 UTC (13 years, 11 months ago) by hubertf
Branch: netbsd-1-5
Changes since 1.53.2.2: +2 -2 lines
Diff to previous 1.53.2.2 (colored) to branchpoint 1.53 (colored)

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

Revs:
 > cvs rdiff -r1.56 -r1.57 basesrc/distrib/utils/sysinst/defs.h
 > cvs rdiff -r1.23 -r1.24 basesrc/distrib/utils/sysinst/target.c

Log:
 >  * make target-routines (target_expand(), and whatnot) work if no root
 >    disk was selected. With this, sysinst can now be used on a "normal"
 >    system to adjust the system's timezone. Use the entry in the "Utilities"
 >    menu for that.

(The test install that I did was actually with a 1.5 system's sources ;-)

Revision 1.57 / (download) - annotate - [select for diffs], Wed Sep 20 19:53:35 2000 UTC (13 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

 * Fix changing of /etc/rc.conf after the main file moved recently.
   'rc_configured' is still changed via sed's s///, wscons=yes is appended
   via "echo >>".
 * make target-routines (target_expand(), and whatnot) work if no root
   disk was selected. With this, sysinst can now be used on a "normal"
   system to adjust the system's timezone. Use the entry in the "Utilities"
   menu for that.

Both changes were tested by a full i386 installation.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Fri Sep 8 23:57:19 2000 UTC (13 years, 11 months ago) by hubertf
Branch: netbsd-1-5
Changes since 1.53.2.1: +2 -1 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored)

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

Revisions:
 > cvs rdiff -r1.55 -r1.56 basesrc/distrib/utils/sysinst/defs.h
 > cvs rdiff -r1.65 -r1.66 basesrc/distrib/utils/sysinst/msg.mi.en
 > cvs rdiff -r1.22 -r1.23 basesrc/distrib/utils/sysinst/target.c
 > cvs rdiff -r1.20 -r1.21 basesrc/distrib/utils/sysinst/upgrade.c

Log message:
 > When upgrading and /usr/X11R6/bin/X is a symlink, move it aside (X.old)
 > before extracting sets, and move it back afterwards, to save the information
 > which X server to use.
 >
 > Adresses PR 10935 by Dan McMahill <dmcmahill@netbsd.org>

Revision 1.56 / (download) - annotate - [select for diffs], Fri Sep 8 02:50:42 2000 UTC (13 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

When upgrading and /usr/X11R6/bin/X is a symlink, move it aside (X.old)
before extracting sets, and move it back afterwards, to save the information
which X server to use.

Adresses PR 10935 by Dan McMahill <dmcmahill@netbsd.org>

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Tue Aug 15 02:12:52 2000 UTC (14 years ago) by hubertf
Branch: netbsd-1-5
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (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.55 / (download) - annotate - [select for diffs], Tue Aug 15 01:08:00 2000 UTC (14 years ago) by hubertf
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (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.54 / (download) - annotate - [select for diffs], Mon Jul 24 10:52:28 2000 UTC (14 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.53: +7 -2 lines
Diff to previous 1.53 (colored)

do not skip IPv6 configuration menu on dhcp configuration.

do not save address/netmask/default router, if we got them from dhcp.
(we shouldn't do that).  if we keep any of dhcp config into /etc, we shoul
update rc.conf to run dhcp again.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jun 18 23:50:02 2000 UTC (14 years, 2 months ago) by cyber
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored)

dhclient support added
only invoked if dhclient is present on install image

Revision 1.52 / (download) - annotate - [select for diffs], Fri Mar 24 21:56:04 2000 UTC (14 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.51: +13 -3 lines
Diff to previous 1.51 (colored)

Allow for building with an alternate default FTP server and alternate
default FTP directory, based on mk.conf variables SYSINST_FTP_HOST
and SYSINST_FTP_DIR.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 14 22:42:48 2000 UTC (14 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (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.36.2.6 / (download) - annotate - [select for diffs], Sun Jan 23 12:56:43 2000 UTC (14 years, 7 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.36.2.5: +4 -1 lines
Diff to previous 1.36.2.5 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Pull up revision 1.50 (requested by mycroft):
  Get rid of the side and bottom borders on command output windows,
  so this works better on a terminal.  Also fix bugs that could
  cause the display to be partially blanked after a suspend/resume.

Revision 1.36.2.5 / (download) - annotate - [select for diffs], Sun Jan 23 12:52:49 2000 UTC (14 years, 7 months ago) by he
Branch: netbsd-1-4
Changes since 1.36.2.4: +1 -5 lines
Diff to previous 1.36.2.4 (colored) to branchpoint 1.36 (colored)

Revert pull-up of revision 1.49 (requested by mycroft):
  Off-by-one error in pull-up request.

Revision 1.36.2.4 / (download) - annotate - [select for diffs], Sat Jan 15 17:27:33 2000 UTC (14 years, 7 months ago) by he
Branch: netbsd-1-4
Changes since 1.36.2.3: +5 -1 lines
Diff to previous 1.36.2.3 (colored) to branchpoint 1.36 (colored)

Pull up revision 1.49 (requested by mycroft):
  Get rid of the side and bottom borders on command output windows,
  so this works better on a terminal.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jan 13 18:52:21 2000 UTC (14 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 (colored)

In command execution displays, only draw a single line between the status
display and the output window, not a whole box.  This looks better, and it
works much better on terminals.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 4 08:33:51 2000 UTC (14 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.48: +5 -1 lines
Diff to previous 1.48 (colored)

enable IPv6 support in sysinst.  integration of work by ichiro@ichiro.org.
- IPv6 autoconfiguration
- IPv6 nameserver
TODO: french messages, dhcp

add -DINET6 into x_ifconfig.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 16 08:29:04 1999 UTC (15 years ago) by abs
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.47: +8 -7 lines
Diff to previous 1.47 (colored)

Add generic make_bsd_partitions() in bsddisklabel.c useable by virtually all
orts. Since port specific information is in appropriate arch/.../md.h
bsddisklabel.c is currently #included by arch/.../md.c.
I'm not totally happy about this, but my concience is somewhat salved by the
overall reduction in breakage.
Initially only pmax, sparc, vax and x68k are using bsddisklabel.c.
While I'm here adjust defs.h for more than eight partitions in a generic
fashion.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 4 21:39:33 1999 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

convert run_prog's error message from being a "const char *" to a msg.
XXX Only the callers that actually pass strings were fixed, the rest were
XXX left passing 'NULL'.  Eventually they should be cleaned up to pass
XXX MSG_NONE, but I didn't want to do that yet because somebody else
XXX (jonathan) is hacking on the run_prog callers and I didn't want to
XXX cause him a Lot of conflicts.  at least right now, MSG_NONE and NULL
XXX are as equivalent as they need to be.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jul 4 21:32:48 1999 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.45: +9 -7 lines
Diff to previous 1.45 (colored)

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

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Thu Jun 24 22:58:02 1999 UTC (15 years, 2 months ago) by cgd
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH001
Changes since 1.36.2.2: +6 -5 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored)

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

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jun 22 06:57:00 1999 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: dynamic-messages-base, dynamic-messages
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (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:09 1999 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.43: +1 -2 lines
Diff to previous 1.43 (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:43:57 1999 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (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.42 / (download) - annotate - [select for diffs], Sun Jun 20 06:08:13 1999 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

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

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jun 18 23:26:40 1999 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

* when encoding an FTP url, if the path starts with a / put a %2F at the
  start of the URL so that the request will start from / (rather than
  relative to the login directory; makes things work better for
  non-anonymous FTP).  To make it clearer what's going on, make the
  default path (used to get distribution bits) relative.  (according
  to the 1.4 LAST_MINUTE file, this is OK.)
* Also, %-encode passwords in FTP URLs (doesn't help actual security, but
  makes it slightly harder to figure out a password by reading over
  somebody's shoulder).

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Mon Apr 19 15:19:27 1999 UTC (15 years, 4 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE
Changes since 1.36.2.1: +13 -13 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 13 20:17:47 1999 UTC (15 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Sun Apr 11 22:40:19 1999 UTC (15 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Fri Apr 9 10:24:38 1999 UTC (15 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.37: +10 -11 lines
Diff to previous 1.37 (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.36.2.1 / (download) - annotate - [select for diffs], Mon Apr 5 15:08:22 1999 UTC (15 years, 5 months ago) by simonb
Branch: netbsd-1-4
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

Pull up rev 1.37 from trunk.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Apr 5 06:59:36 1999 UTC (15 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

Move prototype for disp_cur_part() from defs.h to mbr.h.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Mar 31 00:44:48 1999 UTC (15 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.35: +16 -15 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Sun Mar 14 14:19:05 1999 UTC (15 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.34: +15 -3 lines
Diff to previous 1.34 (colored)

Start cleaning up geometry code by storing the disk geometry in a structure
with proper names, not an integer array with is numerically indexed.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Feb 1 14:08:36 1999 UTC (15 years, 7 months ago) by he
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

Move extern declaration of do_system() from run.c to defs.h, used by i386/md.c

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jan 21 08:02:17 1999 UTC (15 years, 7 months ago) by garbled
Branch: MAIN
Changes since 1.32: +11 -4 lines
Diff to previous 1.32 (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.32 / (download) - annotate - [select for diffs], Sun Oct 25 19:15:04 1998 UTC (15 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (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.31 / (download) - annotate - [select for diffs], Tue Oct 6 01:37:17 1998 UTC (15 years, 11 months ago) by mark
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Add T_FILECORE to the DTYPE enum.
Add filecore to the fstype array.

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

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

Revision 1.7.2.14 / (download) - annotate - [select for diffs], Fri May 29 18:01:09 1998 UTC (16 years, 3 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.7.2.13: +2 -1 lines
Diff to previous 1.7.2.13 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Pull up 1.29, per request of fvdl.

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 15 15:12:29 1998 UTC (16 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (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.7.2.13 / (download) - annotate - [select for diffs], Mon Mar 9 22:08:53 1998 UTC (16 years, 5 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH001
Changes since 1.7.2.12: +6 -2 lines
Diff to previous 1.7.2.12 (colored) to branchpoint 1.7 (colored)

Pull up 1.28 (jonathan)

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 20 02:33:51 1998 UTC (16 years, 6 months ago) by jonathan
Branch: MAIN
Changes since 1.27: +6 -2 lines
Diff to previous 1.27 (colored)

* Prune default CD path from "/Release/NetBSD/NetBSD-" back to "/NetBSD-".
* Add cp_to_target() to  copy a file from current root, to an absolute
  path relative to target root.

* Clean up alpha, arm32, i386, pmax MD code: use cp_to_target()
  NB: Alpha uses target_expand() when calling installboot.
* Add tests for target == current root. Intended to support
  `upgrade/reinstall' to current root, either for testing or easier
  minor-release upgrades. Only tested on pmax.

Revision 1.7.2.12 / (download) - annotate - [select for diffs], Fri Dec 26 02:39:44 1997 UTC (16 years, 8 months ago) by perry
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE
Changes since 1.7.2.11: +2 -1 lines
Diff to previous 1.7.2.11 (colored) to branchpoint 1.7 (colored)

pull up from trunk (fvdl)

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 26 01:58:44 1997 UTC (16 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (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.7.2.11 / (download) - annotate - [select for diffs], Wed Dec 10 07:46:45 1997 UTC (16 years, 8 months ago) by phil
Branch: netbsd-1-3
Changes since 1.7.2.10: +4 -4 lines
Diff to previous 1.7.2.10 (colored) to branchpoint 1.7 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 10 04:36:19 1997 UTC (16 years, 8 months ago) by phil
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

pc532 partitions and md stuff.

Revision 1.7.2.10 / (download) - annotate - [select for diffs], Fri Dec 5 14:12:38 1997 UTC (16 years, 9 months ago) by jonathan
Branch: netbsd-1-3
Changes since 1.7.2.9: +12 -6 lines
Diff to previous 1.7.2.9 (colored) to branchpoint 1.7 (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.25 / (download) - annotate - [select for diffs], Fri Dec 5 14:00:59 1997 UTC (16 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.24: +12 -6 lines
Diff to previous 1.24 (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.7.2.9 / (download) - annotate - [select for diffs], Thu Dec 4 11:44:44 1997 UTC (16 years, 9 months ago) by jonathan
Branch: netbsd-1-3
Changes since 1.7.2.8: +12 -3 lines
Diff to previous 1.7.2.8 (colored) to branchpoint 1.7 (colored)

Pull up commit with message
 >Add check for overlapping partitions:
to 1.3 branch;

  defs.h,v: 1.24
  install.c,v: 1.10
  msg.mi.eng,v: 1.22
  arch/arm32/Makefile,v: 1.2
  arch/arm32/md.c,v: 1.2
  arch/i386/Makefile,v: 1.5
  arch/i386/md.c,v: 1.9
  arch/pc532/Makefile: 1.6
  arch/pc532/md.c,v: 1.4
  arch/pmax/Makefile,v: 1.3
  arch/pmax/md.c,v: 1.16

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 4 11:27:56 1997 UTC (16 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.23: +12 -3 lines
Diff to previous 1.23 (colored)

Add check for overlapping partitions:
 * Add `partinfo' type, for description of a single partition,
   so we can pass labels by reference..
 * Add label.c with label initialization, naive overlap-check code,
   and a UI entrypoint edit_and_check_label() which iterates through
   checking a label for overlaps, and if any, giving the user the choice of
   fixing them or punting back to the main menu.
 * Change return type of md_make_bsd_partitions from void to int.
   Return 0 if the partition has problems (or the user gave up on it)
   and 1 if the partition is completed and looks OK.
 * Change install() to check return value of md_make_bsd_partitions().
   If it returns zero,  print an `abort' message and return to main menu.
 * Add label.c to all ports' Makefile.

MD code tested on pmax and cut-and-pasted to other ports.

Revision 1.7.2.8 / (download) - annotate - [select for diffs], Thu Dec 4 09:11:02 1997 UTC (16 years, 9 months ago) by jonathan
Branch: netbsd-1-3
Changes since 1.7.2.7: +7 -2 lines
Diff to previous 1.7.2.7 (colored) to branchpoint 1.7 (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.23 / (download) - annotate - [select for diffs], Thu Dec 4 09:05:38 1997 UTC (16 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.22: +7 -2 lines
Diff to previous 1.22 (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.7.2.7 / (download) - annotate - [select for diffs], Tue Nov 25 06:57:57 1997 UTC (16 years, 9 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-BETA
Changes since 1.7.2.6: +4 -2 lines
Diff to previous 1.7.2.6 (colored) to branchpoint 1.7 (colored)

Sync w/ trunk.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Nov 25 06:53:07 1997 UTC (16 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (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.7.2.6 / (download) - annotate - [select for diffs], Tue Nov 11 00:47:27 1997 UTC (16 years, 9 months ago) by phil
Branch: netbsd-1-3
Changes since 1.7.2.5: +6 -3 lines
Diff to previous 1.7.2.5 (colored) to branchpoint 1.7 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 11 00:43:36 1997 UTC (16 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (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.7.2.5 / (download) - annotate - [select for diffs], Mon Nov 10 19:22:46 1997 UTC (16 years, 9 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.7.2.4: +11 -5 lines
Diff to previous 1.7.2.4 (colored) to branchpoint 1.7 (colored)

Sync w/ trunk.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 9 12:47:06 1997 UTC (16 years, 9 months ago) by jonathan
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Fix target prefixing to handle both root-in-swap (traditional miniroot)
and current-root-is-target-root (pmax diskimage.

 * Add code to check disk names (e.g., "sd0") against the current
   kern.root_device  sysctl (whic  does *not* include a partition).

 * Add new function must_mount_root():
   check to see if it's the same device as the root.  If not,
   the current and target root partitions cannot overlap.
   If they do, do statfs() on "/", and return 1 iff we get back
   "root_device" as the mounted-on filesystem, otherwise zero.

* Call must_mount_root() right after the user specifies a disk as
  install/upgrade target, and  if it returns 1, print a message asking
  them to mount root, and abort.

*  Use statfs("/")  mounted_from string to check if a disk partition
    (e.g., "sd0a") matches the current root.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Thu Nov 6 00:55:23 1997 UTC (16 years, 9 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.7.2.3: +23 -9 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored)

Pull rev 1.14 through 1.18 up from trunk (jonathan)

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 5 22:45:53 1997 UTC (16 years, 9 months ago) by mhitch
Branch: MAIN
Changes since 1.18: +10 -5 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Wed Nov 5 07:28:20 1997 UTC (16 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Wed Nov 5 01:23:06 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Tue Nov 4 01:39:03 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.15: +8 -6 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Mon Nov 3 02:38:41 1997 UTC (16 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored)

* Clean up target.c to use a single consistent path-prefixing subroutine.
* Correct arg typo in mv_within_target_or_die().
* Add new path-prefixing entrypoints to fopen(), collect(), and do mounts.
* Use the above.  MI code is now clean of explicit references to /mnt.
* Lint: add `const' to collect()'s pathname arg.
  include <stdio.h> in factor.c, now that defs.h uses FILE*.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 2 23:43:11 1997 UTC (16 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

Add more target_wrapper functions, to do
  * renames of files from one pathname within the  target to another
    (e.g., mv_within_target_or_die("/etc", "/etc.old");
  *  check to see  if a partition name like "sd0a" is the current root
  *  Duplicate a file from the current root into the target root
     (for copying /netbsd from RAMdisk into the  target).
     A no-op if the root is the install target).
Start using these where appropriate.

Change net.c to avoid losing any information when updating network
config files: where possible, do appends to files that might have more
info than we got from the user (e.g., /etc/hosts.)

Where possible, add comment saying file was created/modified by sysinst.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sun Nov 2 20:38:20 1997 UTC (16 years, 10 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.7.2.2: +26 -5 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 2 09:41:57 1997 UTC (16 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sun Nov 2 08:20:40 1997 UTC (16 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.11: +9 -3 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Nov 2 03:45:32 1997 UTC (16 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.10: +8 -1 lines
Diff to previous 1.10 (colored)

Add two variants of run_prog() for errors that aren't otherwise handled:
   run_prog_or_die() -- aborts  if  system() returns an error.
   run_prog_or_continue() -- prints a  warning that installation may
	have failed but lets the user continue.  Suitable for running mkdir.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 31 23:00:32 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.9: +11 -5 lines
Diff to previous 1.9 (colored)

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

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Thu Oct 30 06:07:47 1997 UTC (16 years, 10 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.7.2.1: +12 -1 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)

Pull rev 1.9 up from trunk (phil)

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 29 01:06:42 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.8: +12 -1 lines
Diff to previous 1.8 (colored)

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

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Oct 27 19:36:11 1997 UTC (16 years, 10 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Sync w/ trunk.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 22 15:28:33 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Recover more bits lost in my earlier blunder.  Get update working.
Other minor tweeks.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 20 06:13:25 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.6: +8 -1 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 17 22:17:05 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.5: +6 -5 lines
Diff to previous 1.5 (colored)

Try to recover from a mistake of mine where I lost bits.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 15 04:35:25 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.4: +44 -34 lines
Diff to previous 1.4 (colored)

Update to current state.  Install and upgrade nearly finished.  Disk
discovery and geometry no longer use /kern/msgbuf.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 7 04:01:29 1997 UTC (16 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.3: +19 -12 lines
Diff to previous 1.3 (colored)

Update to current state.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 1 05:04:24 1997 UTC (16 years, 11 months ago) by phil
Branch: MAIN
Changes since 1.2: +8 -2 lines
Diff to previous 1.2 (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:22 1997 UTC (16 years, 11 months ago) by phil
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (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 (16 years, 11 months ago) by phil
Branch: PIERMONT_NELSON
CVS Tags: REL_0
Changes since 1.1: +0 -0 lines
Diff to previous 1.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:54 1997 UTC (16 years, 11 months ago) by phil
Branch: MAIN

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>