Commit Graph

529 Commits

Author SHA1 Message Date
he
6e75ae6383 Complete initializers, and correctly order "static" relative to "const",
i.e. at the front.
2006-10-23 19:45:56 +00:00
pavel
529cc0c586 Apply patch from Hauke Fath to solve port-mac68k/29049: sysinst did not
newfs and mount the target filesystem.

In Hauke's words: "Basically, the mac68k md_make_bsd_partitions() function,
which replaces the MI make_bsd_partitions() because the mac68k port does not
have an on-disk BSD disklabel, neglected to sign up BSD partitions for
newfs'ing and mounting by setting the appropriate flags."

Revert the commit to the install notes (rev. 1.14 of notes/mac68k/prep) which
added a warning and a workaround for this bug, as requested by hubertf in the
PR log.
2006-10-12 12:46:18 +00:00
hubertf
136960985f Fix previous - no need to prepend target-root in chroot 2006-09-04 00:46:13 +00:00
hubertf
5bc64783d6 Make md_cleanup_install() more uniform across platforms. 2006-09-04 00:11:00 +00:00
hubertf
c66460047c be consistent in md_cleanup_install():
use the sed(1) from the newly installed system here too
(is getting rid of sed from the install ramdisk/... worthwhile?)
2006-09-04 00:07:27 +00:00
hubertf
454b2c7a71 Enable rc_configured=yes, to be consistent with our other ports.
Also do the same cleanup.
2006-09-03 10:54:41 +00:00
martin
e5b60f45a3 Do not install bootblocks twice. Suggested by Hubert Feyrer. 2006-08-19 22:41:27 +00:00
hubertf
a441eeeff1 Add whitespace to make more readable. No functional change. 2006-08-11 13:39:44 +00:00
hubertf
f4ff510f74 Offer to install GENERIC.MP, too, as we build & ship it. 2006-08-11 13:35:54 +00:00
mhitch
4b2f6edec3 gcc4 fixes: a lot of char * signed/unsigned mismatches. 2006-08-04 05:30:13 +00:00
bjh21
5b69310abf Merge in changes from acorn32 version, which should fix some build failures
with GCC 4.
2006-07-30 16:46:49 +00:00
christos
29c1a4c22e GCC4 fixes from Mike Pumford 2006-06-25 21:32:39 +00:00
garbled
2ed4156891 Add conv=sync so it doesn't "fail" when doing the dd. 2006-05-10 18:22:28 +00:00
garbled
8f74d51698 Prep doesn't really need bad144, and it doesn't even ship with it on the
floppy, so yank the code that calls it from md.c
2006-05-09 20:52:33 +00:00
he
1b9747a00f Fix an overlooked addition of an empty md_post_extract(). 2006-04-06 17:18:11 +00:00
garbled
cd8efba238 Small KNF fix 2006-04-05 17:01:21 +00:00
garbled
85af130714 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.
2006-04-05 16:55:01 +00:00
shige
a6d74476ad Added evbmips instkernel and sysinst. 2006-03-30 15:45:42 +00:00
tsutsui
f5040e78bb - Create an independent "boot" partition for bootloader rather than
marking a raw partition as "boot".
- Adjust default partition size for /usr so that extracted files
  won't flood on the default full installation.
