Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-1-5
Revision 1.30.4.2 / (download) - annotate - [select for diffs], Wed Oct 18 17:51:15 2000 UTC (23 years, 6 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.30.4.1: +58 -18
lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (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.30.4.1 / (download) - annotate - [select for diffs], Tue Aug 15 02:12:53 2000 UTC (23 years, 8 months ago) by hubertf
Branch: netbsd-1-5
Changes since 1.30: +5 -5
lines
Diff to previous 1.30 (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.30 / (download) - annotate - [select for diffs], Fri Apr 14 21:46:11 2000 UTC (24 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.29: +3 -3
lines
Diff to previous 1.29 (colored)
Don't access curses internals, use getmaxy() instead.