christos
15545435eb
- modernize: use getopts/usage/true/false variables
...
- if ${MKREPRO_TIMESTAMP} is used, synthesize all the information, instead
of eliding it.
2017-04-08 18:24:09 +00:00
justin
5d43dac3af
Work around escaping issues with quotes in substitutions, to fix cross builds
2014-08-03 13:14:59 +00:00
apb
7fa1ca92e5
BUILDINFO part 1: newvers.sh
...
If the BUILDINFO environment variable is set, then interpret it as
a string with embedded C-style escapes and store it in a new
buildinfo variable in the emitted vers.c file.
Also centralise the awk code for converting a multi-line string
to C source code.
2014-08-03 09:13:11 +00:00
apb
8acaaf26b8
Document command line options and other inputs and outputs.
2014-06-14 12:42:41 +00:00
apb
8d7dc1eea4
Append ".${BUILDID}" to the default value of <id>,
...
provided the "-i <id>" command line option was not used.
2014-06-14 12:35:18 +00:00
snj
4619d47274
Remove ad clause on a UCB license.
2010-01-10 23:55:03 +00:00
pooka
25da823f47
* support passing ident on the command line
...
* rename -i to -n since it's less confusing when coupled with the above
2009-12-16 21:25:03 +00:00
pooka
ffd78a62ec
Make it possible to leave out .note.netbsd.ident with command line flag -i.
2009-12-16 20:54:49 +00:00
perry
b30c3a7aac
Add a -r option that produces a version string without the time or kernel
...
build number in it. This will be used for reproducible builds.
2009-03-30 16:29:55 +00:00
yamt
e951b81082
don't embed localized timestamps into kernels/bootblocks.
2009-02-20 13:41:27 +00:00
skrll
833a64ae25
Deal with arm gas weirdness.
2007-11-17 08:59:51 +00:00
skrll
cf7197a7f7
Fix previous. Very sorry.
2007-11-16 21:48:19 +00:00
skrll
c4d9e0b7d1
Add a note section everywhere. There will be fallout from this, but it'll
...
be fixed pretty sharpish.
Discussed with and approved by martin. (martin told me to say this)
2007-11-16 20:01:48 +00:00
christos
2d6848b0e4
alpha can do notes.
2007-09-21 15:37:17 +00:00
christos
058554bbc4
amd64 kern.ldscript can handle notes now
2007-05-12 21:00:00 +00:00
martin
bc950f0b4a
Note section for m68k
2006-12-11 19:46:56 +00:00
macallan
f2ee53a3d8
Enable the .note.netbsd section for macppc
2006-12-05 20:41:46 +00:00
skrll
7e7373acc9
Enable the .note.netbsd section for hppa.
2006-12-05 16:58:11 +00:00
martin
884e5dfbd6
Properly mark the .note.netbsd.ident section as ELF NOTE section.
...
While there, enable the mark for sparc64.
2006-12-05 16:15:53 +00:00
christos
5d02b2963e
Enable NetBSD note on i386. Portmasters, please fix your ldscripts :-)
2006-12-02 04:48:34 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
thorpej
65412a2710
Implement expansion of special "magic" strings in symlinks into
...
system-specific values. Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.
This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag. It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.
The following magic strings are supported by the implementation:
@machine value of MACHINE for the system
@machine_arch value of MACHINE_ARCH for the system
@hostname the system host name, as set with sethostname()
@domainname the system domain name, as set with setdomainname()
@kernel_ident the kernel config file name
@osrelease the releaes number of the OS
@ostype the name of the OS (always "NetBSD" for NetBSD)
Example usage:
mkdir /arch/i386/bin
mkdir /arch/sparc/bin
ln -s /arch/@machine_arch/bin /bin
2005-06-23 00:30:28 +00:00
christos
16b557a02b
Simplify the awk to print the copyright, by using printf instead of print.
2005-02-13 09:13:04 +00:00
christos
983359fdd3
put back the notyet around the note section; the bfd fix is non-trivial.
2004-05-23 21:11:01 +00:00
christos
28fc1ac65d
Enable notes section now that we added header space on the i386. Other
...
platforms might want to do the same.
2004-05-22 22:07:33 +00:00
lukem
7bb9d6c875
Store the copyright text in conf/copyright, and use conf/newvers.sh
...
to generate the appropriate const char copyright[] = "...";
statement instead of hard coding it into kern/init_main.c.
Idea from Simon Burge.
2004-01-05 03:33:06 +00:00
lukem
1fa9c076ee
Use a shell variable instead of a cpp #define to provide the full
...
version string; it's more consistent.
2003-10-15 01:28:49 +00:00
christos
bd5d984311
Check for file existance, not readability. Remove extra touch.
2003-10-14 16:59:54 +00:00
lukem
5ab4225f2d
assign the variables on separate lines; makes it easier to read and
...
easier to change one locally with minimal cvs merge issues
2003-10-14 14:23:10 +00:00
lukem
6fc70a0f8c
clean up the method to initialize sccs[] and version[] to remove
...
unnecessary duplication in the source
2003-10-14 06:46:57 +00:00
christos
924acc6389
simplify the script, and add a disabled netbsd note for now.
2003-03-02 22:17:30 +00:00
thorpej
424346ba85
Const'ify string constants.
2000-07-14 07:14:03 +00:00
hubertf
e8c0c6183d
If config(8) left a "ident" file (from the "ident" command), set the
...
kernel id from the contents of that file.
2000-01-23 23:39:19 +00:00
itohy
8fb18ac4cf
Escape SCCS marker so as not to confuse what(1).
1999-02-17 08:13:12 +00:00
cjs
269cb58003
Remove the sccs[] hack (which has broken twice now) and just make sccs[]
...
and version[] separate strings. (Other alternative hacks proposed may also
break in the future.) We don't make version a pointer into the sccs string,
because that would require changing programs that kvm_read() it, and break
backward compatability.
1999-02-02 19:40:47 +00:00
lukem
8e6617f5d8
Implement method to store release information in one location; it's
...
generated by `osrelease.sh`. If an argument of "-s" is given, print
the "short" form (e.g, "12E"), otherwise print the long (e.g, "1.2E").
Take advantage of this in newvers.sh.
1997-05-10 15:40:09 +00:00
mycroft
0ecc9cdac1
Update to 1.2E.
1997-05-08 11:40:16 +00:00
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
thorpej
bcdef359ef
Fairly major kernel change went in today; bump the version to 1.2C.
1997-01-31 09:28:05 +00:00
thorpej
e50a1d048c
Bump NetBSD version to 1.2B (kernel interface changed)
1996-10-25 20:13:16 +00:00
jtc
64157258f9
updated for 1.2A (post 1.2)
1996-05-25 21:59:38 +00:00
thorpej
7f80deb0ad
Bump version to NetBSD 1.1B.
1996-03-17 01:01:45 +00:00
pk
eb22b59e44
Pad `sccs[]' to make it 8 bytes long, to make it work on more architectures.
...
(PR#1690).
1996-01-05 15:06:45 +00:00
thorpej
c6d3b96520
Change "OS release" to 1.1A.
1995-12-12 02:05:14 +00:00
jtc
0cd793449e
merge in changes from 1.1 release branch
1995-11-30 00:56:23 +00:00
cgd
2e82a93f57
the trunk now carries the revision 1.0A (i.e. the first revision after
...
1.0), because the release branch is 1.0, and when the trunk again becomes
-current, it's 1.0A.
1994-07-10 22:26:30 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
cgd
89e331dcad
new standard, minimally intrusive ID format
1994-06-27 19:40:57 +00:00
mycroft
428590d3e2
B --> C
1994-06-08 11:47:03 +00:00
cgd
031743a505
make release number contain only the release number, and appropriate fixups.
...
The previous behaviour was actually the result of some too-literal copying,
when bringing in the new newvers.sh from 4.4-Lite.
1994-05-23 04:10:54 +00:00