Commit Graph

723 Commits

Author SHA1 Message Date
ad
f14b71f762 Remember to free strdup()'ed string. 2002-04-05 00:12:14 +00:00
ad
6fcf2c1799 Allow the password cipher to be chosen at install time. XXX Not tested for
real yet, and the French files need updating.
2002-04-04 14:26:43 +00:00
thorpej
875238901e Garbage-collect the Filecore stuff, and make /usr the "d" partition
(RAW_PART == "c").
2002-04-02 17:46:20 +00:00
thorpej
c7eb256693 Add aout2elf upgrade support. 2002-04-02 17:02:54 +00:00
thorpej
556ff2a401 The default kernel for Shark is now GENERIC. 2002-03-31 02:14:06 +00:00
matt
1da9c3f8d0 Add support for auto2elf UPGRADE support. 2002-03-30 21:55:11 +00:00
shin
73fb891f58 fix warning message. kern.tgz does not exits. 2002-03-29 01:03:14 +00:00
lukem
484f8db2eb - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem
25c4cc30b2 Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem
7e4ac704fe correct comment 2002-03-25 07:39:50 +00:00
scw
26e4cbfa71 sysinst for mvme68k, based mostly on hp300's sysinst.
XXX: French language support needs some attention.
XXX: sysinst needs to be taught how to get sets from tape...
2002-03-24 22:04:04 +00:00
shin
842442d1c5 'kern.tgz' no longer exists.
don't check 'kern.tgz'.
2002-03-23 05:18:23 +00:00
shin
50838200f5 delete kern-TX3922.
sync with i386.
2002-03-23 03:24:34 +00:00
gmcgarry
e111c9550d Allow a complete cylinder for the boot code. 2002-03-17 05:38:11 +00:00
tsutsui
fd7bd6f395 Handle a.out -> ELF library upgrade in md_update().
XXX No French message for emulbackup?
2002-03-16 17:26:55 +00:00
tsutsui
010ec39dbb First cut at sysinst for newsmips. Mostly copied from news68k. 2002-03-16 15:47:56 +00:00
tsutsui
b322db6bea s/macppc/news68k/ in comments. (Oops) 2002-03-16 08:51:07 +00:00
tsutsui
1cdefcf3a6 Fix toggle_getit() args for md_set_no_x().
XXX It seems this should be handled without magic numbers..
2002-03-16 08:42:52 +00:00
tsutsui
72fc77e730 Fix typo in toggle_getit() arg. 2002-03-16 08:40:12 +00:00
tsutsui
fd0eb9f1bd - Use common sysinst/bsddisklabel.c for md_make_bsd_partitions()
- Prepare md_cleanup_install() (XXX not tested)
2002-03-16 08:25:00 +00:00
gmcgarry
b5dfc7ec7b Replace inappropriate comment about floppy with warning about failure
on low-memory machines.
2002-03-15 05:26:37 +00:00
gmcgarry
923c2a794d Remove debugging goo 2002-03-15 05:24:31 +00:00
reinoud
a89c6bc776 Only select the RPC_WSCONS as default to prevent confusion and ending up
with an NC_WSCONS kernel (ahum)
2002-03-12 19:35:55 +00:00
lukem
521853db1d simply VERDEP calculation by using ${_SRC_TOP_} 2002-03-06 22:36:58 +00:00
reinoud
42dd65f262 Implement (/copy) from the generic way the option to keep the existing disk
layout... this was missing for quite some time.
2002-02-15 00:40:23 +00:00
reinoud
7ffc54f047 Fix typo.... 2002-02-14 15:28:31 +00:00
reinoud
b9a12f956d Let the user choose between the other kernels available than just
`GENERIC'.
2002-02-14 15:25:02 +00:00
skrll
4cd25cd0e8 First cut at cats support. 2002-02-11 13:50:18 +00:00
thorpej
3fcc2a907a arm32 -> shark 2002-02-10 19:20:52 +00:00
gmcgarry
3101b620cc hp300 machine-dependent components 2002-02-10 01:14:05 +00:00
lukem
8f25f0f1e6 use ${INSTALL_FILE} as appropriate 2002-02-09 13:49:28 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
mrg
c0099774ec allow the user to continue the install, even if sysinst thinks that the
network has not been configured (due to what ever local condition that
causes ping to fail, or whatever.)  requested by kre in private email
many many months ago.
2002-02-04 14:35:10 +00:00
skrll
03ecb39a1f Don't go mad with the includes... 2002-02-03 22:44:21 +00:00
lukem
a23934fd2a permanently disable opendir.o until its link bugs (on ELF platforms
only?) are sorted out.  speculation (based on some analysis by simonb)
is that it's because fts calls _opendir2 directly, which forces both
the libhack and the libc versions of opendir.o to be linked in.
in any case, there's space saves to be had elsewhere...
2002-02-03 22:39:52 +00:00
skrll
a3a8c36b17 Factor out the aout library moving code for use in other platforms. 2002-02-03 22:21:55 +00:00
wormey
3beb955c29 Add definition to a variable. 2002-02-03 20:04:31 +00:00
lukem
3ec71ac24d replace previous "cut down" getpwent.c with a version which is closer
to libc/gen/getpwent.c.  this version reads from master.passwd instead
of passwd  (thus removing the need to keep both in the mini file system
and having to run pwd_mkdb to generate the latter)
2002-02-02 15:57:54 +00:00
lukem
d50281b041 sync closer to libc version 2002-02-02 15:31:58 +00:00
lukem
6d6c0437fa ansify 2002-02-02 15:08:06 +00:00
reinoud
187b0b9771 Fix typo 2002-01-31 01:56:43 +00:00
reinoud
b97d535232 Create a sysinstall part of our own... not my own choise (maintainability)
but since arm32's gonna go i'll have to.
2002-01-31 00:33:49 +00:00
wiz
f5bbe120f9 Whitespace nit, sort sections, drop trailing dot in SEE ALSO. 2002-01-15 02:31:31 +00:00
wiz
68f1efb939 Use standard headers and sort sections. 2002-01-15 02:31:04 +00:00
wiz
05d870e7f6 Use .Nx for NetBSD, use standard headers, sort sections and SEE ALSO. 2002-01-15 02:30:45 +00:00
atatat
043e7e58b6 Redefine MENUC and MSGC so that non-new-toolchain platforms don't
lose.
2001-12-24 00:47:42 +00:00
mrg
07f129f94a clean up a couple of items. 2001-12-13 14:02:02 +00:00
tv
7ec460046d Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=. 2001-12-12 00:05:09 +00:00
minoura
9d9c30bd81 Correct argument order of installboot. 2001-12-10 03:09:03 +00:00
minoura
7d3c9783e0 Use new boot system. 2001-12-06 04:15:31 +00:00
jhawk
55b9072766 s/change a partition/change partitions/
otherwise it looks like you're being asked to change
partition 'a'.
2001-12-03 06:12:19 +00:00
thorpej
3a4956a5c8 On platforms for which there is more than one kernel set choice,
default the kernel sets to "no", thus requiring that the user
explicitly enable the one that is right for their system.
2001-11-29 23:24:23 +00:00
thorpej
0f33bc5dfa Update for the new kernel set names. 2001-11-29 23:20:56 +00:00
lukem
75033974ce Add strsuftoull.c. Thanks to Launey Thomas for the reminder. 2001-11-27 03:33:08 +00:00
soren
4004df64a0 Add sgimips sysinst support from Scott G. Taylor. 2001-11-20 15:53:22 +00:00
perry
b4109e020f XXX if a color term, do color. horrible kludge. 2001-11-17 02:06:47 +00:00
briggs
7bd7e68996 First cut at sysinst for sandpoint. 2001-10-24 19:43:40 +00:00
hubertf
7dfbd02819 Only turn ttyE[1-9] on, and explicitly leave ttyE0 off, as recommended
in PR #14075. (Since PR #13249 was fixed, we have /dev/console enabled
in /etc/ttys on i386 by default!)
2001-10-15 22:49:36 +00:00
uch
0cbd019fc3 playstation2 support 2001-10-15 16:22:50 +00:00
jmc
0eadbed94d Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels
2001-10-05 01:17:27 +00:00
jdolecek
785b85c14a glue in necessary IBM PS/2 kern set bits 2001-09-13 18:09:19 +00:00
jdolecek
b29d271447 change launch_subwin() to pass failure reason back to caller, add check
pipe(2) call was successful
make launch_subwin(), va_prog_cmdstr() static
2001-09-13 18:07:26 +00:00
simonb
e5592e5454 Use "sd" only in disk_names. 2001-08-26 11:58:47 +00:00
martin
c45ea630d3 Drop ``-Os'' on sparc64 due to toolchain issues.
The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
2001-08-20 12:19:43 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
drochner
22c120406f use dhcp sources from src/dist/dhcp 2001-08-03 14:15:48 +00:00
wiz
41df6b74a9 partiton -> partition 2001-07-26 22:47:34 +00:00
scottr
8f69e0c022 After modifying the Apple Disk Partition Map, use the DIOCGDINFO/DIOCWDINFO
ioctls to refresh the in-core disk label.  From Bob Nestor.
2001-07-14 07:57:16 +00:00
thorpej
a59a7e818b First pass at sysinst for the ARC port. This is a work-in-progress. 2001-07-04 16:56:01 +00:00
hubertf
864848be63 close a .Bl 2001-06-25 23:42:42 +00:00
jdolecek
d5c13f3228 Add 'ed' to list of known/valid disk names 2001-06-16 14:33:08 +00:00
veego
a0106f8d24 Editing Fsize/Bsize caused a segmention fault.
Fix provided by Klaus Klein.
2001-06-16 08:25:20 +00:00
tsutsui
f768d0ff1a Add definitions for weak aliases so that libhack functions
are actually linked instead of libc ones on ELF systems.
Fixes install/13050 and install/13153.
2001-06-15 17:26:50 +00:00
wiz
40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
mrg
79ba24e616 wait a couple of seconds for the interface to go live, before calling ping.
fixes problem noted by gkm@petting-zoo.net where the interface was still
negotiating before ping failed, causing the network config to wrongly failed.
2001-06-07 12:34:55 +00:00
scottr
d4a2f03f78 Add support for FTP through a web proxy (via the ftp_proxy environment
variable).
2001-06-06 23:12:48 +00:00
itojun
d9bcf0f87a use "!rtsol" for IPv6 interface autoconf.
XXX i did not use "!rtsol $int" because there could be problem with
shell script expansion ($int gets expanded too early).
2001-05-07 11:49:52 +00:00
fvdl
58dc4d0703 Use the -2 option for the NFS mount. Install kernels might have
NFS_V2_ONLY to save space, and we're only reading anyway.
2001-04-29 00:22:34 +00:00
kleink
8a9b17ef14 Sync with gethostbyaddr() declaration change in <netdb.h> rev. 1.21;
from <lha@stacken.kth.se> in PR misc/12775.
2001-04-28 14:56:42 +00:00
simonb
6f6fe2f3ad Spell occurred correctly. 2001-04-25 02:33:08 +00:00
itojun
4a360e2310 write out IPv6 configuration to /etc/rc.conf and /etc/ifconfig.* 2001-04-15 11:08:51 +00:00
briggs
ae21cdde67 Make this compile again:
* Remove duplicate definition of "nobiosgeom"
	* Update to "new" edit_mbr() and define a basic md_bios_info().
2001-04-12 03:48:12 +00:00
mellon
871abbab37 Make things a lot smaller. 2001-04-06 18:53:33 +00:00
simonb
20f99292d1 Disable tracing in the distrib client (controlled by #ifdef SMALL in
includes/site.h).
2001-04-06 06:39:54 +00:00
thorpej
c00d041746 Make this work with the new dhcp code -- but the binary is Bigger.
Might require some trimming in the dhcp code itself.
2001-04-06 04:09:55 +00:00
tsutsui
0409a49e97 "NOMAN= yes" -> "MKMAN= no" 2001-03-17 07:10:54 +00:00
dogcow
84e3a863c2 missed a \n after dhclient_flags=\"%s\". 2001-03-06 09:22:40 +00:00
abs
ef51389957 Update the pleasemountroot message to indicate which root needs to be
mounted, and what needs to be done.
2001-02-26 16:32:53 +00:00
cgd
668a4dd967 convert to use getprogname() 2001-02-19 22:39:39 +00:00
wdk
9123196f19 sysinst utility for mipsco port 2001-02-19 07:38:44 +00:00
tsutsui
899149f1e5 Add x_mount, which does not include any MOUNT_PROGS.
Installer does not require all vfs progs and all binaries
are crunched after all.
2001-02-18 06:15:48 +00:00
tsutsui
b5a9f7605f Add x_umount to SUBDIR. 2001-01-31 20:48:11 +00:00
jmc
d264c53a1d Add support for installing serial bootblocks. If biosboot_com0.sym exists
on the ramdisk image then ask which set of bootblocks to install (normal or
serial). If it doesn't exist, just install the normal ones. (small/tiny
images).
2001-01-27 07:34:39 +00:00
jmc
b70406007d Fix various typo's so this compiles. 2001-01-23 01:22:32 +00:00
nonaka
8492c6a9e8 Add prep installer 2001-01-16 16:53:57 +00:00
mrg
1f4e0ae80c fix compile lossage on i386.
move some data & a function from bsddisklabel.c to disks.c.
2001-01-14 23:45:16 +00:00
mrg
d436dd6641 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.
2001-01-14 02:38:13 +00:00
jdc
6b6028160d Use wrefresh(curscr) instead of clearok().
Suggested by Thomas Dickey.
2001-01-07 13:07:57 +00:00
lukem
de983b4cb1 use more standard %ll_ in favour of %q_ 2001-01-04 16:17:14 +00:00
jdc
885c8eaa06 Be paranoid and do a clearok() before we do a refresh(). 2000-12-31 13:08:05 +00:00