The NetBSD Project

CVS log for src/distrib/sets/maketars

[BACK] Up to [cvs.NetBSD.org] / src / distrib / sets

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.100 / (download) - annotate - [select for diffs], Tue Jan 30 10:24:39 2024 UTC (3 weeks, 5 days ago) by martin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.99: +3 -2 lines
Diff to previous 1.99 (colored)

Fix previous, use sed to fix up the set.${set} line in non-METAFILE mode

Revision 1.99 / (download) - annotate - [select for diffs], Mon Jan 29 15:56:49 2024 UTC (3 weeks, 6 days ago) by martin
Branch: MAIN
Changes since 1.98: +3 -2 lines
Diff to previous 1.98 (colored)

When building in priviledged mode, remove the entry for the output file
from etc/mtree/set.* - it may exist and contain stale data.

Revision 1.98 / (download) - annotate - [select for diffs], Wed Nov 8 13:02:47 2023 UTC (3 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

More conservative umask

Revision 1.97 / (download) - annotate - [select for diffs], Wed Nov 8 12:58:04 2023 UTC (3 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (colored)

Set the file creation mask consistently because the files these scripts
create can become part of an iso image.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Jun 10 16:08:41 2023 UTC (8 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.95: +3 -2 lines
Diff to previous 1.95 (colored)

sets: enhance MAKEVERBOSE support

Add more messages for various sets operations.
Add ${_MKMSG_CREATE} to bsd.own.mk.

Enhance maketars to be a bit more verbose even with -q,
to make it more obvious why certain operations may be slow.
May help debugging PR 47562.

Revision 1.95 / (download) - annotate - [select for diffs], Sat Jun 10 14:11:08 2023 UTC (8 months, 2 weeks ago) by lukem
Branch: MAIN
Changes since 1.94: +5 -2 lines
Diff to previous 1.94 (colored)

maketars: add comments for skipped mtree keywords

Reorder skipkeys alphabetically and add comment explaining
the purpose and why sha256 is not part of the variable.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Aug 21 07:10:03 2022 UTC (18 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.93: +7 -14 lines
Diff to previous 1.93 (colored)

Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC

Remove support for building extsrc/:
1. Makefile: remove do-extsrc target.
2. build.sh: remove options -y and -Y extsrcdir.
3. distrib/sets: remove support for extsrc in various tools
   including the options -L ext and -y, and the extsrc sets.
4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc)
5. bsd.own.mk and various Makefiles: remove support for extsrc/,
   EXTSRCSRCDIR, MKEXTSRC.

As proposed on tech-kern and tech-userlevel on 2022-01-07
and followed up on 2022-08-21.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Sep 25 08:54:30 2021 UTC (2 years, 5 months ago) by maya
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

Move DRM-driver firmware from base to its own set, gpufw

This set is only installed on amd64,i386,evbarm.
This set is installed on minimal installs and on install media, in
case someone needs it for basic driver functionality.

Comments:
Switched to a single MK tunable for it - that is probably unneeded.

An upcoming DRM update will include even fatter firmware, and we'd
like to minimize the impact of it.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Sep 18 01:47:07 2021 UTC (2 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

Patch the build script and toolchain to allow passing through
HOST_CPPFLAGS, HOST_CXXFLAGS, but not LIBRARY_PATH because it breaks
the build. These variables are necessary to support building NetBSD
from a GNU Guix or NixOS host, where /usr/include, /lib, and all
but /bin/sh do not exist.  In many cases, support for HOST_CPPFLAGS
was incomplete. From Ryan Sundberg

Revision 1.91 / (download) - annotate - [select for diffs], Mon May 18 21:19:34 2020 UTC (3 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.

Revision 1.86.12.2 / (download) - annotate - [select for diffs], Mon Apr 13 07:45:31 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.86.12.1: +2 -2 lines
Diff to previous 1.86.12.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Sun Nov 17 07:04:33 2019 UTC (4 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Pull up following revision(s) (requested by maya in ticket #435):

	distrib/sets/maketars: revision 1.90
	usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2
	usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3
	usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3
	usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3
	usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3
	distrib/sun3/MakeInstTape: revision 1.3
	usr.sbin/sysinst/util.c: revision 1.33
	distrib/sets/lists/rescue/mi: revision 1.1
	distrib/sets/lists/base/rescue.sun2: file removal
	usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3
	distrib/sets/lists/base/rescue.ad.m68k.shl: file removal
	distrib/sets/regpkgset: revision 1.13
	usr.sbin/sysinst/arch/i386/md.h: revision 1.7
	distrib/sets/lists/base/rescue.sparc: file removal
	distrib/notes/mvme68k/xfer: revision 1.19
	distrib/sets/sets.subr: revision 1.187
	distrib/common/bootimage/Makefile.bootimage: revision 1.22
	usr.sbin/sysinst/msg.mi.de: revision 1.16
	usr.sbin/sysinst/arch/atari/md.h: revision 1.3
	rescue/Makefile: revision 1.38
	distrib/sets/lists/base/rescue.macppc: file removal
	usr.sbin/sysinst/arch/arc/md.h: revision 1.4
	distrib/miniroot/install.sub: revision 1.49
	usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3
	usr.sbin/sysinst/arch/x68k/md.h: revision 1.3
	usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3
	usr.sbin/sysinst/arch/bebox/md.h: revision 1.3
	usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2
	distrib/sets/lists/base/rescue.shark: file removal
	usr.sbin/sysinst/arch/emips/md.h: revision 1.5
	distrib/utils/embedded/mkimage: revision 1.70
	usr.sbin/sysinst/arch/shark/md.h: revision 1.3
	usr.sbin/sysinst/arch/pmax/md.h: revision 1.4
	usr.sbin/sysinst/arch/amiga/md.h: revision 1.4
	usr.sbin/sysinst/arch/hp300/md.h: revision 1.5
	rescue/list.ldconfig: file removal
	distrib/sets/lists/base/rescue.ad.m68k: file removal
	usr.sbin/sysinst/arch/prep/md.h: revision 1.4
	usr.sbin/sysinst/arch/cats/md.h: revision 1.4
	usr.sbin/sysinst/arch/amd64/md.h: revision 1.7
	usr.sbin/sysinst/msg.mi.es: revision 1.17
	usr.sbin/sysinst/msg.mi.fr: revision 1.20
	usr.sbin/sysinst/msg.mi.pl: revision 1.23
	distrib/sets/lists/base/rescue.i386: file removal
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3
	distrib/sets/lists/base/rescue.vax: file removal
	distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12
	usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3
	distrib/sets/lists/base/rescue.mi: file removal
	distrib/sets/README: revision 1.14
	usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4
	distrib/sets/lists/base/rescue.sparc64: file removal
	distrib/sets/lists/base/rescue.mi: revision 1.45
	distrib/sets/lists/base/rescue.mi: revision 1.46
	usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4
	usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4
	distrib/sets/lists/base/rescue.ad.arm: file removal
	distrib/sets/lists/base/rescue.mac68k: file removal
	usr.sbin/sysinst/defs.h: revision 1.45
	usr.sbin/sysinst/arch/landisk/md.h: revision 1.2
	distrib/notes/atari/xfer: revision 1.17
	etc/Makefile: revision 1.441
	usr.sbin/sysinst/msg.mi.en: revision 1.22
	distrib/sun2/MakeInstTape: revision 1.2

Remove ldconfig from /rescue, and mark it MI obsolete.
- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
  since NetBSD 2.0 or so, and having it in /rescue served little purpose
  even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
  is the sole entry

Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.

Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Oct 2 11:16:00 2019 UTC (4 years, 4 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored)

Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.

Revision 1.86.12.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:42:29 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Sync with HEAD

Revision 1.86.10.1 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:04 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Ssync with HEAD

Revision 1.89 / (download) - annotate - [select for diffs], Fri Sep 28 15:04:20 2018 UTC (5 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

Prepare for .tar.xz sets

Revision 1.88 / (download) - annotate - [select for diffs], Wed Sep 26 18:20:59 2018 UTC (5 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Revert previous - will pass the additional args via the environment.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Sep 26 15:07:24 2018 UTC (5 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

Allow for ${COMPRESS_PROGRAM} to hold the name of a compressor program
plus additional arguments (like -9).

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:51:13 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.85: +4 -3 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with HEAD

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:52:07 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.85: +4 -3 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Sat Jan 21 19:37:46 2017 UTC (7 years, 1 month ago) by jklos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.85: +4 -3 lines
Diff to previous 1.85 (colored)

This fixes a bug where mtree would use names & IDs from the host system
instead of from the build.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Dec 19 22:29:23 2015 UTC (8 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.84: +8 -3 lines
Diff to previous 1.84 (colored)

Obey MKREPRO_TIMESTAMP when creating sets (create all the files in the
sets with that date).

Revision 1.84 / (download) - annotate - [select for diffs], Wed May 27 15:18:29 2015 UTC (8 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Simplify slightly

Revision 1.83 / (download) - annotate - [select for diffs], Wed May 27 09:26:46 2015 UTC (8 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.82: +8 -7 lines
Diff to previous 1.82 (colored)

Instead of guessing wether to preserve permissions on install operations
from the METALOG variable, default them to yes and add a new argument -U to
switch preservation off.

Revision 1.82 / (download) - annotate - [select for diffs], Tue May 26 15:46:01 2015 UTC (8 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.81: +7 -2 lines
Diff to previous 1.81 (colored)

Do not try to preserve permissions when copying to the -i installdir
in the METALOG case (it makes no sense at all).

Revision 1.81 / (download) - annotate - [select for diffs], Sun Apr 26 09:21:36 2015 UTC (8 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.80: +13 -6 lines
Diff to previous 1.80 (colored)

Add a new arg to override the value of the "setlistdir" variable (that is:
where the mtree spec files are created)

Revision 1.74.6.2 / (download) - annotate - [select for diffs], Thu May 22 12:01:31 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.74.6.1: +18 -16 lines
Diff to previous 1.74.6.1 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

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")

Revision 1.74.12.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:24:29 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.74: +20 -18 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

resync with head

Revision 1.80 / (download) - annotate - [select for diffs], Thu Feb 7 16:27:41 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, agc-symver-base, agc-symver
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

We always have a valid mtree file, so always specify -M

Revision 1.79 / (download) - annotate - [select for diffs], Thu Feb 7 01:24:04 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

merge d flag.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Feb 7 01:07:41 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.77: +12 -10 lines
Diff to previous 1.77 (colored)

- use dest instead of DESTDIR
- factor out pax usage, and make it use only the first word from the sets

Revision 1.77 / (download) - annotate - [select for diffs], Wed Feb 6 01:01:12 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.76: +8 -8 lines
Diff to previous 1.76 (colored)

Create full sets using mtree from the flists (not just filenames).

Revision 1.74.6.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:04:10 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

sync with head

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jan 16 21:11:05 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

- add xdebug set
- document debug better
- fix previous debug fallout.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Jan 16 16:01:05 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Add a new "debug" set that gets built when ${MKDEBUG} is set. On evbarm:
-rw-r--r--  1 root  src   35806068 Jan 16 10:47 base.tgz
-rw-r--r--  1 root  src   57374069 Jan 16 10:48 comp.tgz
-rw-r--r--  1 root  src  101286193 Jan 16 10:49 debug.tgz
...
This allows always building the debugging code and libraries but not
installing it (although now it is placed in the default sets if ${MKDEBUG}
is set

Revision 1.74 / (download) - annotate - [select for diffs], Sun Aug 15 07:27:33 2010 UTC (13 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored)

add new option to build/use tools/pigz for compressing sets.  for now
USE_PIGZGZIP defaults to "no".  (it depends upon local <pthread.h> and -lz.)

you can set it to "yes" on most modern platforms just fine.

Revision 1.64.6.2.2.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:20:40 2010 UTC (13 years, 10 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.64.6.2.2.1: +1 -1 lines
Diff to previous 1.64.6.2.2.1 (colored) next main 1.64.6.3 (colored)

sync to netbsd-5

Revision 1.73 / (download) - annotate - [select for diffs], Thu Dec 10 02:22:57 2009 UTC (14 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

sh(1) style.  No functional changes.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Dec 5 15:56:25 2009 UTC (14 years, 2 months ago) by cegger
Branch: MAIN
Changes since 1.71: +13 -12 lines
Diff to previous 1.71 (colored)

Fix syntax error on OSX 10.5.
While here, simplify handling with OPTARG using IFS.

developped with and 'go for it' dsl@

Revision 1.71 / (download) - annotate - [select for diffs], Thu Dec 3 12:44:57 2009 UTC (14 years, 2 months ago) by apb
Branch: MAIN
Changes since 1.70: +5 -1 lines
Diff to previous 1.70 (colored)

Exit with a sensible error message if makeflist output is empty.
This should be better than an incomprehensible error message from
mtree.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Nov 30 16:13:23 2009 UTC (14 years, 2 months ago) by uebayasi
Branch: MAIN
Changes since 1.69: +25 -6 lines
Diff to previous 1.69 (colored)

Support "extsrc", externally added programs and libraries.  Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)

Revision 1.69 / (download) - annotate - [select for diffs], Sat Sep 12 11:01:55 2009 UTC (14 years, 5 months ago) by apb
Branch: MAIN
Changes since 1.68: +9 -5 lines
Diff to previous 1.68 (colored)

If there are errors in creating a ${set}.tgz tar file, then don't
just press on regardless.

Revision 1.64.6.2.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 22:10:49 2009 UTC (14 years, 8 months ago) by bouyer
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.64.6.2: +3 -2 lines
Diff to previous 1.64.6.2 (colored) next main 1.64.6.3 (colored)

Pull up following revision(s) (requested by snj in ticket #790):
	share/mk/bsd.lib.mk: revision 1.298
	share/mk/bsd.man.mk: revision 1.100
	share/mk/bsd.hostprog.mk: revision 1.55
	distrib/sets/maketars: revision 1.66
	share/zoneinfo/Makefile: revision 1.43
	share/mk/bsd.kmodule.mk: revision 1.19
	usr.bin/xinstall/xinstall.c: revisions 1.106 - 1.108 via patch
	share/mk/bsd.prog.mk: revision 1.241
	share/dict/Makefile: revision 1.17
	share/mk/bsd.README: revision 1.249
	distrib/common/parselist.awk: revision 1.16
	share/mk/bsd.links.mk: revision 1.34
Explicitly sort entries on preparing set files from METALOG.
METALOG could have different order due to install(1) race
on parallel builds, and mtree(8) doesn't sort files.
Should fix inconsistent shared sets among builds as seen in
/pub/NetBSD-daily/netbsd-5/200904010000Z/shared/ and
/pub/NetBSD-daily/netbsd-5/200904010002Z/shared/ dirs.
Okay'ed by snj@.
Changes for installing with a metalog:
* When installing hard links and using a metalog, if -o, -g, -m, or -f
  args were explicitly specified on the command line, then believe them,
  but do not implicitly believe uname/gname/mode/flags from the file
  system.
* Output fields in the same order used by mtree.
Fix -Wshadow -Wcast-qual issues
Re-calculate size and digestresult after stripping, to ensure that
correct values appear in the metalog.
Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.
Also change a few things that called ${INSTALL_LINK} without going
through bsd.links.mk.
Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.

Revision 1.64.6.3 / (download) - annotate - [select for diffs], Sat Jun 6 22:10:12 2009 UTC (14 years, 8 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.64.6.2: +3 -2 lines
Diff to previous 1.64.6.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Pull up following revision(s) (requested by snj in ticket #790):
	share/mk/bsd.lib.mk: revision 1.298
	share/mk/bsd.man.mk: revision 1.100
	share/mk/bsd.hostprog.mk: revision 1.55
	distrib/sets/maketars: revision 1.66
	share/zoneinfo/Makefile: revision 1.43
	share/mk/bsd.kmodule.mk: revision 1.19
	usr.bin/xinstall/xinstall.c: revisions 1.106 - 1.108 via patch
	share/mk/bsd.prog.mk: revision 1.241
	share/dict/Makefile: revision 1.17
	share/mk/bsd.README: revision 1.249
	distrib/common/parselist.awk: revision 1.16
	share/mk/bsd.links.mk: revision 1.34
Explicitly sort entries on preparing set files from METALOG.
METALOG could have different order due to install(1) race
on parallel builds, and mtree(8) doesn't sort files.
Should fix inconsistent shared sets among builds as seen in
/pub/NetBSD-daily/netbsd-5/200904010000Z/shared/ and
/pub/NetBSD-daily/netbsd-5/200904010002Z/shared/ dirs.
Okay'ed by snj@.
Changes for installing with a metalog:
* When installing hard links and using a metalog, if -o, -g, -m, or -f
  args were explicitly specified on the command line, then believe them,
  but do not implicitly believe uname/gname/mode/flags from the file
  system.
* Output fields in the same order used by mtree.
Fix -Wshadow -Wcast-qual issues
Re-calculate size and digestresult after stripping, to ensure that
correct values appear in the metalog.
Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.
Also change a few things that called ${INSTALL_LINK} without going
through bsd.links.mk.
Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Wed May 13 19:17:50 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.64: +5 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.68 / (download) - annotate - [select for diffs], Sat Apr 11 15:09:32 2009 UTC (14 years, 10 months ago) by apb
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.67: +4 -5 lines
Diff to previous 1.67 (colored)

In various places that manipulate mtree specs, use "mtree -CS" to sort.
Remove some now-redundant standalone sort commands.

Revision 1.64.6.2 / (download) - annotate - [select for diffs], Tue Apr 7 20:48:40 2009 UTC (14 years, 10 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4
Branch point for: netbsd-5-0
Changes since 1.64.6.1: +1 -2 lines
Diff to previous 1.64.6.1 (colored) to branchpoint 1.64 (colored)

Back out ticket 654, as it exposes issues with mtree's handling
of hard links.

Revision 1.64.6.1 / (download) - annotate - [select for diffs], Sat Apr 4 17:22:48 2009 UTC (14 years, 10 months ago) by snj
Branch: netbsd-5
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #654):
	distrib/sets/maketars: revision 1.66
Explicitly sort entries on preparing set files from METALOG.
METALOG could have different order due to install(1) race
on parallel builds, and mtree(8) doesn't sort files.
Should fix inconsistent shared sets among builds as seen in
/pub/NetBSD-daily/netbsd-5/200904010000Z/shared/ and
/pub/NetBSD-daily/netbsd-5/200904010002Z/shared/ dirs.
Okay'ed by snj@.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Apr 3 22:36:35 2009 UTC (14 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Consistently use gzip with the -n flag so dates are not embedded.

Not tested on all platforms.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Apr 2 23:06:16 2009 UTC (14 years, 10 months ago) by tsutsui
Branch: MAIN
Changes since 1.65: +3 -2 lines
Diff to previous 1.65 (colored)

Explicitly sort entries on preparing set files from METALOG.
METALOG could have different order due to install(1) race
on parallel builds, and mtree(8) doesn't sort files.
Should fix inconsistent shared sets among builds as seen in
/pub/NetBSD-daily/netbsd-5/200904010000Z/shared/ and
/pub/NetBSD-daily/netbsd-5/200904010002Z/shared/ dirs.
Okay'ed by snj@.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Apr 2 18:06:54 2009 UTC (14 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

Clean up set files to make them consistent using mtree. Patch from lukem.

Revision 1.62.8.2, Sun Oct 5 20:10:32 2008 UTC (15 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.62.8.1: +1 -1 lines
FILE REMOVED

Sync with HEAD.

Revision 1.62.8.1 / (download) - annotate - [select for diffs], Thu Apr 3 13:54:13 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.62: +20 -7 lines
Diff to previous 1.62 (colored)

Sync with HEAD.

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:39 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.62: +20 -7 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head.

Revision 1.61.10.2 / (download) - annotate - [select for diffs], Sun Mar 23 00:21:02 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.61.10.1: +20 -7 lines
Diff to previous 1.61.10.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Sun Mar 16 07:02:22 2008 UTC (15 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase
Branch point for: netbsd-5, jym-xensuspend
Changes since 1.63: +16 -6 lines
Diff to previous 1.63 (colored)

Add '-q' to maketars and makesrctars, to quieten them.
Improve MAKEVERBOSE support.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Mar 16 04:39:19 2008 UTC (15 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.62: +5 -2 lines
Diff to previous 1.62 (colored)

Cleanup .tgz.tmp files on exit.

Revision 1.61.10.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:28:13 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Mon Nov 12 15:06:45 2007 UTC (16 years, 3 months ago) by jmmv
Branch: MAIN
CVS Tags: mjf-devfs-base, mjf-devfs, matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Add the tests.tgz set

This adds a new tests.tgz set to releases which includes all the tests
for the system.  It is important to note that this set does not rely on
comp.tgz: a user of the system can run the tests without having the
development tools installed, which can be useful in a production machine.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jan 28 19:01:23 2006 UTC (18 years, 1 month ago) by apb
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

No space in "function()", "command;" or "$(command)".
Requested by christos.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jan 8 10:10:03 2006 UTC (18 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

When printing messages to stderr, always use
echo >&2 "${prog}: ..."

Approved by christos

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jan 4 15:03:39 2006 UTC (18 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.58: +4 -15 lines
Diff to previous 1.58 (colored)

Remove the code that used "${MTREE} -C ..." to sanitise the plist.  We
can now assume that it's already been sanitised before maketars was
invoked.

Reviewed by agc

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jan 3 18:31:09 2006 UTC (18 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.57: +77 -74 lines
Diff to previous 1.57 (colored)

Ensure that (almost) all shell variables in distrib/sets/* scripts are
used with curly braces and quotes, as in "${var}".

Also ensure that command substitution is quoted, as in "$(command)", and
convert `command` to $(command).

Reviewed by agc

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jan 3 16:40:16 2006 UTC (18 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.56: +6 -5 lines
Diff to previous 1.56 (colored)

Add shell variables defined in sets.subr for almost all commands used
by scripts in distrib/sets/*.  This is intended to be useful when cross
building.  Only trivial commands like echo, cat, and rm are excluded
from this treatment.

While I am here, make ${MTREE} and ${DB} follow the pattern used by most
other such variables.

Reviewed by agc.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jan 3 15:42:42 2006 UTC (18 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.55: +3 -9 lines
Diff to previous 1.55 (colored)

Move default values for several shell variables into sets.subr.

Reviewed by agc

Revision 1.55 / (download) - annotate - [select for diffs], Fri Oct 21 02:41:14 2005 UTC (18 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored)

Set default vars so blank and unset both end up w. a reasonable default

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jul 23 15:11:26 2004 UTC (19 years, 7 months ago) by erh
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.53: +5 -4 lines
Diff to previous 1.53 (colored)

Make all the sets scripts work even when not run from the directory that
they reside in.
Change any uses of dirname to use shell variable substitution instead.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Apr 18 19:52:32 2004 UTC (19 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.52: +5 -3 lines
Diff to previous 1.52 (colored)

Write to a temporary file and mv to real name to avoid getting a
truncated file if/when interrupted.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Feb 19 02:54:51 2004 UTC (20 years ago) by dyoung
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Clearly the error message was supposed to print $metalog, not
$METALOG.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Feb 6 11:38:57 2004 UTC (20 years ago) by lukem
Branch: MAIN
Changes since 1.50: +5 -3 lines
Diff to previous 1.50 (colored)

When not using a metalog, only copy the generated flist.<set> over
/etc/mtree/set.<set> if they are different.  This should allow
installsets to operate from a pre-populated read-only DESTDIR.
Based on fix from Juergen Hannken-Illjes.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jan 30 08:39:50 2004 UTC (20 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.49: +53 -35 lines
Diff to previous 1.49 (colored)

Create ${DESTDIR}/etc/mtree/set.<setname> setfiles for each given <setname>.
Add `-S' to exit after creating the setfiles.
Send errors to stderr instead of stdout.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jan 29 08:32:51 2004 UTC (20 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.48: +5 -5 lines
Diff to previous 1.48 (colored)

Also remove "xetc" from the default list of sets copied with  -i installdir

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jan 3 02:38:58 2004 UTC (20 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored)

rename all the <bsd.own.mk> derived variables to uppercase, and export
them to the environment.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Dec 29 03:13:25 2003 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.46: +49 -47 lines
Diff to previous 1.46 (colored)

Significant overhaul of how the sets are used:

* Add an optional third field to the sets file which is a list of
  comma separated keywords that control if the line is printed.
  Currently supported keywords
	kerberos4	${MKKERBEROS4} != no
	kerberos	${MKKERBEROS} != no
	lint		${MKLINT} != no
	obsolete	${obsolete} != 0.
			In this case, non obsolete files are not printed.
  (This will allow future support for builds with variables such as
  MKHESIOD and MKYP set to "no".)

* Use sh(1)'s getopts where appropriate, and otherwise cleanup the
  various scripts.

* Move defaults for sets.subr from sets.defaults into sets.subr.
  Move replicated code for determining stuff such as shlibs type
  from various scripts into sets.subr.

* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate
  main lists with the relevant third field keyword(s).

Revision 1.46 / (download) - annotate - [select for diffs], Fri Dec 19 22:25:54 2003 UTC (20 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (colored)

Redo creation of sets/sums so this can be parallelized if using -j.
Suggested in PR#20115 and PR#20116

Revision 1.45 / (download) - annotate - [select for diffs], Tue Nov 25 07:19:46 2003 UTC (20 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.44: +3 -4 lines
Diff to previous 1.44 (colored)

Factor duplicated code for setting variables such as machine_cpu
and machine_arch to their defaults into sets.defaults, and source
it at the top of each script.

Also, to be consistent with variable naming, s/arch/machine_arch/.

sets.defaults introduces two new variables, krb and krb4, which
will affect whether Kerberos- or Kerberos IV-only files are put
into the set lists.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Oct 16 14:20:20 2003 UTC (20 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.43: +3 -5 lines
Diff to previous 1.43 (colored)

Report correct error code (in particular when mtree objects to METALOG file).

Revision 1.43 / (download) - annotate - [select for diffs], Tue Sep 30 05:07:40 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.42: +10 -28 lines
Diff to previous 1.42 (colored)

* use ${MKTEMP} -d  instead of home-grown tempdir creation code
* use $(...) instead of `...`
* fix a recent modification to follow the same coding style as the
  rest of the file...  (mmm, consistency)

Revision 1.42 / (download) - annotate - [select for diffs], Fri Aug 22 19:08:47 2003 UTC (20 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.41: +5 -1 lines
Diff to previous 1.41 (colored)

Since the METALOG is updated by every install, there is no need to
remake the sets if the set files are newer than METALOG.
Useful for running DISTRIBUTION_DONE= nbmake in src/etc in order to
rebuild with new kernels and/or new ramdisk.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 3 06:43:02 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.40: +9 -2 lines
Diff to previous 1.40 (colored)

if the mtree parse of METALOG fails, exit.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Apr 7 17:22:19 2003 UTC (20 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Temporarily revert last. It now screws over symlinks from the destdir,
which is the inverse problem. It is fixable by piping one pax -w into
a pax -r instead of using a pax -rw, but unfortunately that won't work
yet because I've hit a pax issue. I'll fix that and then fix this right.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Apr 6 19:41:03 2003 UTC (20 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

do pax -L so that symlinks aren't blown away.
Beginning of work to fix PR install/8090 from Luke Mewburn

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jan 21 19:07:05 2003 UTC (21 years, 1 month ago) by erh
Branch: MAIN
Changes since 1.37: +14 -3 lines
Diff to previous 1.37 (colored)

Return the correct exit status in the trap handler so errors get caught.
Also make sure the status is less than 256.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 6 20:30:42 2003 UTC (21 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

writable, not writeable.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jan 3 15:26:32 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

improve description of -t

Revision 1.35 / (download) - annotate - [select for diffs], Wed Dec 25 23:47:32 2002 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.34: +7 -1 lines
Diff to previous 1.34 (colored)

improve description

Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 25 23:44:06 2002 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

fix header to match usage

Revision 1.33 / (download) - annotate - [select for diffs], Mon Dec 23 06:52:48 2002 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.32: +3 -4 lines
Diff to previous 1.32 (colored)

Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 21 15:54:49 2002 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Invoke ${PAX} with '-O' so that various errors don't hang the make
or the command with an interactive question.  (This also prevents
weird problems if a directory element of '-f path' is missing and
'make -j N' is being used).

Revision 1.31 / (download) - annotate - [select for diffs], Thu Dec 19 12:33:10 2002 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Always call maketars (and subsequently pax) with -N ${NETBSDSRCDIR}/etc,
so that we always use the user & group databases from there rather than
the host systems.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Dec 19 06:21:45 2002 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.29: +14 -8 lines
Diff to previous 1.29 (colored)

maketars:
- add "-N etcdir", to be used for pax & mtree -N.  defaults to ${DESTDIR}/etc

Makefile:
- if UNPRIVED, call maketars with "-N ${NETBSDSRCDIR}/etc", so that
  "make UNPRIVED= DESTDIR=/foo installsets" can work with an empty
  ${DESTDIR}/etc. (i.e, after a make build without install-etc-files)

Revision 1.29 / (download) - annotate - [select for diffs], Tue Dec 17 01:59:32 2002 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

consistently use $dest instead of $DESTDIR

Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 12 08:51:49 2002 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.27: +27 -9 lines
Diff to previous 1.27 (colored)

Add '-i installdir', to copy the given sets from $DESTDIR to installdir
instead of creating tar files.  If the default sets are used, "etc" is
removed from the list, because it's highly unlikely that it's wanted
in that case.

Tested against a DESTDIR created with "make UNPRIVED= DESTDIR=.... build".

Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 26 06:22:23 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

use ${make} instead of ${MAKE} in the shell scripts, to prevent weird
lossage with the modified ${MAKE} getting passed to child make's

Revision 1.26 / (download) - annotate - [select for diffs], Mon Nov 25 23:29:54 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

explicitly add  " -f `dirname $0`/Makefile "  to ${MAKE}, so that
these scripts do not need to be run from this directory in order
to function correctly

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Tue Jul 23 09:16:32 2002 UTC (21 years, 7 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up revision 1.25 (requested by lukem):
set  MAKE="${MAKE:-make} -j 1"  to prevent problems where the output
of make -j N>1 would result in junk in various shell variables

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jul 23 09:02:46 2002 UTC (21 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

set  MAKE="${MAKE:-make} -j 1"  to prevent problems where the output
of make -j N>1 would result in junk in various shell variables

Revision 1.24 / (download) - annotate - [select for diffs], Sun May 19 13:24:22 2002 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

keep separate temp files for "full" flists

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 13 12:47:10 2002 UTC (21 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.22: +14 -11 lines
Diff to previous 1.22 (colored)

- clean up SDIR (temporary directory) creation
- improve munging of NetBSD.dist and METALOG into metalog, using mtree to
  "cleanup" / "merge" entries, and don't sort the result.
  relies upon mtree to not change the order (see below)
- use (newly added) join.awk to output lines in metalog that are listed
  in flist.${set}.  join.awk doesn't require either file to be sorted
  (unlike join(1)), which is required because we want to retain the
  order of the metalog, because certain entries in the metalog (such
  as hard links) make assumptions about the permissions of earlier entries.
  this should fix [toolchain/16207]

Revision 1.22 / (download) - annotate - [select for diffs], Mon Apr 8 17:18:23 2002 UTC (21 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.21: +2 -16 lines
Diff to previous 1.21 (colored)

Solve problem with with XFree86 3.3.6/4.x set "maketars" differently:
We don't want e.g. a seperate "xbase.tgz" and "xbase3.tgz" but one
combined archive.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 8 15:39:33 2002 UTC (21 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.20: +16 -2 lines
Diff to previous 1.20 (colored)

Fix problem with building X11 release "tar" archives after support for
XFree86 4.x sets has been added. Problem noted by Richard Earnshaw in
private e-mail.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 1 15:50:30 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.19: +22 -2 lines
Diff to previous 1.19 (colored)

Instead of using mktemp -d (which isn't available on many systems), use mkdir
in a loop to create a temporary directory.  Add a few chacks for the sanity
of /tmp first, so as to avoid making the loop infinite.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Mar 1 07:21:14 2002 UTC (22 years ago) by lukem
Branch: MAIN
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

- use numeric rather than symbolic trap names; it's more portable
- read NetBSD.dist from ${DESTDIR}/etc/mtree instead of /usr/src/etc/mtree
- run mtree with "-N ${DESTDIR}/etc" instead of using the host user databases

Revision 1.13.10.4 / (download) - annotate - [select for diffs], Wed Feb 27 20:45:26 2002 UTC (22 years ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.13.10.3: +3 -3 lines
Diff to previous 1.13.10.3 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Apply patch (requested by he):
  Actually make the exit status collection work.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 27 10:51:47 2002 UTC (22 years ago) by lukem
Branch: MAIN
Changes since 1.17: +43 -10 lines
Diff to previous 1.17 (colored)

Fixes to allow unprivileged building of the binary tar files to
contain the correct permissions.

Makefile:
- set SETSENV to the list of variables we wish to pass to each shell
  script and use that, rather than duplicating the effort below
- call maketars with "-M ${METALOG}" if UNPRIVED is set.

getdirs.awk:
- takes a list of filenames and outputs the list along with all the
  directories used by those filenames

maketars:
- support "-M metalog"
- merge etc/mtree/NetBSD.dist with the "-M metalog" for use in the tgz build
- for a given set, find the union between the set list and the metalog
  generated above and use that as the list of files to ${PAX} up as the
  tgz file.

Revision 1.13.10.3 / (download) - annotate - [select for diffs], Tue Feb 26 20:07:40 2002 UTC (22 years ago) by he
Branch: netbsd-1-5
Changes since 1.13.10.2: +6 -3 lines
Diff to previous 1.13.10.2 (colored) to branchpoint 1.13 (colored)

Pull up revision 1.17 (via patch, requested by he):
  Collect exit status for all set constructions before exiting.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Feb 26 20:03:08 2002 UTC (22 years ago) by he
Branch: MAIN
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored)

Wait with exiting on error until all the install sets have been
attempted to be created.

This way, in "discover missing files" mode, you'll get the benefit
of getting all the missing files listed before this script bombs
out with a non-zero exit status, something which can be of benefit
on slow machines.

Revision 1.13.10.2 / (download) - annotate - [select for diffs], Sat Feb 23 18:27:47 2002 UTC (22 years ago) by he
Branch: netbsd-1-5
Changes since 1.13.10.1: +5 -4 lines
Diff to previous 1.13.10.1 (colored) to branchpoint 1.13 (colored)

Pull up revision 1.15 (requested by jmc):
  If, during construction of an install set, pax did not find one
  or more files, error out.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Nov 24 03:08:27 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored)

Use the logic in bsd.own.mk to determine machine/machine_arch.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 22 07:03:44 2001 UTC (23 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.14: +5 -4 lines
Diff to previous 1.14 (colored)

Change pipeline in sets building so proper error detection for each stage
can be detected. This way sets stop building at the exact file that doesn't
exist rather than continuing.

Revision 1.13.10.1 / (download) - annotate - [select for diffs], Wed Nov 1 02:08:44 2000 UTC (23 years, 4 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Pullup 1.14 [jmc]:
Enable xmisc in sysinst.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Oct 1 22:49:05 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Add the xmisc set.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 13 07:59:45 1999 UTC (25 years ago) by itohy
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

Use "$MAKE" instead of "make" for cross environment.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 3 18:17:45 1998 UTC (25 years, 2 months ago) by frueauf
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Use $out correctly, pointed out in pr 6526 by Dave Huang.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 18 11:09:12 1998 UTC (25 years, 3 months ago) by he
Branch: MAIN
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

There should be no need for the "set -x" now, it clutters output.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 27 08:27:36 1998 UTC (25 years, 8 months ago) by ross
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

The newly churned maketars was apparently not tested in its normal
mode with no options and no parameters.

You have to be careful about the difference between $@ and $*.
In particular, "if [ -n "$@" ]" does not do what you think it will.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 15 14:45:06 1998 UTC (25 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.8: +58 -25 lines
Diff to previous 1.8 (colored)

* replace '-arch arch' with '-m machine' (as per make(1)'s $MACHINE). e.g, i386
* add '-a arch' - $MACHINE_ARCH. e.g, m68k, powerpc
* replace long -options with short -options (with backward compat)
* ``knf''ify scripts

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Fri Nov 28 08:48:31 1997 UTC (26 years, 3 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.3.2.4: +2 -2 lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Pull rev 1.8 up from trunk (jonathan)

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 27 11:05:25 1997 UTC (26 years, 3 months ago) by jonathan
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Change ".tar.gz" tarball suffix to ".tgz", per release(7).

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Sun Nov 9 21:05:11 1997 UTC (26 years, 3 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.3.2.3: +2 -1 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)

Pull rev 1.7 up from trunk (chopps)

Revision 1.7 / (download) - annotate - [select for diffs], Sun Nov 9 20:47:32 1997 UTC (26 years, 3 months ago) by chopps
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

add -both arg for when one puts xsrc and src builds in same DESTDIR

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu Nov 6 22:16:13 1997 UTC (26 years, 3 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.3.2.2: +2 -2 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

Pull rev 1.6 up from trunk (scottr)

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 5 22:08:25 1997 UTC (26 years, 3 months ago) by scottr
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

When deciding which md set lists to use, prefer $MACHINE over
uname -m

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Oct 29 00:15:20 1997 UTC (26 years, 4 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.3.2.1: +2 -2 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Pull rev 1.5 up from trunk (veego)

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Oct 28 23:32:40 1997 UTC (26 years, 4 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

Pull rev 1.4 up from trunk (veego)

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 28 17:29:48 1997 UTC (26 years, 4 months ago) by veego
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Add xcontrib to xlists.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 28 13:35:24 1997 UTC (26 years, 4 months ago) by veego
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

Add a new option '-x11' for the xsets.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 18 06:03:48 1997 UTC (27 years ago) by mikel
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Feed makeflist to sh, instead of relying on x-bits; from Andrew
  Wheadon in PR 3116.

Revision 1.2 / (download) - annotate - [select for diffs], Mon May 20 19:11:05 1996 UTC (27 years, 9 months ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.1: +43 -36 lines
Diff to previous 1.1 (colored)

More portable versions of makeflist and maketars that can be used to
cross-make a distribution.  Also avoid duplicating makeflist logic.

Revision 1.1.1.1.2.2 / (download) - annotate - [select for diffs], Mon Aug 29 15:21:04 1994 UTC (29 years, 6 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.1.1.1.2.1: +43 -0 lines
Diff to previous 1.1.1.1.2.1 (colored) to branchpoint 1.1.1.1 (colored) next main 1.2 (colored)

distribution sets contents lists

Revision 1.1.1.1.2.1, Mon Aug 29 15:21:03 1994 UTC (29 years, 6 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.1.1.1: +0 -43 lines
FILE REMOVED

file maketars was added on branch netbsd-1-0 on 1994-08-29 15:21:04 +0000

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Aug 29 15:21:03 1994 UTC (29 years, 6 months ago) by cgd
Branch: cgd
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, cgd-940829
Branch point for: netbsd-1-0
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

distribution sets contents lists

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 29 15:21:02 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>