Home | History | Annotate | only in /src/etc/etc.mac68k
History log of /src/etc/etc.mac68k
RevisionDateAuthorComments
 1.80 24-Oct-2003  jdolecek switch over to unified MAKEDEV
 1.79 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major range
 1.78 03-Oct-2003  dsl Add a /dev/constty == /dev/console but with minor 1.
Use for tty sessions on 'console' so that output doesn't pinched by anyone
using TIOCCONS to get kernel and system messages.
 1.77 05-Sep-2003  dsl Put back port specific majors for ptys
 1.76 30-Aug-2003  dsl Change the way pseudo tty devices are generated in order to avoid
any pipes and running other commands (eg dd).
Measurable speeds up creating pseudo ttys.
(there has to be a better way than editing 51 files! - tedious at only
6 key presses per file)
 1.75 22-Aug-2003  itojun create /dev/crypto
 1.74 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.73 27-Apr-2003  ragge Add ksyms to "std" devices.
 1.72 17-Apr-2003  fvdl Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
 1.71 14-Apr-2003  wiz Uppercase ITE. Addresses PRs 21138 to 21141 by Igor Sobrado.
 1.70 31-Mar-2003  perry make ipl consistently "IP Filter"
 1.69 30-Mar-2003  wiz Sync vnd descriptions to one wording.
 1.68 30-Mar-2003  wiz Uppercase scsi.
 1.67 30-Mar-2003  wiz Miscellaneous fixes from Igor Sobrado, in PRs 20943-20959.
 1.66 21-Oct-2002  lukem whitespace consistency cleanup
 1.65 04-Oct-2002  elric Include cgd on the list of things to be mknod(8)ed on all arches.
 1.64 09-Aug-2002  lukem - in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
 1.63 10-Jul-2002  scottr Add bpf devices to raminst (for dhclient).
 1.62 18-Jun-2002  wiz Update comment on how to regenerate MAKEDEV(8) after changing the
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
 1.61 17-Jun-2002  christos Add device creation support for systrace.
 1.60 27-Apr-2002  shiba branches: 1.60.2;
Add IDE drive support.

Note:
(1) Character device major number chages to 49 from 48(in my original
code). So it is necessary to rebuild device files.
(2) Must use Booter 2.0.0a10 or later.
(3) Default mode is cpu busy wait. It is defined by flags 0x1000.
It will be more slow than before.
No flags means hardware interrupt mode. But it might be able to
get no interrupts.

Support machines:
(1) Quadra 630 series
(2) PowerBook 150

Non tested machine:
(1) PowerBook 190 series

Approved by: briggs
 1.59 13-Mar-2002  simonb Remove trailing semicolons from lines that don't need them.
TABify many lines.
 1.58 04-Mar-2002  lukem various cleanups inspired by etc.i386/MAKEDEV:

* use "ln -fs foo bar" instead of "rm -f bar; ln -s foo bar"

* remove unnecessary chown root or chgrp wheel directives; older code here
didn't bother doing this, so why be inconsistent

* when making directories, don't use -p and don't redirect stdout to /dev/null

* clean up whitespace

* wrap the main parser code in a function makedev(), and call makedev
instead of "sh $0". (this is a bit faster)

* don't barf when we have fdesc mounted; just skip the devices fdesc provides


(these files should really be automagically generated...)
 1.57 03-Mar-2002  toshii Use a tab instead of 7 spaces.
 1.56 25-Feb-2002  atatat Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
 1.55 02-Feb-2002  tls Fix minor mistake made while increasing number of pty devices: where we had
"pty0 pty1 pty2 pty3" before, for a total of 64 device nodes, we now want
just "pty0" for a total of 62 -- the original commit had "pty0 pty1" for a
total of 124, which ate too many inodes and made "ls /dev" a bit messy.
 1.54 02-Feb-2002  tls Add support for many more (930 or 992) ptys than the current 256.

Changes taken from the i386 MAKEDEV. Note that the unusual use of 'dd'
to index an array was chosen because 'dd' is on all ports' install media.

This form of this change comes from Andrew Brown; the original idea to
bump the number of ptys this way comes from Brian Marcotte at Panix.
 1.53 21-Jan-2002  abs Move 'wscons' to directly after 'std'. Various MAKEDEVs had it pretty much
at the end, and as wscons (actually ttyE0) is required to login on the console,
it is probably better that an out of space MAKEDEV fail on some other device.
 1.52 19-Jan-2002  oster Update the various MAKEDEV's to reflect the default of 8 RAIDframe devices.
 1.51 13-Jan-2002  manu Added clockctl
 1.50 19-Dec-2001  wiz Standardize ch* and uk* descriptions.
 1.49 19-Dec-2001  wiz Standardize scsibus* description.
 1.48 27-Jul-2000  mason Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
 1.47 14-Feb-2000  scottr branches: 1.47.4;
Merge wscons work onto the main development branch.
 1.46 21-Jan-2000  tsutsui - rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
 1.45 18-Dec-1999  tsutsui Correct md* entries.
 1.44 05-Nov-1999  fredb Make cfs0 for Venus/Coda file system, by default (PR 8625).
 1.43 18-Oct-1999  ad Back out previous
 1.42 06-Oct-1999  ad Final chown user.group -> chown user:group changes.
 1.41 18-Sep-1999  hubertf branches: 1.41.2;
Tidy up comments a bit, to make the manpages generated from the a bit
nicer. Also, add a comment on how to re-generate the manpages if the
MAKEDEV file was changed.
 1.40 25-Jul-1999  ender From Dave Huang (khym@bga.com) in PR 8059: the MAKEDEV script was trying
to create ttyNN as the dialout device instead of dtyNN.
 1.39 22-Jul-1999  wrstuden Teach both mac68k and macppc to create dialout devices. Modeled after
etc.i386/MAKEDEV's support.
 1.38 26-Mar-1999  ender branches: 1.38.2;
Add md0 to the raminst target.
 1.37 23-Feb-1999  scottr branches: 1.37.2;
Some machines actually do have two floppy drives.
 1.36 21-Feb-1999  ender Fix a typo noticed by Frederick Bruckman (fb@enteract.com) in PR#7023.
 1.35 18-Feb-1999  scottr Add fd*, and create fd0 in the default set of devices.
 1.34 13-Nov-1998  oster Added RAID devices for everyone!
 1.33 15-Oct-1998  thorpej Add /dev/scsibus* device nodes.
 1.32 26-Nov-1997  tv Fixes PR #3858: /dev/fd uniformly updated in MAKEDEV to make directory
