Commit Graph

46 Commits

Author SHA1 Message Date
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
thorpej 1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
thorpej 22a7a11f35 Use ${PRINTOBJDIR}. 2002-03-05 20:41:28 +00:00
shiba c6fac1444f Clean up make release procedure. But just make through
in distrib/mac68k/miniroot.

Reviewed by fredb, briggs
2002-03-04 16:43:06 +00:00
lukem 811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +00:00
wormey cef7fb637b Fix from Takeshi Shibagaki (ie9t-sbgk@asahi-net.or.jp):
(effect of)  fixed a bug when it makes install image.
(reason for) We cannot apply to newfs no disklabel device, so must
             write temporary disklabel. refer to i386.
2002-02-05 23:10:02 +00:00
wormey cf2b6407b6 mdsetimage doesn't have a -T option; remove it 2002-02-03 19:59:30 +00:00
jmc 4d6ad24166 Convert to using ${MDSETIMAGE}.
Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
2001-10-21 23:23:19 +00:00
jmc a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
enami 652855a0c7 Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@netbsd.org.
2001-10-10 05:13:51 +00:00
garbled 83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
simonb cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
briggs 07967289f9 Needs to be linked with -lbz2 now. 2000-08-09 02:07:47 +00:00
matt 948f64e88f .include <bsd.own.mk> for BSDSRCDIR 2000-06-17 03:16:54 +00:00
cgd c85d2eb42b sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
2000-06-14 22:52:37 +00:00
cgd db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
fredb 0a7043068f Expand NOTESOBJDIR only once. 2000-06-11 11:06:24 +00:00
thorpej b871a87cc8 Need /etc/netconfig. 2000-06-07 20:23:19 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
fredb 3ff49ae387 Make the notes reachover more robust, and only build INSTALL.more, since
that's the only one we use.
2000-03-30 04:33:57 +00:00
itojun b20e217bb8 use x_ping for ping, remove reference to -lipsec.
(sorry if you have specific need for "real" ping)
2000-02-03 19:25:16 +00:00
tsutsui 1bf52b391d rename (revert) memory disk filename /dev/mdX -> /dev/mdXa 2000-01-21 12:32:54 +00:00
tsutsui e6824489b4 Fix root device name md0a -> md0 2000-01-10 05:03:24 +00:00
fredb f96ec528a4 Changes to mac68k instkernel
- - Don't descend into miniroot. This permits "make clean" and "make obj"
    from within /usr/src/distrib to succeed.
- - Don't strip the install kernel--I need this to boot.
- - Add release target, for use by "make release" in top level src dir.
- - Ramdisk now builds in "notes" dir before reaching into it.
- - Ramdisk unconfigures vnd when make is interrupted, by Ctl-C, for example.
    It would be nice to unconfigure the vnd device if the make fails for any
    reason, but I can't figure out how to do that.
1999-12-17 20:48:06 +00:00
simonb 2e3036aadb Remove update from the miniroot lists. 1999-11-23 23:16:02 +00:00
simonb 71efc75854 Don't start update. 1999-11-23 22:43:20 +00:00
simonb 1b411c7a86 Remove update from all ramdisks. 1999-11-23 22:14:22 +00:00
cgd 7aa73e55cb after checking and setting DONEPROFILE, export it so that children of the
shell (e.g.  programs and shells invoked via sysinst) don't try to run
sysinst again.  Fixes PR#7805.
1999-06-26 06:12:49 +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
tron 2f3417d997 Fix listfiles to handle object directories. Patches supplied by
Izumi Tsutsui in PR misc/7628.
1999-05-23 07:31:19 +00:00
veego dfa799a037 Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
1999-05-11 20:46:58 +00:00
ender e83f28e8f9 NetBSD/mac68k installation kernel for use with sysinst.
Based on NetBSD/alpha instkernel.
1999-03-26 08:34:36 +00:00
is 2bf4692b0e Add explicit filesystem endianness, to help cross-building releases. 1999-03-15 20:54:54 +00:00
perry 3891a64da7 Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito) 1998-01-09 21:51:25 +00:00
jtc c8f77c0b8b Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
scottr 9aa1556f94 Add a termcap file (mostly cribbed from the sun3 miniroot), and use it. 1997-09-23 06:12:21 +00:00
scottr 16983d9f2f New and improved miniroot, suitable for embedding into kernels. 1997-09-22 23:37:19 +00:00
scottr eb7d37446f Remove obsolete miniroot configuration. 1997-09-22 23:37:08 +00:00
thorpej ed4c805216 Update for changes to vnconfig(8). 1997-06-23 21:29:50 +00:00
lukem 6709a268be Don't hardcode in the current release information; generate it
automatically on the fly, by using
	`sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s`
1997-05-10 15:42:53 +00:00
veego d27d7804f7 Bump the REV to 12D to get in sync with param.h and newvers.sh.
This REALLY needs to be in ONE file and not in 11 files.
1997-03-16 11:26:15 +00:00
briggs 41ae734820 ln mount_ffs ffs--forgot to check this in ages ago... 1995-09-30 20:00:47 +00:00
briggs e1fe5a9919 Add mount_ffs. 1995-08-13 13:21:07 +00:00
briggs 96d3bc9bac Add some distribution stuff. There's a lot left to be done. This is
pieced together from the Atari and i386 stuff and builds a 1MB image
suitable for use with RB_MINIROOT...
1995-07-18 04:12:51 +00:00