2006-03-21 06:18:29 +00:00
tsutsui
f543e0f10e Some KNF adn ANSIfy. 2006-03-21 02:06:31 +00:00
tsutsui
dc8b8e8df8 Some KNF. 2006-03-21 02:05:33 +00:00
tsutsui
ec2e473d63 8 -> MAXPARTITIONS 2006-03-21 01:33:49 +00:00
tsutsui
bbcd8e938f Invoke MI installboot(8) directly rather than via a wrap script. 2006-03-21 01:32:19 +00:00
dsl
b051d89585 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.
2006-02-26 10:25:52 +00:00
dsl
b68f172f6d Delete a load of messages that aren't used in the current code, and that
I don't suppose will be used soon.
2006-02-24 22:13:16 +00:00
dsl
aab3fb05a5 Minor message change 2006-01-15 20:37:57 +00:00
dsl
e5231f4b40 Warp the cursor to the baud-rate entry after a com<n> entry is selected.
Allow a baud rate of 0 to be selected - uses speed set by bios.
2006-01-15 20:37:01 +00:00
dsl
9fc0a7f722 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...
2006-01-12 22:02:44 +00:00
tsutsui
756481fd55 First cut at sysinst support for ews4800mips. 2006-01-09 10:03:51 +00:00
tsutsui
751d67ef2a Fix pasto in comments. 2006-01-08 18:48:25 +00:00
rjs
1276ee68fc Fix kernel names. 2005-12-30 11:41:43 +00:00
rjs
447c4d25c9 Initial import of md files for hpcarm. Copied from hpcmips. 2005-12-30 11:40:23 +00:00
xtraeme
fff95ff31d Misc grammar and typos fixes. 2005-10-06 06:46:03 +00:00
shige
18dc3d6415 Break infinite-loop at md_check_partitions. 2005-10-02 22:42:09 +00:00
jdarrow
95cef3f6e6 Change default countdown time to 5 seconds to match i386 bootblock
defaults in sys/arch/i386/stand/lib/boot_params.S

Fixes PR install/30422 by me.
2005-09-13 23:43:22 +00:00
dsl
297a2f78a6 Fix a couple of md translations that seem to have got awry. 2005-09-11 08:39:08 +00:00
he
7f48103418 Provide translaqtion for set_kernel_3 via cut+paste from #2. 2005-09-11 08:03:05 +00:00
he
b80a4384df Provide a translation for set_kernel_6 as well (cut+paste from #5). 2005-09-10 22:03:22 +00:00
he
e3c135df31 Provide a translation for set_kernel_2, copied from set_kernel_1. 2005-09-10 20:00:02 +00:00
xtraeme
4674d5a41a 2nd stage of Spanish language translation (grammar fixes and typos),
I think it's enough for now.
2005-08-26 16:32:31 +00:00
xtraeme
40fa46d39d Spanish menus translation, contributed by Ivan-Benjamin Garcia Tora
with modifications by me.

Needs some review for typos maybe.
2005-08-26 15:44:43 +00:00
chris
3d4b482c1f As requested in PR port-cats/30460 add support for GENERIC.ABLE kernel to
sysinst, and also add the ABLE install kernel to the generated release
kernels.
2005-08-07 00:21:38 +00:00
xtraeme
76bb6413ee If there's bootxx_lfsv2 on the ramdisk, we could use LFS for the
root filesystem, add the missing bit for that.
2005-07-09 15:05:13 +00:00
skrll
36d83be9a6 An xserver set is created - allow sysinst to handle it. 2005-06-24 14:52:48 +00:00
chs
b944888e86 install the bootloader in the root of the target fs. 2005-06-05 18:55:30 +00:00
chs
2438f5c3ad add hp700 support. 2005-05-14 14:46:21 +00:00
bouyer
3e8f0992c8 Integrate Xen to the i386 build process:
- Add xen devices to MAKEDEV
- Add Xen kernels to list of kernel to build
- Add INSTALL_XENU to the install kernels
- introduce the xbd disk devices to sysinst.

This will add 3 kernels to the i386 release:
XEN0 for use as a Xen domain0 kernel
XENU for use on a non-privileged domain
INSTALL_XENU to install NetBSD on a non-privileged domain virtual disk.
2005-03-11 20:55:10 +00:00
dsl
c2abea4a9e Move definition od SRCS into global Makefile.inc (crunchgen no longer needs
to determine the list of source files).
Add -DWSKBD to amd64 (probably should go into many others as well)
2005-02-19 17:00:38 +00:00
joff
68490c8820 Add TS7200 kernel for sysinst 2004-12-28 17:56:40 +00:00
dsl
8c170ab578 Stop md_pre_disklabel falling off its bottom. 2004-11-14 18:36:11 +00:00