The NetBSD Project

CVS log for src/usr.sbin/sysinst/run.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 21 17:30:15 2022 UTC (9 months, 1 week ago) by martin
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.14: +8 -3 lines
Diff to previous 1.14 (colored)

Make default installations a bit more secure:
 - push a bit harder for setup of a root password
 - simplify/clarify manual entropy setup
 - visit the entropy setup (on machines where it is needed) on the
   default path through sysinst

Revision 1.14 / (download) - annotate - [select for diffs], Tue Aug 3 13:34:04 2021 UTC (18 months ago) by martin
Branch: MAIN
Changes since 1.13: +35 -6 lines
Diff to previous 1.13 (colored)

When reading output from a program we don't know how much it will
be - so scale the buffer (within reasonable limits).
Problem pointed out by RVP, triggered e.g. by disks with lots of GPT
partitions.

Revision 1.5.16.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:06:00 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.5.16.1: +7 -7 lines
Diff to previous 1.5.16.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Sun Nov 17 13:45:26 2019 UTC (3 years, 2 months ago) by msaitoh
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull up following revision(s) (requested by martin in ticket #436):
	usr.sbin/sysinst/disks.c: revision 1.55
	usr.sbin/sysinst/msg.mi.en: revision 1.24
	usr.sbin/sysinst/mbr.c: revision 1.22
	usr.sbin/sysinst/disks.c: revision 1.56
	usr.sbin/sysinst/msg.mi.en: revision 1.25
	usr.sbin/sysinst/disks.c: revision 1.57
	usr.sbin/sysinst/arch/playstation2/msg.md.pl: revision 1.3
	usr.sbin/sysinst/Makefile.inc: revision 1.30
	usr.sbin/sysinst/configmenu.c: revision 1.11
	usr.sbin/sysinst/util.c: revision 1.35
	usr.sbin/sysinst/gpt.c: revision 1.12
	usr.sbin/sysinst/util.c: revision 1.36
	usr.sbin/sysinst/arch/playstation2/msg.md.de: revision 1.3
	usr.sbin/sysinst/arch/i386/menus.md: revision 1.3
	usr.sbin/sysinst/util.c: revision 1.37
	usr.sbin/sysinst/part_edit.c: revision 1.11
	usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.2
	usr.sbin/sysinst/util.c: revision 1.38
	usr.sbin/sysinst/part_edit.c: revision 1.12
	usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.3
	usr.sbin/sysinst/util.c: revision 1.39
	usr.sbin/sysinst/part_edit.c: revision 1.13
	usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.4
	usr.sbin/sysinst/disklabel.c: revision 1.15
	usr.sbin/sysinst/bsddisklabel.c: revision 1.30
	usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.2
	usr.sbin/sysinst/bsddisklabel.c: revision 1.31
	usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.3
	usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.4
	usr.sbin/sysinst/mbr.h: revision 1.4
	usr.sbin/sysinst/main.c: revision 1.18
	usr.sbin/sysinst/partman.c: revision 1.44
	usr.sbin/sysinst/msg.mi.de: revision 1.17
	usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.2
	usr.sbin/sysinst/msg.mi.de: revision 1.18
	usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.3
	usr.sbin/sysinst/arch/playstation2/msg.md.en: revision 1.3
	usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.4
	usr.sbin/sysinst/arch/amd64/md.c: revision 1.2
	usr.sbin/sysinst/arch/ews4800mips/Makefile: revision 1.3
	usr.sbin/sysinst/arch/playstation2/msg.md.es: revision 1.3
	usr.sbin/sysinst/label.c: revision 1.13
	usr.sbin/sysinst/Makefile.inc: revision 1.29
	usr.sbin/sysinst/label.c: revision 1.14
	usr.sbin/sysinst/util.c: revision 1.40
	usr.sbin/sysinst/partitions.c: revision 1.5
	usr.sbin/sysinst/arch/amd64/md.h: revision 1.8
	usr.sbin/sysinst/msg.mi.es: revision 1.18
	usr.sbin/sysinst/net.c: revision 1.34
	usr.sbin/sysinst/msg.mi.es: revision 1.19
	usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.2
	usr.sbin/sysinst/arch/i386/md.c: revision 1.22
	usr.sbin/sysinst/msg.mi.fr: revision 1.22
	usr.sbin/sysinst/arch/playstation2/msg.md.fr: revision 1.3
	usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.3
	usr.sbin/sysinst/arch/i386/md.c: revision 1.23
	usr.sbin/sysinst/msg.mi.pl: revision 1.25
	usr.sbin/sysinst/msg.mi.fr: revision 1.23
	usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.4
	usr.sbin/sysinst/arch/i386/md.c: revision 1.24
	usr.sbin/sysinst/partitions.h: revision 1.8
	usr.sbin/sysinst/msg.mi.pl: revision 1.26
	usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.2
	usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.3
	usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.4
	usr.sbin/sysinst/run.c: revision 1.13
	usr.sbin/sysinst/defs.h: revision 1.46
	usr.sbin/sysinst/install.c: revision 1.12
	usr.sbin/sysinst/defs.h: revision 1.47
	usr.sbin/sysinst/install.c: revision 1.13
	usr.sbin/sysinst/defs.h: revision 1.48
Add options to the various partitioning stages that allow cloning of
alien partitions (optionally including data).
PR 54467: we trust our own sets, extract them with -P to allow symlink
redirection (especially for updates and chroot services - back out
once a better solution for those is implemented)
Make cloning support optional, so we can save some space on very small
install media.
Drop MBR and cloning support on crunched install media.
Make tar extraction flags depend on our usage of pax-as-tar or bsdtar.
Fix missing newlines in bios match display, pointed out by maxv.
Drop unused variable.
Fix table of bios geomatries
knf style adjustments
Make the bootblock selection menu more sane, pointed out by maxv
Make sure all menus have a translatable exit option (or none at all).
On amd64 support installation with a KASLR kernel, via "custom install"
and selecting the GENERIC_KASLR kernel set.
Setup /prekern and boot.cfg accordingly.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 16 20:26:59 2019 UTC (3 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Make sure all menus have a translatable exit option (or none at all).

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 22 20:46:07 2019 UTC (3 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

no need to initialize fields that are already 0.

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

Use _fmt_ msg_ methods when formats are needed.

Revision 1.5.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:38 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.5: +12 -8 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 27 12:59:35 2019 UTC (3 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

Simplify previous even further by using hline() instead of a hand coded
version.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 27 11:35:35 2019 UTC (3 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Simplify previous, suggested by simonb.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 26 13:09:35 2019 UTC (3 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Avoid string + int warning.

Revision 1.5.14.1 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:55 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.5: +11 -5 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 20 19:02:07 2018 UTC (4 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

Convert all static menu struct initializiations to C99 name initializer
format - prerequisite for an upcoming evil hack (tm).
No functional change intended.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 2 18:07:33 2018 UTC (4 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.5: +8 -3 lines
Diff to previous 1.5 (colored)

Make the debug version compilable with modern gcc.
Do debugging for system(3) calls only when DEBUG_SYSTEM is defined.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Fri Feb 27 11:29:44 2015 UTC (7 years, 11 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.2.4.1: +5 -5 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by snj in ticket #554):
	usr.sbin/sysinst/defs.h: revision 1.5
	usr.sbin/sysinst/main.c: revision 1.6
	usr.sbin/sysinst/net.c: revision 1.17
	usr.sbin/sysinst/util.c: revision 1.5
	usr.sbin/sysinst/run.c: revision 1.3
Don't use asctime(localtime(time_t *)) because this is really ctime(time_t *)
and not checking the result of localtime can lead to tears.
Add a safectime() that always returns a good string, and add some debugging
so that we can see if there is indeed something wrong in the new libc time
code.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Wed Dec 31 06:23:11 2014 UTC (8 years, 1 month ago) by snj
Branch: netbsd-7
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Pull up following revision(s) (requested by martin in ticket #361):
	usr.sbin/sysinst/run.c: revisions 1.4, 1.5
If we launch a program with RUN_SILENT, give it more than two seconds to
run before we create an output window. On a swapping VAX it can take
seriously longer, and we get interactive status display even if the program
did not produce any error output otherwise.
--
Revise previous: with RUN_SILENT there is never a good reason to create
the output window unless there is actually output to display.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 30 10:10:22 2014 UTC (8 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Revise previous: with RUN_SILENT there is never a good reason to create
the output window unless there is actually output to display.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 29 14:43:06 2014 UTC (8 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

If we launch a program with RUN_SILENT, give it more than two seconds to
run before we create an output window. On a swapping VAX it can take
seriously longer, and we get interactive status display even if the program
did not produce any error output otherwise.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 14 16:35:20 2014 UTC (8 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Don't use asctime(localtime(time_t *)) because this is really ctime(time_t *)
and not checking the result of localtime can lead to tears.
Add a safectime() that always returns a good string, and add some debugging
so that we can see if there is indeed something wrong in the new libc time
code.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:14 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.2.6.1: +703 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 07:00:24 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2.2.1: +703 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Rebase.

Revision 1.2.6.1, Sun Aug 3 16:09:38 2014 UTC (8 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.2: +0 -703 lines
FILE REMOVED

file run.c was added on branch tls-maxphys on 2014-08-20 00:05:14 +0000

Revision 1.2.2.1, Sun Aug 3 16:09:38 2014 UTC (8 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2: +0 -703 lines
FILE REMOVED

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

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 3 16:09:38 2014 UTC (8 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: tls-maxphys, tls-earlyentropy, netbsd-7
Changes since 1.1: +9 -2 lines
Diff to previous 1.1 (colored)

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

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

Move sysinst sources to usr.sbin.

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

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

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

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




CVSweb <webmaster@jp.NetBSD.org>