Commit Graph

28 Commits

Author SHA1 Message Date
lukem d376b4bd66 disable pmax miniroot for now; it won't build due to objcopy-crunchide issues 2002-07-23 11:08:28 +00:00
lukem ff34de85f0 use usr/sbin/installboot not usr/mdec/installboot 2002-05-27 11:02:21 +00:00
lukem 094e12e661 consistently use "${INSTALLBOOT} -v ..." 2002-05-14 06:21:20 +00:00
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
tv 3522143339 The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy).  So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
2002-04-23 19:53:10 +00:00
lukem 983821fd73 - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
2002-04-12 03:21:09 +00:00
lukem 33fb8521d4 Switch from "${DESTDIR}/usr/mdec/installboot" to "${INSTALLBOOT} -m ${MACHINE}"
so now at least that step is cross-buildable.
2002-04-03 06:38:26 +00:00
lukem e0f433e649 ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
2002-04-01 12:16:11 +00:00
shin 879cbb5df4 fix IMAGEENDIAN (s/be/le/). 2002-03-23 03:22:25 +00:00
lukem a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
simonb b0ad38ac3d Match current reality, but not used at the moment. 2000-01-06 03:53:47 +00:00
simonb 78ce8ea77d s/boot/boot.pmax/ 2000-01-03 21:59:12 +00:00
simonb 57d1fda0d9 Add /usr/mdec/installboot. 1999-12-28 10:46:55 +00:00
simonb 2e3036aadb Remove update from the miniroot lists. 1999-11-23 23:16:02 +00:00
bouyer 90d35fd201 Generate the /dist/obsolete_* files used by sysinst from the obsolete lists
in sets/lists/*. The sript sets/makeobsolete concatenates the mi and md
obsolete list files all or a specified set and dumps it in a file, in a
subdir specified on the command line (inspired from the maketar and makeflist
files).
Use this for all the sysinst-based installs.
Untested for non-i386, and the md obsolete list may be wrong or incomplete.
Each postmaster is supposed to check this on his port.
1999-06-05 20:17:38 +00:00
ad 89b746a40e Merge long lost rcons-color entry. 1999-05-24 20:39:33 +00:00
simonb 15fcd84c71 Define the disklabel prototype as a conditionally set variable so that
it can be overriden.
1999-04-16 13:31:40 +00:00
simonb 5849ceb510 Install second-stage bootblock. 1999-04-16 13:28:22 +00:00
is 2bf4692b0e Add explicit filesystem endianness, to help cross-building releases. 1999-03-15 20:54:54 +00:00
itohy 29b70cd215 Use G0 (not G1) for the alternative character set (DEC line graphics).
Delete "\E)0" sequences and make ":as=\E(0:ae=\E(B:"
(some terminals use "1" for "0").
This change makes it easy to use 8-bit encodings, such as ISO8859, EUC, etc.
PR #7126.
1999-03-13 09:03:28 +00:00
simonb 50faa9008e Undo previous after thinking about it a bit more. I did say it was only
a temporary change :)
1998-11-18 12:41:18 +00:00
simonb 743ebc7bbe Add a symlink for /bin/tar. From the comments in the file:
# XXX temporary extra (for 1.3.X).  We need "tar" in the path but not
# under /usr until we copy the contents of /usr.install into /usr.
# Maybe a better idea is to use pax, which lives in /bin anyway...
# Should go away soon in whatever will become 1.4.

Someone shoot me if I don't remove this soon ;>)
1998-11-18 11:22:35 +00:00
simonb 8144a979c1 Add the small netboot kernel (nfsnetbsd.ecoff).
Copy .profile to tmp/.hdprofile for sysinst.
1998-11-18 11:01:01 +00:00
jonathan 0e92ecd82d Copy disktab profile to/etc for diskimage. (no ramdisk symlinks via /tmp). 1998-11-17 06:58:24 +00:00
jonathan 2c1dcc2bd0 Add the old-pmax-root usr.install/{bin,sbin} with same symlinks as /usr,
so that install from a miniroot image in / can find /usr/bin/{tar,ftp}
after mounting the target /usr over /usr.
1998-11-17 05:07:18 +00:00
jonathan bcbe1e5b31 Make crunched equivalent of pmax root diskimage.
Makefile.inc: build `miniroot' [sic]
	list: list of files to  crunch in
	dot.profile: start up sysinst on boot.
	diskimage.label.proto:  write diskimage label so kernel recomputes
				label at boot from SCSI geometry..
1998-11-17 02:38:17 +00:00
jonathan 73cb26cbd6 Installation termcap file with entries for rcons on pmax framebuffers. 1997-11-03 10:57:02 +00:00