Up to [cvs.NetBSD.org] / src / distrib / cdrom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove historical distrib/cdrom stuff. All release ISO images are now handled by build.sh without these files. No objection on tech-install@: https://mail-index.netbsd.org/tech-install/2024/09/15/msg000752.html
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
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.
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.
Drop -data-change-warn from MKISOFS_FLAGS. It's available only on cdrtools-3.x and later.
Build mac68k and macppc iso images using tools/mkhybrid.
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.
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?
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?
Remove port-acorn26 OK core@
Sync with HEAD
Sync with HEAD
more MKREPRO_TIMESTAMP fixes (for pax/tar generated files)
Rebase to HEAD as of a few days ago.
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Bring back the playstation2 port - now that a toolchain for it is available again.
Remove support for NetBSD/playstation2.
Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Use pre-generated boothfs.uue binary to create macppccd.
Remove an extra escape char. bash(1) complains about it.
Use ${TOOL_PAX} rather than tar(1) on the build host. On some system tar(1) doesn't have --fast-read option.
Don't remove ${DISTRIBDIR} on cleandir if it isn't default.
Check if RSYNC and MKISOFS tools are installed before invoking them. (otherwise we get strange error messages because MKISOFS is used in pipe)
Print error message properly when ${RELEASE} is not set.
Fix a bug slipped in rev 1.40 which puts extra MD directories into ISO on multiple image targets.
Change default path of mkisofs(8) from /usr/pkg/bin to /usr/local/bin since recent versions in pkgsrc won't work.
- explicitly define the default make target - create shared/ALL and shared/${MACHINE_ARCH} directories only if they exist in ${DISTRIBDIR}
Add backslashes missed in rev 1.38. Fixes traditional bootable macppccd build. (though this seems to require mkisofs 2.01 or prior)
Use ${TOOL_SED} instead if plain sed in Makefiles.
Sync with HEAD.
sync with HEAD
Use ${TOOL_STAT} to get file size instead of ls and awk in more places.
file Makefile was added on branch mjf-devfs on 2007-12-08 12:30:19 +0000
Use ${TOOL_STAT} to get file size instead of ls and awk in more places.
Add more useful variables for rsync to fetch binary sets: RSYNC_HOST specify rsync host (default: rsync.NetBSD.org) RSYNC_PATH_PREFIX specify extra prefix path of NetBSD module names for rsync mirrors ex. "/pub", "/netbsd" etc. (default: empty) DAILY_DIR specify directory name on using NetBSD-daily snapshot for -current ex. "200712060002Z" etc. (no default; mandatory for -current) RELEASE_SUFFIX specify suffix of directory names used for pre-releases ex. "_BETA2", "_RC5" etc. (default: empty) RSYNC_PATH specify path used to rsync hosts (default: set from the above variables) Examples: make RELEASE=3.1 TARGET_CD_IMAGE=mac68kcd fetch -> fetch 3.1 mac68k sets from rsync.NetBSD.org:/NetBSD/NetBSD-3.1/ make RELEASE=4.0 TARGET_CD_IMAGE=mac68kcd RELEASE_SUFFIX=_RC5 fetch -> fetch 4.0_RC5 mac68k sets from rsync.NetBSD.org:/NetBSD/NetBSD-4.0_RC5/ make RELEASE=current TARGET_CD_IMAGE=mac68kcd DAILY_DIR=200712060002Z fetch -> fetch -current mac68k sets from rsync.NetBSD.org:/NetBSD-daily/HEAD/200712060002Z/ make RELEASE=4.0 TARGET_CD_IMAGE=mac68kcd RELEASE_SUFFIX=_RC5 \ RSYNC_HOST=rsync3.jp.NetBSD.org RSYNC_PATH_PREFIX=/pub fetch -> fetch 4.0_RC5 mac68k sets from rsync3.jp.NetBSD.org:/pub/NetBSD/NetBSD-4.0_RC5/ make RELEASE=3.1 TARGET_CD_IMAGE=mac68kcd \ RSYNC_PATH=/NetBSD-daily/netbsd-3/200712060002Z fetch -> fetch mac68k sets of netbsd-3 branch from rsync.NetBSD.org:/pub/NetBSD-daily/netbsd-3/200712060002Z
- fix "Rounding up to 32k boundary and padding 32k" code ("dd if=/dev/zero bs=512 count=0" seems to cause unexpected results) - use ${TOOL_STAT} to get file size instead of ls and awk (1.6.x don't have ${TOOL_STAT} but they have been obsolete anyway) Both are taken from sys/arch/i386/stand/bootxx/Makefile.bootxx.
Switch i386 and amd64 to native boot, if INTFILES contains bootxx_cd9660. Use x86 native boot for current. Swap i386 and amd64 in multiarch CD sets (cd1 would overflow by 30M otherwise) and leave vax out (cd3 would overflow by more than 100M - time for a multi-cd4 ?)
Several fixes to make sgimipscd actually bootable: - introduce SGIMIPS_SGIVOL variable which specifies sgivol(8) path because nbsgivol tool is available only in TOOLDIR for sgimips and possibly exists in a different directory from default TOOLDIR path - use fixed (4096) value for SGIVOLHDR.size because default value taken from <sys/bootblock.h> is 3135 (not multiples of 4) so it doesn't match 2048bytes/sector CD images - also pass SGIVOLHDR.size to sgivol(8) on creating volume - rename raw iso9660 image before creating SGIVOLHDR to avoid incomplete (non-bootable) image left on failure of sgivol(8) Problem (i.e. sgimipscd-3.0.2.iso is not bootable) was reported by Thierry Lacoste on port-sgimips, and fixed images are also tested by him on IP22 (and by me on IP32).
We can't use && in expression for test(1); use -a instead.
Remove an extra trailing slash.
use -publisher instead of -P. from mkisofs(1): -P Outdated option reserved by POSIX.1-2001, use -publisher instead. This option will get POSIX.1-2001 semantics with mkisofs-2.02.
Pull up following revision(s) (requested by tsutsui in ticket #172): distrib/cdrom/macppc_installboot/macppc_installboot.c: file removal distrib/cdrom/macppc_installboot/cd9660_util.c: revision 1.1 distrib/cdrom/Makefile: revision 1.29 distrib/cdrom/macppc_mkboothfs/Makefile: revision 1.1 distrib/cdrom/macppc_installboot/bootxx.raw.uue: file removal distrib/cdrom/NetBSD-current.mk: revision 1.5 distrib/cdrom/macppc_mkboothfs/mkboothfs.c: revision 1.1 distrib/cdrom/macppc_installboot/mkmacppcboot.c: file removal distrib/cdrom/macppc_installboot/macppcboot.raw.uue: file removal distrib/cdrom/macppc_installboot/cd9660.c: revision 1.1 distrib/cdrom/macppc_installboot/Makefile: revision 1.6 distrib/cdrom/NetBSD-4.0.mk: revision 1.2 distrib/cdrom/macppc_installboot/installboot.c: revision 1.1 distrib/cdrom/macppc_installboot/installboot.h: revision 1.1 Reorganize macppc_installboot to make macppccd.iso image actually bootable on (some) OpenFirmware 2.x machines. Current macppccd.iso image doesn't boot on Openfirmware 2.x (and probably 1.0.5) machines because it uses pre-compiled binary which is based on old (and customized) bootxx. It causes version mismatch against newer ofwboot whose load address has been changed from 0x600000 to 0xe00000, as mentioned in the following post: http://mail-index.netbsd.org/port-macppc/2004/12/14/0020.html There was also an raw binary which was passed to mkisofs as -boot-hfs-file. To fix these issue, prepare a simple mkhfsboot program which creates a boothfs file with the Apple partition map info for mkisofs, and modify macppc_installboot to search the secondary ofwboot from isofs and to put and modify the primary bootxx accordingly. See PR toolchain/30245 for more details. There are still some machines which don't boot from an iso image created by this method (G3 machines with OF 2.0f1 etc.), but it's still better than to keep ugly and obsolete hacks. Ok'ed by macallan, and there is no other particular comment about this PR.
Pull up following revision(s) (requested by tsutsui in ticket #172): distrib/cdrom/Makefile: revision 1.28 Remove trailing slash from RSYNC_INCLUDE and RSYNC_EXCLUDE pathes so that rsync can get regular files.
Reorganize macppc_installboot to make macppccd.iso image actually bootable on (some) OpenFirmware 2.x machines. Current macppccd.iso image doesn't boot on Openfirmware 2.x (and probably 1.0.5) machines because it uses pre-compiled binary which is based on old (and customized) bootxx. It causes version mismatch against newer ofwboot whose load address has been changed from 0x600000 to 0xe00000, as mentioned in the following post: http://mail-index.netbsd.org/port-macppc/2004/12/14/0020.html There was also an raw binary which was passed to mkisofs as -boot-hfs-file. To fix these issue, prepare a simple mkhfsboot program which creates a boothfs file with the Apple partition map info for mkisofs, and modify macppc_installboot to search the secondary ofwboot from isofs and to put and modify the primary bootxx accordingly. See PR toolchain/30245 for more details. There are still some machines which don't boot from an iso image created by this method (G3 machines with OF 2.0f1 etc.), but it's still better than to keep ugly and obsolete hacks. Ok'ed by macallan, and there is no other particular comment about this PR.
Remove trailing slash from RSYNC_INCLUDE and RSYNC_EXCLUDE pathes so that rsync can get regular files.
The sgimips files will be extracted into a different directory if sgimips is on an image of a different name - compensate.
Don't make sgimips images bootable unless EXTFILES.sgimips is defined. While I'm here, fix so that building from a clean objdir works properly.
Pull up following revision(s) (requested by martin in ticket #862): distrib/cdrom/Makefile: revision 1.25 distrib/cdrom/NetBSD-current.mk: revision 1.3 Make sgimipscd.iso bootable.
Make sgimipscd.iso bootable.
If building a source only cd don't include shared/ALL
Make sure amd64 cd's get bootblocks on them correctly also
Initial import of iyonix port. The Iyonix is a desktop machine from Castle Technology, based on a 600MHz XScale[tm] 80321 processor. * Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible. * Currently boots multiuser with a serial console. * Device support is not yet complete. With help from abs.
Fix typo so VAX_IBOOT works
netbsd.org->NetBSD.org
explicitly pull in <bsd.own.mk> for NETBSDSRCDIR (to be safe)
Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo Document all of these in bsd.README. This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
use distrib/common/sunbootcd.sh instead of distrib/utils/mksunbootcd/*
After pax-as-tar conversion the -O option no longer exists nor is a substitute available (boo..hiss..). Fix the extraction to deal with this.
The walnut port has been subsumed by the new evbppc port.
don't depend upon 'cvs -kb' to preserve macppcboot.raw (et al). instead, keep uuencoded versions in the repository. (arguably /usr/sbin/installboot -m macppc should support -t cd9660, at which point we'd nuke this macppc_installboot hack)
- add more MACHINE_ARCH.xxx variables - when building RSYNC_INCLUDE, only add a directory once - automatically add `shared/ALL' and `shared/${MACHINE_ARCH}' to ${BASE_PORTS.${image}} for each unique MACHINE_ARCH in the latter. - don't bother explicitly listing shared/* in the example - note that the cats cdrom is now bootable
enable -o append for alpha as well
revert part of previous; alpha installboot still needs to come after everything else, because non of the other installboot(8) backends support recalculating the alpha checksum (yet).
- create ${IMAGEDIR}/${image}.contents, with the files from BASE_PORTS.${image} (could be extended ) - move alpha installboot above pmax/vax; it doesn't need to be last anymore - cosmetic tweaks
Instead of building the staging area with symlinks and using "mkisofs -f", only populate the stage area with the minimal necessary files and use "mkisofs -graft-points -path-list pathlistfile", and populate pathlistfile with the "reachover" paths. IMPORTANT NOTE: This change requires mkisofs 1.15a34 or newer for a working -graft-points option. This can be found in the cdrecord-devel 1.11a34 package. Don't fetch by default; the rsync is resource intensive on rsync.netbsd.org and is often unnecessary. Deprecate NO_FETCH whilst here. Use "make fetch" explicitly... Explicitly add ${RELEASENAME} to RSYNC_SITE (and remove it from all the other rsync options), and deprecate ${RELEASE_SUBDIR} Add some # { and # } comments, to make it easier to track make(1) conditionals & loops.
- don't hardcode the CD size to 666000 blocks; use CD_SIZE variable instead. - access mksunbootcd via ${NETBSDSRCDIR}/... && ${PRINTOBJDIR} - use ${INSTALLBOOT} for alpha,pmax,vax instead of /sys/arch/*/stand/... - use ${.CURDIR}/macppc_installboot to access macppcboot.raw
s/${DISTDIR}/${DISTRIBDIR}/ as the former conflicts with pkgsrc. add 1.6 support for vax cdrom's. other ports in NetBSD-1.6.mk are as in 1.6.mk and are probably wrong.
Pull up revision 1.6 (requested by lukem in ticket #279): use ${PRINTOBJDIR} (mmm, finding make -j N>1 build bugs)
use ${PRINTOBJDIR} (mmm, finding make -j N>1 build bugs)
Add LOG_MKISOFS option to produce extra-verbose logs of the mkisofs image generation info (-v -v).
Use the public-access rsync entrypoint, not a ssh-based developer type.
Clean up hidden files a bit. Give sensible HFS types to some file extensions. Fix alpha kernel to be a link, not gzip extraction.
Minor updates, fixes, and cleanups.
First draft of multiple-arch CD-ROM creation system. This is extremely rough at this point, and needs more fleshing out in several areas. Does not yet do packages or check for the existence of support programs--to be fixed.