Commit Graph

38 Commits

Author SHA1 Message Date
lukem b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
thorpej 66f972ab70 Need byteorder.c for loadfile_elf*.c 2001-10-31 21:39:02 +00:00
thorpej 4810d73020 Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
objects.
2001-10-31 01:51:42 +00:00
jmc 60263432a6 Add the fact that SRCS depends on machine. This way the link is always created
Otherwise trying to do make installboot.o will fail
2001-10-04 04:15:17 +00:00
jmc 806aee01eb Don't force CFLAGS to -g for all builds. 2001-09-30 23:02:25 +00:00
perry c3748d9175 b*()->mem*() 2001-07-07 22:57:57 +00:00
mycroft f456106d03 Fix the symlink hack. 2000-01-23 16:45:54 +00:00
mycroft 295c3f303e Fix the symlink hack. 2000-01-23 16:44:18 +00:00
drochner 353a512c22 create "machine" symlink 1999-10-25 20:27:48 +00:00
drochner 2c0e7cf113 allow to set boot timeout and password, following PR port-i386/8196
by Stephan Thesing
1999-09-10 16:45:27 +00:00
drochner 3e60c834ed install /boot -r-------- for security reasons 1999-09-10 16:41:10 +00:00
christos c5ec77e01b use new loadfile 1999-04-28 09:14:22 +00:00
sommerfe 82f8a7dee9 Turn off biosboot_ser until makefile issues get worked out.. 1999-03-14 05:50:38 +00:00
dean 6dc3d1eae8 Put back bsd.own.mk and added comment explaining why it must be included. 1999-02-14 02:56:19 +00:00
dean c372a9b915 Remove bsd.own.mk include 1999-02-12 23:48:46 +00:00
cjs 8a3ac60bb8 Change NOMAN to MKMAN. 1999-02-12 05:15:35 +00:00
christos 07b1febfb8 - Use MARK_ENTRY instead of MARK_START.
- ELF changes. Now an ELF installboot installs ELF bootblocks properly.
1999-01-30 17:45:42 +00:00
christos 7a7391de52 Simplify by using new feature of getting the load size. 1999-01-29 18:43:11 +00:00
christos 1e39fefac4 Remove -g accidental addition 1999-01-29 18:41:50 +00:00
christos 74d863263c Use loadfile() to load the bootblocks, so that we are going to be able
eventually to load boot blocks with this. Unfortunately the elf assembler
chokes currently on our bootblocks, so the ELF portion does not work (yet).
1999-01-28 22:47:25 +00:00
he 30cc2d95cb Actually handle small boot blocks (<=15 blocks) correctly in the ffs case. 1999-01-17 18:16:16 +00:00
he 4155434b1c Fix uninitialized `inode' variable in save_ffs(), fixing port-i386/6682. 1999-01-16 18:26:47 +00:00
kleink 657d577aeb Pull in <errno.h> instead of <sys/errno.h> for declaration of errno. 1999-01-11 22:21:30 +00:00
he 2cfee96f35 Implement -b option, similar to on alpha, required for ustar floppy support. 1998-12-19 19:17:23 +00:00
drochner 5e4c58a7d0 Fix incomplete variable renaming in the last commit.
Found by taca@sky.yamashina.kyoto.jp (Takahiro Kambe) - PR port-i386/6087.
1998-09-02 08:24:51 +00:00
drochner fa0aee147e Use the new mkdtemp() instead of mktemp();mkdir().
Various cleanups (and typecasts) to get lint quiet.
Add remaining prototypes, enable -Wmissing-prototypes -Wstrict-prototypes.
1998-07-28 20:10:53 +00:00
kleink e6be56ae0b Need <stdlib.h> for mktemp() prototype. 1998-06-01 14:05:35 +00:00
cgd 9da165424c allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:57:00 +00:00
fvdl 0485953099 Make this compile after the lite2 merge. 1998-03-01 13:22:55 +00:00
perry 015e898c02 RCSID Police. 1998-01-05 07:02:46 +00:00
lukem 3e8e744696 getopt returns -1 not EOF 1997-11-01 06:49:14 +00:00
drochner 1a0708ed1d -Print debug messages to stderr instead of stdout to avoid mix with
warn() output.
-Try to rename an existing "/boot" before writing a new one. This allows
 to restore the old boot if an error occurs later.
1997-07-21 18:04:35 +00:00
mrg e179766b04 move man pages into share/man. 1997-06-22 05:58:25 +00:00
drochner cc7a41e5d2 Weaken the restrictions on the device file name a bit: /boot can
now be installed on any partition.
Allow PRIM_LOADSZ to be set in the Makefile.
This together allows to make bootable 720k floppys.
closes PR port-i386/3751
1997-06-19 11:46:44 +00:00
drochner 444a854ad2 Separate access to filesystem and access to raw device, mount
device only if needed. This allows to work on unmounted disks in
securelevel 1.
1997-06-13 22:14:58 +00:00
thorpej 5bd8a86d23 Link installboot statically so that it can be used on install floppies
and in emergency situations.
1997-03-22 00:16:56 +00:00
perry 816bb96145 Initial import of new boot code, created by Matthias Drochner with a
little hacking by me. This isn't strictly identical to his 920312
release -- I've hacked it a bit -- but since we are taking over change
control it doesn't matter much.
1997-03-14 02:40:32 +00:00