loader: updates from review
[unleashed.git] / README.uname
blob824d5b490b0da9f0c8ffe8f71907da0e96d616e3
2 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
7 # 1.0 of the CDDL.
9 # A full copy of the text of the CDDL should have accompanied this
10 # source.  A copy of the CDDL is also available via the Internet at
11 # http://www.illumos.org/license/CDDL.
13 This tree has the changes to implement an illumos-specific uname.
15 Specifically, uname -s will return "illumos", and uname -r will return
16 0.9.x (where x is an integer number of months since August 2010.)
18 This is likely to cause some challenges.
20 You can override the value back to legacy for a process and its children
21 with puname(1). In this case it will revert to SunOS 5.11.  This is a
22 workaround until software is updated.  Fix the software if you can.
24         - Garrett
27   BUSTED THINGS
28 #################
30 * lint - checks for Solaris 7 or newer
31   - lint defined to use $(SETALTUNAME)
33 * cc (CC?) - checks for Solaris 7 or newer when building 64-bit
34   - the libc symbols test suite checks this and handles it
35   - the cw program is left alone, we use gcc and don't shadow compile
36   - use puname(1) with make or nightly if this causes too much grief
38 * pkgdepend - vendor-packages/terminatorlib/cwd.py
39   - usr/src/pkg/Makefile edited so pkgdepend uses $(SETALTUNAME). (see #61)
40   - error is at /usr/lib/python2.6/vendor-packages/terminatorlib/cwd.py
42 * DTrace test suite - printf/tst.str.d
43   - this is just a known answer test that expects sysname to be SunOS
44   - leaving this unfixed for now - not a runtime problem (see #62)
46 * hald
47   - there is an input file /etc/hal/fdi/preprobe/10osvendor/10-x11-input.fdi
48     this file must be edited to change SunOS to illumos.  Else you will
49     not have any input devices.  This file is not delivered by this
50     consolidation, but rather by X.  If you fix the file, then X works
51     fine; else it will appear to hang (lack of input devices).