Commit Graph

1248 Commits

Author SHA1 Message Date
hubertf b7be24d378 Fix two oversights from last update 2006-09-04 22:03:50 +00:00
hubertf dd0080d52a Update with changes by Gilbert Fernandes <gilboooo@gmail.com>,
review and some updates from bouyer@
2006-09-04 22:00:52 +00:00
hubertf 46f83bb806 Update, submitted by Marco <marcotrillo@gmail.com>
OK'd by xtraeme@
2006-09-04 21:46:32 +00:00
hubertf 042bbb2bb1 * Add Minimal (core) installation, consisting of a kernel, base + etc
* Fixup all of the German translations.
2006-09-04 02:20:40 +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 8346ac144d Use sed(1) from the newly installed system instead of from the
miniroot/ramdisk -- which is not present on some platforms (hp300, mvme68k,
x68k), according to comments in their md_cleanup_install() functions.
2006-09-03 23:54:02 +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
sekiya 221525774f XNS is no more; nuke reference to af_ns.c 2006-08-27 06:40:43 +00:00
martin e5b60f45a3 Do not install bootblocks twice. Suggested by Hubert Feyrer. 2006-08-19 22:41:27 +00:00
martin 914384b438 The "request" arg of ioctl(2) is unsigned long, not int!
Sign extended requests do not work on archs with sizeof(long) > sizeof(int).
2006-08-19 21:18:40 +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
martin 9d93195858 Fix truncated message and one inconsistency, fixes parts of
PR bin/34048.
2006-07-21 14:04:26 +00:00
jnemeth cf6a192ebc CID 2970: don't close a file that isn't open 2006-07-18 12:05:03 +00:00
christos 29c1a4c22e GCC4 fixes from Mike Pumford 2006-06-25 21:32:39 +00:00
mrg 17c4e47817 need <stdlib.h> for exit(3) prototype. 2006-06-24 05:12:13 +00:00
dsl 6d35173b6d When we read 'last mounted' from an FFSv2 superblock set the flag to
default the partition to FFSv2 (instead of FFSv1).
This makes update installs add the correct bootstrap code.
Fixes PR/33682 and PR/32636 (and 33228 which has alrady been closed
as a duplicate of 32636).
2006-06-10 14:48:46 +00:00
mrg f599351ef6 quieten GCC uninitialise variable warnings. 2006-05-18 18:45:48 +00:00
mrg 2a25c77f5b turn on -Wno-pointer-sign for label.c. 2006-05-17 05:24:25 +00:00
dogcow 4918849728 pointer signedness comparison fixes 2006-05-16 00:16:59 +00:00
dsl 2073f7f26c Fix use of uninitialised variable.
I think the code it correct - but since it is only relevant when setting
the default boot partition (for mbr_bootsel) to an extended partition
it probably doesn't matter too often!
2006-05-12 21:22:34 +00:00
he c4447252c1 Appease gcc 3.3.3 once more, marked with /* -Wuninitialized [many] */,
as it fixes build problem for many archs.
2006-05-12 13:31:56 +00:00
mrg e8a328732c include <bsd.own.mk> before <bsd.sys.mk>. 2006-05-11 00:15:17 +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
rpaulo 96a4817dfb Remove -DUSE_RFC3542. 2006-05-07 16:01:21 +00:00
rpaulo 75f21410a7 Enable RFC3542. 2006-05-06 00:02:48 +00:00
snj a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
hubertf 6e0ce16052 Call the partition type 'type' instead of 'kind'.
Less confusing, and in sync with common terminology.

Found while walking someone through the installation on IRCnet #NetBSD...
2006-04-23 23:09:48 +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 ac97411677 Use a menu for 'install from floppy' questions.
Ask whether the user wants to delete the fetched files (ftp and floppy) after
install.  Delete after sucessful install of each file.
Kill bufferred tty input in a couple of places when typeahead will be wrong.
Code added to run.c to do a 'cd' in the child, unused (so far).
2006-02-25 20:21:00 +00:00
dsl cd974d281d target_realpath() is only used by the code that updates libraries from
a.out to elf - so move it into aout2elf.c
I'm not even sure this code is important at all any more.
2006-02-25 13:29:34 +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 1256423cda Put the name of the system/directory (etc) into the menus when asking
for the location of the source of the sets.
Put the menu in the place on the screen that used to contian a display
of what was selected.
Now these screen work the same way as the disk partitioning ones.
Leaves more screen real-estate for more questions.
2006-02-23 21:44:56 +00:00
dsl 35b84990cc Remove the notarfile_ok message - is it no longer needed.
We don't need to have dump_lfs to get lfs support.
(i386 will need 100k of stuff deleted to get newfs_lfs and fsck_lfs added)
2006-01-16 21:47:55 +00:00
dsl afd41ad77a Show the number of sets installed and the next set above the menu that
asks you where to load stuff from.
Initialise stuff so that 'install default set of sets' works.
Fix install loop, removing infinite loop if/when first kernel not selected.
2006-01-15 20:41:00 +00:00
dsl aab3fb05a5 Minor message change 2006-01-15 20:37:57 +00:00