(and file nodes) owned by root.wheel, and /dev/fd directory mode 755. Now
it matches mtree (and the rest of the system's permissions/owner layout).
 1.31 20-Nov-1997  fair add appropriate entry to make "random" as documented in rnd(4).
add "random" entry to "all".
 1.30 22-Aug-1997  lukem branches: 1.30.2;
* add enss* to ss*
* st* has perms 660 not 640
* invoke MAKEDEV.local as $0.local, and reset umask afterwards
 1.29 31-Jul-1997  perry Make MAKEDEV and MAKEDEV.local mutually consistant. Reported in
pr #2596 by Tatoku Ogaito, but my fix is different from his.
This is purely an aesthetic change.
 1.28 23-Jul-1997  phil Make all tty??/pty?? pairs that can be opened by openpty().
Remove use of awk for generating names.
Make all consistent as possible.
Closes PR 3420.
 1.27 22-Jul-1997  phil Make all MAKEDEVs make fd/* similar. No need for awk or expr.
Inspired by PR 3420. Some MAKEDEVS had the fd separated out
of std and fd added to std.
 1.26 07-Jul-1997  veego Added a new device entry for ipfilter: /dev/ipauth
 1.25 31-May-1997  thorpej Add ipnat and ipstate at the appropriate minor numbers off the ipfilter
device.
 1.24 19-Feb-1997  scottr Whoops. That's asc0, rather than simply asc.
 1.23 11-Feb-1997  scottr Add asc device
 1.22 26-Jan-1997  scottr ipl is device major 35, not 36.
 1.21 22-Jan-1997  briggs PTY Master is 5, slave is 4. This has been wrong for a long time. How?
 1.20 13-Jan-1997  scottr Add ipl device.
 1.19 01-Jan-1997  pk Device rename: `rd' => `md'
 1.18 21-Nov-1996  scottr Add missing generic devices, and avoid expr(1) in the way that
Mycroft did in the i386 MAKEDEV.
 1.17 03-Feb-1996  briggs Make grf units 2 and 3.
 1.16 09-Oct-1995  thorpej New-style RCS ids.
 1.15 03-Oct-1995  briggs Make 12 bpfs for all instead of 4.
 1.14 17-Aug-1995  thorpej Add entries for the ccd.
 1.13 12-Jul-1995  briggs separate out fd from std and add a raminst target for a RAM disk dev set.
 1.12 05-Feb-1995  briggs Allow 'MAKEDEV vnd0' to actually work...
 1.11 27-Dec-1994  briggs Add `all' target. Modelled after hp300.
 1.10 22-Dec-1994  briggs Add tun* devices. Basically just ripped out of hp300.
 1.9 31-Oct-1994  briggs Add comment for lkm device and add /usr/sbin to PATH so we can find
chown.
 1.8 04-Aug-1994  briggs /dev/adb, not /dev/adb0
 1.7 03-Aug-1994  briggs Fix a couple of minor goofs...
 1.6 03-Aug-1994  briggs Clean up a lot... Add ttye, adb, lkm and some other misc.
 1.5 05-May-1994  briggs branches: 1.5.2;
Fix ownership of tty devices.
 1.4 19-Feb-1994  briggs Clean up comments a bit. Add Id string.
 1.3 03-Feb-1994  briggs Update to match current conf.c.
 1.2 28-Jan-1994  briggs Add grf device to MAKEDEV.
Nuke disktab. We don't want it now. It makes no sense for us to have
it, yet. Maybe if we start trying to partition disks...
 1.1 28-Jan-1994  briggs First cut of MAKEDEV and disktab. Disktab is straight from hp300...
MAKEDEV is actually close to what we'll want. Modulo changes for
SunOS, etc. compatibility.
 1.5.2.1 05-Aug-1994  mycroft update from trunk
 1.30.2.1 20-Nov-1997  mellon Pull rev 1.31 up from trunk (fair)
 1.37.2.5 14-Dec-1999  scottr Sync with main branch.
 1.37.2.4 01-Nov-1999  scottr Sync with main branch.
 1.37.2.3 01-Nov-1999  scottr Update wsdisplay device major.
 1.37.2.2 16-May-1999  scottr Sync with main branch.
 1.37.2.1 05-Mar-1999  scottr Checkpoint wscons changes.
 1.38.2.1 08-Nov-1999  cgd pull up rev 1.44 from trunk (requested by scottr):
Add Coda support to NetBSD/mac68k.
 1.41.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.47.4.1 11-Aug-2000  mason Create 64 PTYs in "all" target by default.
Requested by mason, approved by jhawk.
 1.60.2.2 10-Aug-2002  lukem Pull up revision 1.64 (requested by lukem):
- in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all) (for consistency)
 1.60.2.1 11-Jul-2002  thorpej pullup-1-6 ticket #459 (scottr).

Original log message:
Add bpf devices to raminst (for dhclient).
 1.12 22-Apr-2019  martin Add a few more sd drive nodes, with SD2SCSI and similar devices, we can
fit more than four SCSI disks into a mac.
 1.11 04-Oct-2011  hauke branches: 1.11.44;
Create the sysmon device node for the software watchdog
 1.10 13-Sep-2008  tsutsui Remove duplicated cfs0.
 1.9 13-Sep-2008  tsutsui Move "makedev cfs" for the vcoda device from MI MAKEDEV.tmpl to
MD MAKEDEV.conf. Not all ports have vcoda in their majors.foo files
and we shouldn't (re)assign major numbers on all ports before 5.0.

Should close PR port-sgimips/38962.
 1.8 22-May-2008  hauke Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.
 1.7 15-Jan-2007  hubertf branches: 1.7.12; 1.7.14; 1.7.16;
Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.

See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html

Fixes PR 26511 properly.

OK'd by wrstuden@
 1.6 02-Dec-2004  christos branches: 1.6.10;
Only make bpf, not bpfN
 1.5 21-Dec-2003  lukem Rework MAKEDEV:

* Use "mknod -F netbsd -r" to create nodes, instead of
"rm ; mknod; chmod; chown".
This means permissions & ownership of existing nodes will
not be changed.
This is up to 30% faster when populating an empty /dev,
and nearly 2x faster when re-running on an existing /dev.

* New options:
-f force change of permission & ownership of existing
devices
-m mknod override name/path of mknod program
(which defaults to $TOOL_MKNOD, then "mknod").
-s generate mtree(8) specfile instead of creating devices

* Remove /usr/etc from $PATH; not needed anymore.

* Provide functions to create devices & directories:
mkdev name [b|c] major minor [mode{=600} [gid{=0} [uid{=0}]]]
create device node `name' with the appropriate permissions
lndev src target
create a symlink from src to target
makedir dir mode
create directory with appropriate mode

* UIDs and GIDs are hardcoded in at MAKEDEV generation time.
(Unfortunately there's not a simple way of determining a GID
a la "id -n user" for determining a UID).

This was tested by generating MAKEDEV for each MACHINE,MACHINE_ARCH
combination and comparing the results of "MAKEDEV all" from the
previous version to the new one.
(This testing actually highlighted mistakes in the previous configuration!)


Simplify distrib/common/Makefile.makedev to use "MAKEDEV -s"
 1.4 24-Oct-2003  jdolecek fix floppy & ramdisk targets
 1.3 24-Oct-2003  jdolecek sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
 1.2 19-Oct-2003  jdolecek determine the platform number of disk partitions by looking
at MAXPARTITIONS/OLDMAXPARTITIONS in kernel sources, so that it wouldn't
need to be specified separately in MAKEDEV.conf

change platform MAKEDEV.conf to contain only MD targets and nothing else;
simplify the parsing in MAKEDEV.awk accordingly
 1.1 15-Oct-2003  jdolecek MD part of unified MAKEDEV
this contains information about disk partitions used by platform,
and MD MAKEDEV targets, such as 'init', MD part of 'all',
as well as any other MD-specific targets not covered by MAKEDEV.tmpl
 1.6.10.1 18-Feb-2007  tron Pull up following revision(s) (requested by hubertf in ticket #429):
etc/etc.bebox/MAKEDEV.conf: revision 1.5
etc/etc.x68k/MAKEDEV.conf: revision 1.8
etc/etc.next68k/MAKEDEV.conf: revision 1.3
etc/etc.ofppc/MAKEDEV.conf: revision 1.5
etc/etc.hpcmips/MAKEDEV.conf: revision 1.4
etc/etc.amd64/MAKEDEV.conf: revision 1.8
etc/etc.algor/MAKEDEV.conf: revision 1.4
etc/etc.sparc64/MAKEDEV.conf: revision 1.12
etc/etc.hp300/MAKEDEV.conf: revision 1.11
etc/etc.sgimips/MAKEDEV.conf: revision 1.8
etc/etc.pc532/MAKEDEV.conf: revision 1.5
etc/etc.mvmeppc/MAKEDEV.conf: revision 1.6
etc/etc.mvme68k/MAKEDEV.conf: revision 1.6
etc/etc.pmppc/MAKEDEV.conf: revision 1.6
etc/etc.cobalt/MAKEDEV.conf: revision 1.4
etc/etc.evbmips/MAKEDEV.conf: revision 1.4
etc/etc.sparc/MAKEDEV.conf: revision 1.11
etc/etc.hpcarm/MAKEDEV.conf: revision 1.7
etc/etc.i386/MAKEDEV.conf: revision 1.12
etc/etc.acorn32/MAKEDEV.conf: revision 1.8
etc/etc.evbppc/MAKEDEV.conf: revision 1.5
etc/etc.amiga/MAKEDEV.conf: revision 1.10
etc/etc.prep/MAKEDEV.conf: revision 1.4
etc/etc.sandpoint/MAKEDEV.conf: revision 1.4
etc/MAKEDEV.tmpl: revision 1.71
etc/etc.alpha/MAKEDEV.conf: revision 1.7
etc/etc.ibmnws/MAKEDEV.conf: revision 1.6
etc/etc.macppc/MAKEDEV.conf: revision 1.7
etc/etc.mmeye/MAKEDEV.conf: revision 1.5
etc/etc.mac68k/MAKEDEV.conf: revision 1.7
etc/etc.vax/MAKEDEV.conf: revision 1.10
etc/etc.arc/MAKEDEV.conf: revision 1.6
etc/etc.hp700/MAKEDEV.conf: revision 1.4
etc/etc.mipsco/MAKEDEV.conf: revision 1.3
etc/etc.atari/MAKEDEV.conf: revision 1.7
Fix MAKEDEV on shark: Move ses(4) devices from MI code (MAKEDEV.tmpl) to
those platforms that actually have the driver.
See also:
http://mail-index.netbsd.org/tech-userlevel/2007/01/08/0001.html
Fixes PR 26511 properly.
OK'd by wrstuden@
 1.7.16.2 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.7.16.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.14.1 04-Jun-2008  yamt sync with head
 1.7.12.2 05-Oct-2008  mjf Sync with HEAD.
 1.7.12.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.44.1 10-Jun-2019  christos Sync with HEAD
 1.26 05-Jun-2024  tsutsui Exclude debug.tgz and xdebug.tgz from mac68k ISO to save ~320MB.
 1.25 31-May-2024  tsutsui Drop -data-change-warn from MKISOFS_FLAGS.

It's available only on cdrtools-3.x and later.
 1.24 19-May-2023  hauke Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.

This is a self-inflicted wound, so demote the error to a warning.

Reported upstream as <https://codeberg.org/schilytools/schilytools/issues/58>.

Arguably fixes PR toolchain/42166

Request pull-ups to netbsd-{8,9,10}.

XXX What about macppc?
 1.23 26-Jul-2019  rin branches: 1.23.2; 1.23.10;
Build and install WSFB and WSFBSBC.
 1.22 30-Jun-2014  martin branches: 1.22.24;
Undo the mac68k specific previous change and instead move all mkisofs-based
images into ${RELEASEDIR}/images (just like the makefs ones).
 1.21 29-Jun-2014  martin Make sure the iso target directory is created in-time for the mkisofs
invocation
 1.20 18-Mar-2008  lukem branches: 1.20.42;
Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
 1.19 24-Jul-2007  pavel branches: 1.19.4; 1.19.10; 1.19.12; 1.19.14;
Add a comment reminding to update the release notes if the list of
kernels change.
 1.18 06-Mar-2007  bouyer Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
 1.17 26-Jun-2004  fredb branches: 1.17.10;
Make the "iso-image" a hybrid HFS/Rockride image. The main benefit, is
that the Macbinary files in the "misc" directly are now directly executable
from within Mac OS. This solves a "chicken-and-egg" problem: you can't even
distribute a tool to unpack the archives on a plain ISO image, as the
executable code is all in the resource fork on mac68k. In other words, a
user can now begin the installation by simply double-clicking on the Booter
program on the CD-ROM.
 1.16 03-Jan-2003  lukem branches: 1.16.2;
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
 1.15 02-Dec-2002  lukem consistency tweaks
 1.14 02-Dec-2002  lukem - add snap_post, which makes "clean depend all release" in ../distrib/
for all platforms.
- remove now unnecessary replicated code in the various snap_md_post targets
- remove snap_md_pre; nothing uses it any more
- use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate
 1.13 02-May-2002  lukem - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
for a given platform
 1.12 31-Mar-2002  bjh21 Add a MAKESUMS variable which invokes makesums with CKSUM in its environment.
Use this whenever we want to invoke makesums.
 1.11 04-Mar-2002  shiba Clean up make release procedure. But just make through
in distrib/mac68k/miniroot.

Reviewed by fredb, briggs
 1.10 01-Feb-2002  fredb Remove a comment that's no longer true: it's no longer necessary for a
release builder to generate the INSTALLSBC and GENERICSBC kernels by hand.
 1.9 27-Jan-2002  lukem use ${PAX} instead of tar | gzip
 1.8 29-Nov-2001  thorpej Change the way kernel sets are specified, and make them
more consistent. To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port. A port may
# specify the following kernels:
#
# KERNEL_SETS The list of kernels that will be
# packaged into sets, named
# kern-${kernel}.tgz. These kernels
# are also placed in the binary/kernels
# area of the release package as
# netbsd-${kernel}.gz.
#
# EXTRA_KERNELS Additional kernels to place in the
# binary/kernels area of the release
# package as netbsd-${kernel}.gz, but
# which are not placed into sets. This
# allows a port to provide e.g. a netbootable
# installation kernel containing a ramdisk.
#
# BUILD_KERNELS Additional kernels to build which are
# not placed into sets nor into the
# binary/kernels area of the release
# package. These are typically kernels
# that are built for inclusion only in
# installation disk/CD-ROM/tape images.
#
 1.7 07-Dec-2000  toddpw Fix PR port-mac68k/11343
 1.6 11-Jun-2000  fredb branches: 1.6.2;
Pass ${MAKEFLAGS} to all recursive invocations of ${MAKE}.
 1.5 31-May-2000  fredb Build and install the release notes.
 1.4 30-Mar-2000  fredb branches: 1.4.2;
- - Take BUILD_KERNELS to be the kernels to make into sysinstall kernels.
- - Clean up.
 1.3 20-Feb-2000  mycroft Let the main Makefile deal with building kernels.
 1.2 24-Dec-1999  fredb branches: 1.2.2; 1.2.4;
Make nomenclature more sensible: INST_KERNELS -> EXTRA_INSTALL_KERNELS,
and pass it through to the instkernel/Makefile release target.
 1.1 17-Dec-1999  fredb Add goo to build instkernel for mac68k as part of "make release". Actually,
multiple install kernels, by setting INST_KERNELS in /etc/mk.conf or the
environment, or on the command line. "INSTALL" is always added to the list.
 1.2.4.3 27-Jun-2000  he Pull up revision 1.5 (requested by fredb):
Build and install release notes under ``make release''.
 1.2.4.2 08-Jan-2000  he Pull up revisions 1.1-1.2 and apply patch (requested by fredb):
Build the mac68k instkernel (bootable sysinstall), and include
it in the standard release.
 1.2.4.1 24-Dec-1999  he file Makefile.inc was added on branch netbsd-1-4 on 2000-01-08 20:18:26 +0000
 1.2.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.1 24-Dec-1999  wrstuden file Makefile.inc was added on branch wrstuden-devbsize on 1999-12-27 18:28:53 +0000
 1.4.2.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.6.2.1 03-Apr-2002  he Apply patch (requested by oster):
Also build the INSTALLSBC and GENERICSBC kernels.
 1.16.2.1 27-Jun-2004  he Pull up revision 1.17 (requested by fredb in ticket #561):
Make the ``iso-image'' a hybrid HFS/Rockridge image. The
main benefit is that the Macbinary files in the ``misc''
directory are now directly executable from within MacOS.
This solves a ``chicken-and-egg'' problem: you can't even
distribute a tool to unpack the archives on a plain ISO
image, as the executable code is all in the resource fork
on mac68k. In other words, a user can now begin the
installation by simply double-clicking on the Booter program
on the CD-ROM.
 1.17.10.1 09-Mar-2007  riz Pull up following revision(s) (requested by bouyer in ticket #494):
sys/arch/i386/conf/GENERIC.MP: revision 1.9
distrib/pc532/cdroms/installcd/Makefile: revision 1.1
distrib/macppc/Makefile: revision 1.15
distrib/ofppc/Makefile: revision 1.2
distrib/ibmnws/Makefile: revision 1.2
distrib/acorn32/Makefile: revision 1.18
distrib/x68k/cdroms/installcd/Makefile: revision 1.1
distrib/sparc/Makefile: revision 1.7
distrib/sparc64/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/Makefile: revision 1.1
distrib/hpcsh/Makefile: revision 1.6
distrib/ofppc/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/Makefile: revision 1.13
distrib/news68k/cdroms/installcd/Makefile: revision 1.1
distrib/amiga/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/installcd/Makefile: revision 1.1
distrib/playstation2/cdroms/Makefile: revision 1.1
distrib/amiga/cdroms/Makefile: revision 1.1
etc/etc.mac68k/Makefile.inc: revision 1.18
distrib/shark/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/Makefile: revision 1.28
distrib/hpcmips/cdroms/Makefile: revision 1.1
distrib/amd64/floppies/Makefile: revision 1.3
sys/arch/amd64/conf/INSTALL_ACPI: file removal
distrib/i386/cdroms/Makefile: revision 1.4
distrib/acorn26/cdroms/installcd/Makefile: revision 1.1
distrib/hpcsh/cdroms/Makefile: revision 1.1
distrib/prep/cdroms/Makefile: revision 1.1
distrib/pc532/Makefile: revision 1.4
distrib/acorn32/cdroms/installcd/Makefile: revision 1.1
distrib/sun2/Makefile: revision 1.8
distrib/vax/Makefile: revision 1.17
distrib/sparc64/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/cdroms/Makefile: revision 1.1
distrib/mipsco/cdroms/installcd/Makefile: revision 1.1
distrib/sun3/cdroms/installcd/Makefile: revision 1.1
distrib/vax/cdroms/installcd/Makefile: revision 1.1
distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1
distrib/mvme68k/Makefile: revision 1.4
distrib/mvmeppc/cdroms/Makefile: revision 1.1
distrib/newsmips/Makefile: revision 1.4
sys/arch/i386/conf/GENERIC.MPACPI: file removal
distrib/hpcarm/cdroms/Makefile: revision 1.1
distrib/evbppc/cdroms/Makefile: revision 1.1
sys/arch/i386/conf/INSTALL_LARGE: revision 1.1
distrib/i386/cdroms/installcd/Makefile: revision 1.2
distrib/i386/cdroms/installcd/Makefile: revision 1.3
doc/CHANGES: revision 1.804
distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.2
distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1
distrib/i386/cdroms/bootcd/Makefile: revision 1.3
distrib/evbarm/Makefile: revision 1.8
distrib/mvmeppc/Makefile: revision 1.3
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3
distrib/macppc/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/cdroms/Makefile: revision 1.1
distrib/alpha/cdroms/Makefile: revision 1.1
distrib/hp300/cdroms/installcd/Makefile: revision 1.1
distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4
distrib/pmppc/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/Makefile: revision 1.2
distrib/pmppc/Makefile: revision 1.2
distrib/arc/cdroms/Makefile: revision 1.1
sys/arch/amd64/conf/INSTALL: revision 1.66
distrib/sun3/cdroms/Makefile: revision 1.1
distrib/mipsco/Makefile: revision 1.4
distrib/sun3/Makefile: revision 1.9
distrib/vax/cdroms/Makefile: revision 1.1
distrib/pmppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile.cdrom: revision 1.1
distrib/atari/cdroms/installcd/Makefile: revision 1.1
distrib/evbppc/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/installcd/Makefile: revision 1.1
distrib/pmax/Makefile: revision 1.4
Makefile: revision 1.247
distrib/cats/cdroms/installcd/Makefile: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.130
sys/arch/amd64/conf/GENERIC: revision 1.131
distrib/sgimips/cdroms/installcd/Makefile: revision 1.1
distrib/hp700/cdroms/Makefile: revision 1.1
distrib/cats/cdroms/Makefile: revision 1.1
distrib/evbmips/Makefile: revision 1.3
distrib/evbmips/Makefile: revision 1.4
sys/arch/amd64/conf/GENERIC_ACPI: file removal
distrib/ews4800mips/Makefile: revision 1.2
distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2
distrib/i386/Makefile: revision 1.5
distrib/amd64/cdroms/installcd/Makefile: revision 1.2
distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/cdroms/installcd/Makefile: revision 1.1
etc/etc.amd64/Makefile.inc: revision 1.7
distrib/i386/instkernel/Makefile: revision 1.6
distrib/x68k/cdroms/Makefile: revision 1.1
distrib/i386/cdroms/Makefile.cdrom: revision 1.1
distrib/sandpoint/Makefile: revision 1.4
distrib/i386/cdroms/Makefile.cdrom: revision 1.2
distrib/amiga/Makefile: revision 1.3
distrib/amd64/cdroms/bootcd/Makefile: revision 1.2
distrib/news68k/Makefile: revision 1.4
distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5
distrib/news68k/cdroms/Makefile: revision 1.1
distrib/sparc/cdroms/Makefile: revision 1.1
distrib/shark/cdroms/Makefile: revision 1.1
etc/Makefile: revision 1.341
distrib/amd64/instkernel/Makefile: revision 1.2
distrib/sparc64/Makefile: revision 1.7
distrib/dreamcast/cdroms/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.3
distrib/ews4800mips/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/installcd/Makefile: revision 1.1
distrib/shark/Makefile: revision 1.4
distrib/macppc/cdroms/Makefile: revision 1.1
distrib/mvme68k/cdroms/Makefile: revision 1.1
distrib/sun2/cdroms/Makefile: revision 1.1
distrib/hpcarm/Makefile: revision 1.3
distrib/arc/cdroms/installcd/Makefile: revision 1.1
distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1
distrib/mipsco/cdroms/Makefile: revision 1.1
distrib/Makefile.inc: revision 1.9
distrib/playstation2/cdroms/installcd/Makefile: revision 1.1
distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1
distrib/newsmips/cdroms/Makefile: revision 1.1
distrib/arc/Makefile: revision 1.3
distrib/sparc/cdroms/installcd/Makefile: revision 1.1
distrib/evbmips/cdroms/installcd/Makefile: revision 1.1
distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1
distrib/prep/Makefile: revision 1.3
distrib/ibmnws/cdroms/Makefile: revision 1.1
distrib/sandpoint/cdroms/Makefile: revision 1.1
distrib/atari/Makefile: revision 1.6
distrib/sgimips/cdroms/Makefile: revision 1.1
distrib/amd64/Makefile: revision 1.4
distrib/atari/cdroms/Makefile: revision 1.1
distrib/x68k/Makefile: revision 1.5
distrib/x68k/Makefile: revision 1.6
distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1
distrib/evbarm/cdroms/Makefile: revision 1.1
distrib/acorn32/cdroms/Makefile: revision 1.1
distrib/cats/Makefile: revision 1.3
distrib/evbmips/cdroms/Makefile: revision 1.1
distrib/pc532/cdroms/Makefile: revision 1.1
distrib/Makefile: revision 1.14
distrib/evbarm/cdroms/installcd/Makefile: revision 1.1
distrib/ofppc/cdroms/Makefile: revision 1.1
distrib/amd64/cdroms/Makefile: revision 1.3
distrib/common/Makefile.bootcd: revision 1.8
distrib/i386/cdroms/bootcd-laptop/Makefile: file removal
sys/arch/i386/conf/GENERIC: revision 1.813
distrib/hp300/Makefile: revision 1.17
sys/arch/i386/conf/GENERIC: revision 1.814
distrib/evbppc/Makefile: revision 1.2
distrib/pmax/cdroms/installcd/Makefile: revision 1.1
etc/etc.i386/Makefile.inc: revision 1.49
distrib/sgimips/Makefile: revision 1.2
distrib/prep/cdroms/installcd/Makefile: revision 1.1
distrib/acorn26/Makefile: revision 1.4
distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1
distrib/alpha/Makefile: revision 1.22
distrib/dreamcast/Makefile: revision 1.2
Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
make the image bootable
For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
Fix typo in subdir name.
Revert local changes that went in accidentally with the "add ACPI" commit.
Note ACPI by default in i386/amd64, and the iso-image changes.
Fix SUBDIR in previous
Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly.
Correct typo: the directory is named cdroms, not cdrom.
Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by
Alan Barrett. While there factor out the kernels in Makefile.cdrom.
 1.19.14.2 24-Jul-2007  pavel Add a comment reminding to update the release notes if the list of
kernels change.
 1.19.14.1 24-Jul-2007  pavel file Makefile.inc was added on branch matt-mips64 on 2007-07-24 10:49:27 +0000
 1.19.12.1 03-Apr-2008  mjf Sync with HEAD.
 1.19.10.1 24-Mar-2008  keiichi sync with head.
 1.19.4.1 23-Mar-2008  matt sync with HEAD
 1.20.42.1 10-Aug-2014  tls Rebase.
 1.22.24.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.23.10.2 03-Jul-2024  martin Pull up following revision(s) (requested by tsutsui in ticket #733):

external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.6
distrib/cdrom/Makefile: revision 1.55
distrib/cdrom/macppc_installboot/Makefile: revision 1.12
external/gpl2/mkhybrid/dist/getopt.c: revision 1.2
external/gpl2/mkhybrid/dist/libfile/LEGAL.NOTICE: revision 1.1
external/gpl2/mkhybrid/dist/write.c: revision 1.1
distrib/cdrom/Makefile: revision 1.56
distrib/cdrom/macppc_installboot/Makefile: revision 1.13
distrib/cdrom/macppc_installboot/installboot.c: revision 1.6
external/gpl2/mkhybrid/dist/getopt.c: revision 1.3
external/gpl2/mkhybrid/dist/write.c: revision 1.2
external/gpl2/mkhybrid/dist/libhfs_iso/data.h: revision 1.1
distrib/cdrom/Makefile: revision 1.57
distrib/cdrom/macppc_installboot/Makefile: revision 1.14
distrib/cdrom/macppc_installboot/installboot.c: revision 1.7
tools/Makefile: revision 1.221
tools/Makefile: revision 1.222
external/gpl2/mkhybrid/dist/libhfs_iso/file.h: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/README: revision 1.1
distrib/macppc/Makefile: revision 1.18
external/gpl2/mkhybrid/dist/TODO: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/block.h: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/record.c: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/hfs.c: revision 1.1
external/gpl2/mkhybrid/dist/match.c: revision 1.1
external/gpl2/mkhybrid/dist/libfile/softmagic.c: revision 1.1
external/gpl2/mkhybrid/dist/match.c: revision 1.2
external/gpl2/mkhybrid/dist/libfile/softmagic.c: revision 1.2
external/gpl2/mkhybrid/dist/volume.c: revision 1.1
external/gpl2/mkhybrid/dist/volume.c: revision 1.2
external/gpl2/mkhybrid/dist/libhfs_iso/internal.h: revision 1.1
external/gpl2/mkhybrid/dist/getopt1.c: revision 1.1
external/gpl2/mkhybrid/dist/getopt1.c: revision 1.2
external/gpl2/mkhybrid/dist/getopt1.c: revision 1.3
external/gpl2/mkhybrid/dist/README.mkisofs: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/hybrid.h: revision 1.1
tools/mkhybrid/Makefile: revision 1.1
external/gpl2/mkhybrid/dist/README.hfs_magic: revision 1.1
external/gpl2/mkhybrid/dist/apple.h: revision 1.1
external/gpl2/mkhybrid/dist/include/prototyp.h: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/volume.h: revision 1.1
external/gpl2/mkhybrid/dist/apple.h: revision 1.2
external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.1
external/gpl2/mkhybrid/dist/desktop.c: revision 1.1
external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.2
external/gpl2/mkhybrid/dist/desktop.c: revision 1.2
external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.3
external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.4
external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.1
external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.5
external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.2
external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.6
external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.3
external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.7
external/gpl2/mkhybrid/dist/getopt.h: revision 1.1
distrib/cdrom/macppc_installboot/installboot.h: revision 1.5
etc/etc.mac68k/Makefile.inc: revision 1.25
external/gpl2/mkhybrid/dist/getopt.h: revision 1.2
external/gpl2/mkhybrid/dist/write.h: revision 1.1
etc/etc.mac68k/Makefile.inc: revision 1.26
external/gpl2/mkhybrid/dist/rock.c: revision 1.1
external/gpl2/mkhybrid/dist/hash.c: revision 1.1
external/gpl2/mkhybrid/dist/hash.c: revision 1.2
external/gpl2/mkhybrid/dist/libhfs_iso/record.h: revision 1.1
external/gpl2/mkhybrid/dist/README.hfs_boot: revision 1.1
external/gpl2/mkhybrid/dist/README: revision 1.1
external/gpl2/mkhybrid/dist/README.win32: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/hfs.h: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/hfs.h: revision 1.2
external/gpl2/mkhybrid/dist/config.h.in: revision 1.1
external/gpl2/mkhybrid/dist/config.h.in: revision 1.2
distrib/cdrom/boothfs.uue: revision 1.2
external/gpl2/mkhybrid/dist/config.h.in: revision 1.3
external/gpl2/mkhybrid/dist/volume.h: revision 1.1
external/gpl2/mkhybrid/dist/volume.h: revision 1.2
external/gpl2/mkhybrid/dist/ChangeLog: revision 1.1
external/gpl2/mkhybrid/dist/libfile/apprentice.c: revision 1.1
external/gpl2/mkhybrid/dist/libfile/apprentice.c: revision 1.2
external/gpl2/mkhybrid/dist/mapping: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/btree.h: revision 1.1
external/gpl2/mkhybrid/bin/Makefile: revision 1.1
external/gpl2/mkhybrid/dist/include/statdefs.h: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/Makefile: revision 1.1
external/gpl2/mkhybrid/bin/Makefile: revision 1.2
external/gpl2/mkhybrid/dist/magic: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/node.h: revision 1.1
external/gpl2/mkhybrid/bin/Makefile: revision 1.3
external/gpl2/mkhybrid/dist/acconfig.h: revision 1.1
external/gpl2/mkhybrid/dist/eltorito.c: revision 1.1
external/gpl2/mkhybrid/dist/libfile/patchlevel.h: revision 1.1
share/mk/bsd.own.mk: revision 1.1375
share/mk/bsd.own.mk: revision 1.1376
external/gpl2/mkhybrid/dist/README.session: revision 1.1
external/gpl2/mkhybrid/dist/libfile/lfile.c: revision 1.1
external/gpl2/mkhybrid/dist/libfile/lfile.c: revision 1.2
tools/macppc_installboot/Makefile: revision 1.1
external/gpl2/mkhybrid/README.md: revision 1.1
etc/etc.macppc/Makefile.inc: revision 1.13
external/gpl2/mkhybrid/dist/defaults.h: revision 1.1
external/gpl2/mkhybrid/dist/mkisofs.spec: revision 1.1
external/gpl2/mkhybrid/dist/defaults.h: revision 1.2
external/gpl2/mkhybrid/dist/mac_label.h: revision 1.1
external/gpl2/mkhybrid/dist/defaults.h: revision 1.3
external/gpl2/mkhybrid/dist/include/mconfig.h: revision 1.1
external/gpl2/mkhybrid/dist/include/mconfig.h: revision 1.2
external/gpl2/mkhybrid/dist/libfile/proto.h: revision 1.1
external/gpl2/mkhybrid/dist/COPYING: revision 1.1
external/gpl2/mkhybrid/dist/name.c: revision 1.1
external/gpl2/mkhybrid/dist/configure.in: revision 1.1
external/gpl2/mkhybrid/dist/configure.in: revision 1.2
external/gpl2/mkhybrid/dist/mac_label_proto.h: revision 1.1
external/gpl2/mkhybrid/dist/configure.in: revision 1.3
external/gpl2/mkhybrid/dist/libhfs_iso/low.c: revision 1.1
distrib/cdrom/macppc_mkboothfs/mkboothfs.c: revision 1.4
external/gpl2/mkhybrid/dist/mkhybrid.8: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/btree.c: revision 1.1
distrib/cdrom/macppc_installboot/cd9660.c: revision 1.5
external/gpl2/mkhybrid/dist/config.h: revision 1.1
external/gpl2/mkhybrid/dist/mkhybrid.8: revision 1.2
distrib/cdrom/macppc_installboot/cd9660.c: revision 1.6
external/gpl2/mkhybrid/dist/config.h: revision 1.2
external/gpl2/mkhybrid/dist/libhfs_iso/node.c: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/data.c: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/file.c: revision 1.1
external/gpl2/mkhybrid/dist/README.eltorito: revision 1.1
external/gpl2/mkhybrid/dist/include/fctldefs.h: revision 1.1
external/gpl2/mkhybrid/dist/libfile/README: revision 1.1
external/gpl2/mkhybrid/dist/libhfs_iso/block.c: revision 1.1
external/gpl2/mkhybrid/dist/mactypes.h: revision 1.1
external/gpl2/mkhybrid/dist/apple_proto.h: revision 1.1
external/gpl2/mkhybrid/dist/apple_proto.h: revision 1.2
external/gpl2/mkhybrid/dist/multi.c: revision 1.1
external/gpl2/mkhybrid/dist/match.h: revision 1.1
external/gpl2/mkhybrid/dist/match.h: revision 1.2
external/gpl2/mkhybrid/dist/mac_label.c: revision 1.1
external/gpl2/mkhybrid/dist/Makefile.in: revision 1.1
external/gpl2/mkhybrid/dist/mac_label.c: revision 1.2
external/gpl2/mkhybrid/dist/libhfs_iso/lvolume.c: revision 1.1
external/gpl2/mkhybrid/dist/Makefile.in: revision 1.2
external/gpl2/mkhybrid/dist/configure: revision 1.1
external/gpl2/mkhybrid/dist/configure: revision 1.2
external/gpl2/mkhybrid/dist/install-sh: revision 1.1
external/gpl2/mkhybrid/dist/configure: revision 1.3
distrib/cdrom/macppc_installboot/cd9660.c: file removal
external/gpl2/mkhybrid/dist/README.mkhybrid: revision 1.1
external/gpl2/mkhybrid/dist/ChangeLog.mkhybrid: revision 1.1
external/gpl2/mkhybrid/dist/iso9660.h: revision 1.1
external/gpl2/mkhybrid/dist/joliet.c: revision 1.1
external/gpl2/mkhybrid/dist/apple.c: revision 1.1
external/gpl2/mkhybrid/dist/apple.c: revision 1.2
external/gpl2/mkhybrid/dist/apple.c: revision 1.3
etc/Makefile: revision 1.471
external/gpl2/mkhybrid/dist/apple.c: revision 1.4
external/gpl2/mkhybrid/dist/tree.c: revision 1.1
etc/Makefile: revision 1.472
external/gpl2/mkhybrid/dist/tree.c: revision 1.2
external/gpl2/mkhybrid/dist/tree.c: revision 1.3
external/gpl2/mkhybrid/dist/libhfs_iso/low.h: revision 1.1
external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.1
external/gpl2/mkhybrid/dist/mkisofs.8: revision 1.1
external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.2
external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.3
external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.4
external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.5
distrib/cdrom/Makefile: revision 1.54
external/gpl2/mkhybrid/dist/getopt.c: revision 1.1

Add -data-change-warn to MKISOFS_ARGS for macppc as done for mac68k:
https://mail-index.netbsd.org/source-changes/2023/05/19/msg144826.html

Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.
This is a self-inflicted wound, so demote the error to a warning.
This looks to make macppccd builds with cdrtools-3.02a10.
Sync with src/usr.sbin/installboot/cd9660.c:
- include now properly updated cd9660_extern.h for function prototypes
and remove them from local installboot.h
- use ISO_MAXNAMLEN rather than (BSD specific and incorrect) MAXNAMLEN
- use proper names for the secondary boot file
- appease several pointer signedness warnings (not fatal on HOST tools)
Use native cd9660 blocksize to specify block numbers in cd9660.c.
This reduces diffs from src/usr.sbin/installboot/cd9660.c.
Also explicitly call cd9660_match() to get fstype->blocksize properly.
Pull sharable src/usr.sbin/installboot/cd9660.c.
Import mkhybrid from OpenBSD 7.3 to create ISO9660/HFS hybrid ISO images.
- files in libfile except proto.h prepared by OpenBSD are not imported
due to non-standard license
(newer BSD Licensed versions will be imported later)
- unnecessary files for tools build are not imported
- RCSId strings are trimmed to avoid unintended substitutions
Proposed on tech-toolchain@:
https://mail-index.netbsd.org/tech-toolchain/2024/05/25/msg004355.html

Import BSD licensed libfile for mkhybrid builds from cdrtools-3.01.
- unnecessary files for tools build are not imported
- file.c is renamed to lfile.c to avoid conflict with libhfs_iso
- RCSId strings are trimmed
Remove dependencies on non-existent exclude.h.
Pull changes from mkisofs-1.12.1 to avoid statvfs(2).
Make newer BSD Licensed libfile sources build as tools.
Update mkhybrid Makefile for NetBSD's tools builds.
Suppress implicit declaration warnings.
Appease discard-const warnings.
Remove duplicated SYSTEM_ID_DEFAULT definitions.
Don't redefine SYSTEM_ID_DEFAULT if it's specified in CPPFLAGS.
Remove ancient rlimit hacks for NetBSD disabled in cdrtools-2.01.
Always use local getopt.h as cdrtools-2.01 did.
Tweak and regen configure using autoconf-2.13 to use pkgsrc tools.
Check <stdlib.h> and <flock.h> in configure and regen config.h.
Use HAVE_CONFIG_H to include <stdlib.h> and <string.h> in getopt sources.
Appease more warnings and remove unused getopt functions.
Pull options -hide-joliet-trans-tbl and -hide-rr-moved from mkisofs-1.13.
Pull -graft-points option from mkisofs-1.13 and cdrtools-2.01.
Also remove #ifdef APPLE_HYB for NON-HFS changes to reduce diffs.
Tweak OPTION_* definitions to reduce diffs from mkisofs-1.13.
Pull malloc related fixes from cdrtools-2.01.
This seems to fix SIGSEGV during free(3) in write.c:write_one_file().
Build mkhybrid as a build tool.
Build mac68k and macppc iso images using tools/mkhybrid.
Drop -data-change-warn from MKISOFS_FLAGS.
It's available only on cdrtools-3.x and later.
Use tools/mkhybrid as MKISOFS for mac68k and future macppc.
Note about current status.
Also pull man page description of options pulled from mkisofs-1.13.
Don't print progress if -quiet is specfied as cdrtools-2.01 and later.
Exclude debug.tgz and xdebug.tgz from mac68k ISO to save ~320MB.
Drop -T (for non-Rock Ridge capable systems) from ${MKISOFS_FLAGS}.
Even old mac68k and macppc don't require it, and somehow TRANS.TBL
files are shown on NetBSD when the ISO images created with both -T
and and -hide-joliet-trans-tbl are mounted by mount_cd9660(8).
Note this also happens with mkisofs(8) from cdrtools-3.02,
but I have not investigated if it's expected behavior.
Build src/distrib/cdrom/macppc_installboot in src/tools as a tool.
Also use the tools version ${TOOLS_MACPPC_INSTALLBOOT} to create
bootable ISO9660/HFS hybrid installcd image for macppc.
Make sure NetBSD_BootBlock partition has 32KB to avoid extra padding.
It looks at least OpenFirmware 2.x fails to load the primary bootloader
in the NetBSD_BootBlock partition if the partition size is too small,
probably because OpenFirmware read() function implicitly uses 32KB blocks.
Build macppc iso with TOOL_MKHYBRID via "iso-image" target in src/etc.
No need to check and redefine C89 strerror(3) and strtoul(3).
Fixes build error on MacOS 10.4 with Xcode 2.5.
 1.23.10.1 28-May-2023  martin Pull up following revision(s) (requested by lukem in ticket #178):

etc/etc.mac68k/Makefile.inc: revision 1.24
distrib/cdrom/Makefile: revision 1.53

Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.

This is a self-inflicted wound, so demote the error to a warning.

Reported upstream as <https://codeberg.org/schilytools/schilytools/issues/58>.

Arguably fixes PR toolchain/42166

Request pull-ups to netbsd-{8,9,10}.
XXX What about macppc?
 1.23.2.1 24-Aug-2024  martin Pull up following revision(s) (requested by hauke in ticket #1878):

etc/etc.mac68k/Makefile.inc: revision 1.24
distrib/cdrom/Makefile: revision 1.53

Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.

This is a self-inflicted wound, so demote the error to a warning.
Reported upstream as https://codeberg.org/schilytools/schilytools/issues/58

Arguably fixes PR toolchain/41266
 1.6 19-Dec-2002  jdolecek use single minimal default disktab file for most archs, replacing
MD disktab where possible (everything but vax)
the MD disktab was often either empty, or contained entries even for disks
which support geometry autodetection (SCSI), and/or non-interesting/long
obsolete entries

the old records are still available in example disktab in
/usr/share/examples/disktab/disktab in case anyone would need them
 1.5 09-Apr-2002  tron Back out last change because we now have a special disktab for the
FFS regression test.
 1.4 09-Apr-2002  tron Add missing "floppy288" entry required for FFS regression test.
 1.3 09-Oct-1995  thorpej New-style RCS ids.
 1.2 18-Jul-1995  briggs 1MB RAM disk entry for installation image.
 1.1 11-Jul-1994  briggs branches: 1.1.2;
Re-add this as a sample disktab. Taken from the SCSI parts of the
hp300's disktab.
 1.1.2.2 11-Jul-1994  briggs Re-add this as a sample disktab. Taken from the SCSI parts of the
hp300's disktab.
 1.1.2.1 11-Jul-1994  briggs file disktab was added on branch netbsd-1-0 on 1994-07-11 22:37:53 +0000
 1.4 04-May-2002  jdolecek Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 22-Aug-1995  jtc ufs -> ffs; PR #1381
 1.1 19-Feb-1994  briggs Supply a default fstab.
 1.21 08-May-2021  rin Turn on constty instead of ttyE0 as done for majority of other ports
in order to make both framebuffer and serial consoles happy.

Also, change TERM from vt220 to vt100 for console and constty
in accordance with other ports.
 1.20 13-Jun-2012  martin branches: 1.20.36;
Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
 1.19 07-Oct-2008  abs branches: 1.19.18; 1.19.20;
Add a constty entry, marked 'off', with otherwise the same settings
as the console. Now when coming up in single user mode the tset in
/.profile can set the terminal type correctly.
Note: I believe constty should be 'on' and console 'off', but thats a
separate discussion
 1.18 14-Jan-2007  jklos branches: 1.18.12;
Replaced tty00 - tty07 with ttyZ0 - ttyZ1 because tty00 and friends don't
exist (and symlinks aren't acceptable in many instances).
 1.17 20-Jun-2004  christos branches: 1.17.2; 1.17.8; 1.17.10; 1.17.12;
remove ad-hok list of pty's from port tty files, and auto-generate it so
that it is consistent, and in the proper order.
 1.16 04-Oct-2003  dsl Revert 'console' back to /dev/console (from /dev/constty)
 1.15 03-Oct-2003  dsl Change 'console' login to use /dev/constty so that its output isn't
stolen by code that requests system messages using TIOCCONS.
 1.14 13-Feb-2002  martti Added ttyp[g-zA-Z] (bin/15594).
 1.13 12-Aug-2000  mason This should be the final part of moving to 64 PTYs by default. Added
entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys.

Thanks to Matthew Green for pointing out the need.
 1.12 14-Feb-2000  scottr branches: 1.12.4;
Merge wscons work onto the main development branch.
 1.11 09-Oct-1995  thorpej branches: 1.11.8;
New-style RCS ids.
 1.10 03-Oct-1995  briggs Use vt220 instead of vt100 because new termcap fixes rows/cols for vt100.
 1.9 03-Aug-1994  briggs Supply both a console (off) and ttye (on) to keep both single and
multi-user states happy. Thanks to cgd's sharp eyes...
 1.8 03-Aug-1994  briggs console -> ttye0
 1.7 11-Jul-1994  briggs Get rid of virtual console entries for now. Enable 'console.'
 1.6 09-Mar-1994  briggs branches: 1.6.2;
Localize the puppy a tad.
 1.5 23-Aug-1993  cgd changes from 0.9-ALPHA2 to 0.9-BETA
 1.4 10-Jul-1993  mycroft branches: 1.4.2;
Remove a spurious `unknown' that was screwing people over.
 1.3 08-Jul-1993  cgd changes for init...
 1.2 02-Apr-1993  cgd changed `console' to `vga'
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.2.1 20-Aug-1993  cgd add i386-specific instructions. still need to deal with the fact
that the generic console's getty is type "Pc" -- BOGUS!!!
 1.6.2.1 05-Aug-1994  mycroft update from trunk
 1.11.8.2 14-Dec-1999  scottr Remove ttye0 (ite), and enable ttyE0 (wscons).
 1.11.8.1 05-Mar-1999  scottr Checkpoint wscons changes.
 1.12.4.1 12-Aug-2000  mason This should be the last piece of the move to 64 default PTYs. /etc/ttys now
has entries for 64 ptys.

Thanks to Matthew Green for pointing out the need for this.
 1.17.12.1 23-Sep-2007  wrstuden Sync with somewhat-recent netbsd-4.
 1.17.10.1 11-Sep-2007  xtraeme Pull up following revision(s) (requested by hauke in ticket #861):
etc/etc.mac68k/ttys: revision 1.18
Replaced tty00 - tty07 with ttyZ0 - ttyZ1 because tty00 and friends dont
 1.17.8.1 09-Sep-2007  bouyer Pull up following revision(s) (requested by hauke in ticket #1834):
etc/etc.mac68k/ttys: revision 1.18
Replaced tty00 - tty07 with ttyZ0 - ttyZ1 because tty00 and friends don't
exist (and symlinks aren't acceptable in many instances).
 1.17.2.1 09-Sep-2007  bouyer Pull up following revision(s) (requested by hauke in ticket #1834):
etc/etc.mac68k/ttys: revision 1.18
Replaced tty00 - tty07 with ttyZ0 - ttyZ1 because tty00 and friends don't
exist (and symlinks aren't acceptable in many instances).
 1.18.12.1 17-Jan-2009  mjf Sync with HEAD.
 1.19.20.1 24-Jun-2012  riz Pull up following revision(s) (requested by martin in ticket #342):
etc/etc.shark/ttys: revision 1.8
etc/etc.hpcsh/ttys: revision 1.11
etc/etc.amiga/ttys: revision 1.24
etc/etc.arc/ttys: revision 1.8
etc/etc.alpha/ttys: revision 1.12
etc/etc.amigappc/ttys: revision 1.3
etc/etc.ofppc/ttys: revision 1.9
etc/etc.hp300/ttys: revision 1.16
etc/etc.rs6000/ttys: revision 1.2
etc/etc.i386/ttys: revision 1.20
etc/etc.acorn26/ttys: revision 1.4
etc/etc.iyonix/ttys: revision 1.4
etc/etc.netwinder/ttys: revision 1.8
etc/etc.mac68k/ttys: revision 1.20
etc/etc.evbarm/ttys: revision 1.7
etc/etc.pmax/ttys: revision 1.15
etc/etc.hpcmips/ttys: revision 1.10
share/terminfo/terminfo: revision 1.5
etc/etc.mvmeppc/ttys: revision 1.6
etc/etc.next68k/ttys: revision 1.10
etc/etc.acorn32/ttys: revision 1.9
etc/etc.ibmnws/ttys: revision 1.4
etc/etc.atari/ttys: revision 1.10
etc/etc.sgimips/ttys: revision 1.10
etc/etc.newsmips/ttys: revision 1.9
etc/etc.hpcarm/ttys: revision 1.6
etc/etc.cats/ttys: revision 1.7
etc/etc.amd64/ttys: revision 1.6
etc/etc.prep/ttys: revision 1.8
etc/etc.zaurus/ttys: revision 1.3
Per discussion on tech-userlevel, finally fix PR 10127:
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
Add a delete key capability to our wsvt25 entry. Fixes a problem noted by
David Lord on netbsd-users.
 1.19.18.1 30-Oct-2012  yamt sync with head
 1.20.36.1 08-May-2021  martin Pull up following revision(s) (requested by rin in ticket #1269):

etc/etc.mac68k/ttys: revision 1.21

Turn on constty instead of ttyE0 as done for majority of other ports
in order to make both framebuffer and serial consoles happy.

Also, change TERM from vt220 to vt100 for console and constty
in accordance with other ports.

RSS XML Feed