lukem
3b9a95c129
remove bin/echo; it's builtin to bin/sh
...
consistency cleanup
2002-04-13 13:42:05 +00:00
lukem
7ef76804ef
unused
2002-04-12 14:01:27 +00:00
lukem
56ea818006
minor NDWO consistency tweak
2002-04-12 13:59:32 +00:00
lukem
84ae590202
whitespace tweak
2002-04-12 13:58:08 +00:00
lukem
0dfdd76021
Makefile.mdset:
...
replace
TARGETS = KERNEL IMAGE [...]
with
MDTARGETS = KERNEL IMAGE FILENAME [...]
If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename
The rest:
Update for new MDTARGETS syntax. In some cases, the kernel
name from the "old" method will be used to override the default.
2002-04-12 13:39:43 +00:00
lukem
627174f862
- don't pull in <bsd.prog.mk> in Makefile.mdset; do that in the caller instead
...
- renamed optional post-strip action variable from ${KERNEL}.post to
netbsd.${KERNEL}.post
2002-04-12 05:33:58 +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
fe5992eead
convert to using distrib/common/Makefile.mdset
2002-04-11 15:34:52 +00:00
scw
4ef994a10e
Don't bother making/installing the kernel symbol table.
2002-04-10 18:56:37 +00:00
lukem
0476c683f0
replace BSDSRCDIR with _SRC_TOP_, since the latter is more likely to
...
be "accurate". document _SRC_TOP_.
2002-04-10 15:05:41 +00:00
tsutsui
ebf5fffe65
Set DBG=-Os for libhack.
2002-04-06 18:16:09 +00:00
scw
6a327b2f70
From lukem: Fix the lack of inodes problem a slightly different way.
...
[Although the real cure is to fix makefs(8).]
2002-04-03 19:23:08 +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
lukem
484f8db2eb
- Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
...
required, define them before pulling in libhack/Makefile.inc so that the
dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem
4bd6b3cf5e
as this uses libhack, copy in a useful etc/master.passwd rather than
...
an unused etc/passwd
2002-03-26 01:12:36 +00:00
scw
6d5da55a5a
Make sysinst the default installer, with the option of falling back
...
to the old shell-script installer. Based on the sparc dot.profile.
2002-03-25 21:14:32 +00:00
scw
64b9487395
Add MAKEFS_FLAGS, as suggested by Luke Mewburn. This fixes a problem
...
with a lack of inodes on the miniroot image.
2002-03-25 21:12:51 +00:00
lukem
25c4cc30b2
Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
...
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem
8a2e75e489
don't need x_sh in NDWO
2002-03-24 23:12:34 +00:00
lukem
50070328cc
- use ${_SRC_TOP_} instead of ${CURDIR}/../../../ [../../]
...
- fix IMAGEDEPENDS; it should contain at least all the COPY items from list
2002-03-24 22:44:21 +00:00
scw
469b6b542c
Use the new makefs(8)-based ramdisk build procedure to build
...
the installation/recovery boot image.
2002-03-24 18:08:18 +00:00
scw
48be531fcb
Add an empty (for now) `image_md_post'.
2002-03-17 21:37: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
scw
71ec86aaa8
Make this work again.
2002-01-23 21:10:00 +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
chs
7d48299857
make this work with obj dirs.
2001-10-21 03:30:36 +00:00
chs
bc7cfe4438
fix to work with obj dirs.
2001-10-21 02:22:36 +00:00
jmc
a37907dc27
Add MTREE?= to add Makefiles and use when running mtree
2001-10-13 06:15:15 +00:00
tv
0d8e992e48
Use "-t ffs" when remounting rootdev read/write.
2001-08-16 19:14:40 +00:00
wiz
41df6b74a9
partiton -> partition
2001-07-26 22:47:34 +00:00
scw
ef6b402fcc
Use the real versions of protocols(5) and services(5) instead
...
of inferior home-grown ones.
2001-06-25 15:46:22 +00:00
scw
d976ff924e
Speeling fix.
2000-11-24 21:58:36 +00:00
scw
53de2db906
Automate the MD `make release|snapshot' procedure.
...
[I should have done this ages ago.]
2000-11-24 19:49:40 +00:00
scw
91f4764792
Up the ramdisk size to 1024 blocks.
2000-11-24 19:39:08 +00:00
garbled
83f61a5891
Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
2000-11-01 07:57:55 +00:00
jhawk
a022cf9d37
Use
...
${MAKE}
instead of
make
2000-08-30 23:51:46 +00:00
scw
ce868d7546
Back up one more level to get etc/netconfig
2000-06-27 20:47:49 +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
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
thorpej
ceff2dc6bc
Need /etc/netconfig.
2000-06-07 20:32:06 +00:00
sjg
1f724b9392
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
2000-05-02 16:06:45 +00:00
tsutsui
1bf52b391d
rename (revert) memory disk filename /dev/mdX -> /dev/mdXa
2000-01-21 12:32:54 +00:00
simonb
71efc75854
Don't start update.
1999-11-23 22:43:20 +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
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
scw
843d2335b8
Nuke strings(1). It's not required for a miniroot.
1999-05-08 19:58:33 +00:00
scw
9864c40a31
The 167Bug> boot command line was not quite correct.
1999-04-10 16:18:11 +00:00
leo
6d588fca56
- Move the pwd.db & spwd.db files into the list-files of the ports who need
...
them.
- Use x_dd & x_ifconfig.
1999-03-25 15:51:01 +00:00
wrstuden
ad140b77ea
Modify all calls to newfs in ramdisk/miniroot creation to include
...
the needed endianism of the architecture. One step towards cross-building
releases.
Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
1999-03-04 20:32:18 +00:00