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
mrg
24939a4846
don't use -Os on sparc64, it causes a ICE in gcc 2.95.2.
2000-12-27 08:12:01 +00:00
mrg
8da46e6897
de-__P()-ify
2000-12-22 10:12:12 +00:00
mrg
c5e19f6801
s/sparc/sparc64/ in some comments.
2000-12-22 04:43:54 +00:00
jdc
dab8e56b56
Don't output the termcap `cl' sequence.
...
XXX: do we really need to home the cursor here?
XXX: should we do clearok() instead or in addition?
2000-12-21 21:42:00 +00:00
hubertf
db8b15ae28
A sane distrib doesn't only need etc.tgz and kern.tgz, but also base.tgz.
...
Check for it!
Fixes PR 11634 by Wayne Berke <wayber@rcn.com>
2000-12-18 09:39:50 +00:00
hubertf
55e87ae551
Do not tell the user we've newfs'd his disks when upgrading.
...
May safe him a heart attack or two.
Fixes PR 9655 and some others.
2000-12-18 09:18:46 +00:00
hubertf
3df3bcf30b
Fix typo in calculation of partition's end (s/mbrp_size/mbrp_start/).
...
Fix reported in PR 7556 by Arne Juul <arnej@math.ntnu.no>
2000-12-18 04:52:52 +00:00
jmc
927b45cf65
After confirming the network setup should be saved, make sure dhcp is enabled if it was used on install
2000-12-17 22:55:53 +00:00
jmc
c111d88861
Add makefile goo so it'll properly rebuild the menu files if osrelease.sh changed
2000-12-17 09:22:47 +00:00
mrg
900169f00c
minor KNF.
2000-12-06 04:53:37 +00:00
wiz
8ebc8eafe0
Fix typos in comments.
2000-12-04 22:47:02 +00:00
wiz
a6e6452673
Remove some items I believe fixed/done. Coreect speilnk.
2000-12-04 20:27:02 +00:00
minoura
fa875fd970
Welcome message `If you booted from a floppy,...' is somewhat port-specific
...
instruction.
Create md_hello message and move that message to it.
Port-maintainers: please reflect the reality of your port.
Someone who can write french: please correct *.fr catalogue.
2000-12-03 01:54:46 +00:00
tv
756cce5b1b
Don't blindly write block 0 -- try reading it in, zero only the Sun label
...
section, and then write it back. This allows other boot installers to work
*before* running mksunbootcd (saving space from rounding in some cases).
2000-11-29 19:47:31 +00:00
ad
57ea462da2
lsu -> ld, by popular request.
2000-11-26 17:44:02 +00:00
simonb
c4a144e6ed
Close list_file after we're finished with it.
2000-11-26 01:11:26 +00:00
fvdl
c13641ea40
NULL for the highest split set file for the xmisc set is wrong, make it "aa"
...
Also, correct the xserver split set extension.
2000-11-23 16:26:50 +00:00
abs
1d655fabae
Try to upgrade a.out libraries. Currently just cut & pasted from the i386 port
2000-11-16 15:02:46 +00:00
tv
c6610a4af0
Back out 1.75 by request of fvdl.
2000-11-15 20:07:39 +00:00
hubertf
9303852347
All sysinst ports automatically set rc_configured=YES now, so delete
...
that text after install/upgrade. Hint at disabling/enabling services
in /etc/rc.conf though.
Noted in PR 11499 by Peter Seebach <seebs@plethora.net>
2000-11-14 23:03:35 +00:00
fvdl
3f3dfb39a3
For filesystem checks, skip any 'noauto' entries. Avoids problems
...
when upgrading a system that has a 'noauto' entry for a floppy
or CD device that has type ffs.
2000-11-14 13:27:49 +00:00
fvdl
3c20e1e72d
Add a message saying that a /emul or /emul/aout symlink has been renamed
...
to .old.
2000-11-12 15:33:26 +00:00
fvdl
f86b12aaef
Handle existing /emul symlink better when it points to nothing; same
...
with /emul/aout. Prevents unexpected sudden exits because during
aout lib move in upgrade.
2000-11-12 15:28:48 +00:00
fvdl
350e232678
Wrap checking the BOOTMODEL env var in DEBUG, it was intended for that
...
purpose originally, and this check only messes up selection of the
right kernel for the laptop install set.
2000-11-07 01:14:22 +00:00
fvdl
c0ffae8285
Oops, add missing space after '-c 3'.
2000-10-31 16:02:06 +00:00
fvdl
ddfa644677
-c 2 -> -c 3
2000-10-31 11:19:50 +00:00
fvdl
ef28de5011
fsck -c -> fsck -c 2
2000-10-31 10:41:43 +00:00
pk
03013ae336
umount(8) supporting local filesystems only; avoids pulling in tons
...
of networking functions.
2000-10-30 22:58:02 +00:00
fvdl
448f90f01b
Add a note about password files in the message about what to do minimally
...
after an upgrade; don't want people to end up multi-user with empty
root passwords.
2000-10-27 12:44:07 +00:00
fvdl
14506ffd18
Re-add xmisc set to menu file, which I accidentally deleted earlier.
...
From hubertf.
2000-10-27 07:49:14 +00:00
fvdl
02687a51bd
Handle moving a.out shared libraries for X as well.
2000-10-26 23:29:25 +00:00
minoura
807d7f0327
swapon when the system memory is smaller than 6MB.
2000-10-25 14:48:35 +00:00
fvdl
44c5ba4a36
Print an install complete message; this got lost when I changed things
...
to move this to after zetting the time zone.
2000-10-22 22:57:04 +00:00
fvdl
ec11b62dc9
Handle split sets for special kernel sets (-laptop and -tiny) correctly.
2000-10-20 14:40:25 +00:00
ad
9e42854f7b
Allow install on lsu disks.
2000-10-19 15:09:11 +00:00
ad
d53e399d91
ca -> lsu
2000-10-19 15:02:38 +00:00
pk
9182a99111
We need <fcntl.h>
2000-10-19 14:42:57 +00:00
tv
4e6c453a69
Make this compile with the updated dhcp.
2000-10-18 18:26:00 +00:00
fvdl
faf5b4b7d0
Adapt for format change in mbr editing header; it now always displays
...
the whole partition, and the total disksize.
2000-10-17 19:52:13 +00:00
fvdl
ead80bd575
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.
2000-10-17 19:50:39 +00:00
fvdl
8a696e8ea8
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.
2000-10-17 19:44:28 +00:00
fvdl
30b8888d4a
* 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.
2000-10-11 23:47:55 +00:00
fvdl
3fd1dc7ed3
Create the disktab file directly, no need to waste precious inodes/space
...
in ramdisks with disktab.preinstall.
2000-10-11 22:58:17 +00:00
fvdl
38dbc727ef
Don't abort when trying to remove a directory marked as obsolete that does
...
not exist.
2000-10-11 11:10:46 +00:00
fvdl
16d465114d
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.
2000-10-11 11:10:11 +00:00
fvdl
57ffac419f
Add message for a.out library move failure case.
2000-10-11 11:06:47 +00:00
fvdl
d8be7da3a1
Externalize concat_paths, it is used by arch/i386/md.c now. Add
...
target_realpath prototype.
2000-10-11 11:06:03 +00:00