xref: /minix3/docs/UPDATING (revision cc17b27a2b312a8dce35647910c28c77f210277a)
1
2	Populate it with new includes; you need the new install:
3	# cd /usr/src/commands/install
4	# make clean install
5	# cd /usr/src
6	# make includes
7
820110228:
9	(Next release bumped to MINIX 3.2.0.)
10	ELF support in the base system. /usr/lib libraries
11	will be in ELF format once you upgrade.
12	These were know as 'gcc format', but now more properly refered
13	to as 'elf format,' as they are shared between gcc and clang.
14	To start producing ELF, please see:
15	http://wiki.minix3.org/en/UsersGuide/ELFSwitch
16
17        To create the /usr/netbsd hierarchy:
18	# cd /usr/src
19	# umount /proc
20	# make etcfiles
21	# mount -e -t procfs none /proc
22
2320110225:
24	Create ddekit include dirs:
25	mkdir -p /usr/include/ddekit/minix
26
2720100921:
28	gcc format libraries are created in /usr/lib now,
29	so throw out /usr/gnu/lib/ if you want to make sure you
30	don't pick up the old ones.
31	(with pkgsrc and this, all of /usr/gnu is obsolete now.)
32
3320100914:
34	mkdir /proc
35	chmod 555 /proc
36
3720100827:
38	From now on, the rc scripts, recovery scripts and system.conf in /etc
39	and /usr/etc are updated automatically by make world. If you want to
40	change them, do so in the source tree. If you make changes to your
41	settings in /etc and /usr/etc, merge them into the the source tree
42	before issuing a make world.
43
4420100805:
45	mkfs and fsck have been renamed to mkfs.mfs and fsck.mfs, respectively.
46	Moreover, they have been moved to /sbin, which is by default not in
47	PATH. Edit your .ashrc (or equivalent) to also include /sbin in PATH.
48	Also, first issue a 'make commands' before building world.
49
5020100802:
51	/usr/src/etc/system.conf updated to include ext2 file server: copy it
52	(or merge it) to /etc/system.conf.
53
5420100719:
55	If you installed using a 3.1.6 image (or earlier) and haven't updated
56	the boot monitor since r6246 you need to do so now:
57	cd /usr/src/boot; make install; sh updateboot.sh
58
5920100714:
60	mknod /dev/uds c 18 0
61	chmod 666 /dev/uds
62
6320100713:
64        /usr/src/etc/rc updated: copy it (or merge it) to /etc/rc.
65        /usr/src/etc/system.conf updated to include boot sys services: copy
66        it (or merge it) to /etc/system.conf.
67        *** WARNING ***: this change breaks binary compatibility with
68        old images. Use only newly compiled images (make clean world
69        the first time) or download and install the latest ISO.
7020100705:
71        /usr/src/etc/usr/rc updated: copy it (or merge it) to /usr/etc/rc.
72        /usr/src/etc/rc updated: copy it (or merge it) to /etc/rc.
73        Perform some cleanup (optional):
74        # rm -f /sbin/tty /sbin/log
7520100630:
76	protocol change between service and rs: be sure to compile commands
77	together with the system image and don't use the new userspace with
78	an old image (or vice versa); it is recommended to replace
79	/boot/image_big with the newly compiled image to keep option 1 in the
80	boot menu working.
8120100625:
82	/etc/mk has been moved to /usr/share/mk. You will need to
83	create /usr/share/mk manually.
84	# cp -r /usr/src/share/mk /usr/share/
85	# cd /usr/src; make -m /usr/share/mk world
8620100515:
87        /usr/src/etc/usr/rc updated: copy it (or merge it) to /usr/etc/rc.
88	/etc/inet.conf is now line-based; if you have hand-edited this file
89	before, then make sure that you do not have configurations in there
90	that span multiple lines.
9120100512:
92        yacc and lex updated
93	# make includes
94	# cd commands/yacc
95	# make depend all install
96	# cd commands/lex
97	# LEX=flex make depend all install
9820100506:
99        /usr/src/etc/usr/rc updated: copy it (or merge it) to /usr/etc/rc.
10020100410:
101        /usr/src/etc/usr/rc updated: copy it (or merge it) to /usr/etc/rc.
102        /usr/src/etc/rc updated: copy it (or merge it) to /etc/rc.
10320100408:
104        /usr/src/etc/usr/rc updated: copy it (or merge it) to /usr/etc/rc.
10520100318:
106        Gas2ack updates: Run 'make install' in commands/i386/gas2ack
10720100317:
108        /usr/src/etc/system.conf updated to ignore default kernel calls: copy
109        it (or merge it) to /etc/system.conf.
110        The hello driver (/dev/hello) added to the distribution:
111        # cd /usr/src/commands/scripts && make clean install
112        # cd /dev && MAKEDEV hello
11320100316:
114        /usr/man/man9 is required
115	# mkdir /usr/man/man9
11620100308:
117        Include directory reorganization:
118        # mv /usr/include/ibm /usr/include/i386
119        # ln -s /usr/include/i386 /usr/include/machine
120        Install(1) updates:
121        # cd commands/simple && make /bin/install
12220100303:
123        Gas2ack updates: Run 'make install' in commands/i386/gas2ack
12420100215:
125        Make(1) has been replaced: Run 'make install' in commands/make
126        Mkdep updates: Copy commands/scripts/mkdep.sh to /usr/bin/mkdep
127        Make(1) needs mkfiles: Copy files in etc/mk to /etc/mk
128        ACK update: Copy commands/i386/acd.descr to /usr/lib/descr
129        End.a renamed:
130           -Copy /usr/lib/i86/end.a to /usr/lib/i86/libend.a
131           -Copy /usr/lib/i386/end.a to /usr/lib/i386/libend.a
132           -Copy /usr/gnu/lib/end.a to /usr/gnu/lib/libend.a
133        Asmconv updates: Run 'make install' in commands/i386/asmconv
13420091212:
135        /etc/drivers.conf has been renamed to /etc/system.conf.
136        user "service" has been added to password file /etc/passwd.
13720091006 (r5422):
138	OSS requires an improved make to be compiled; run "make install"
139	in /usr/src/commands/make before running "make world".
14020070212 (r2751):
141	mkfs needs more memory to make an image; chmem it or do
142	# touch mkfs.c ; make /usr/bin/mkfs
143	in /usr/src/commands/simple.
14420070118:
145	drivers.conf has been updated to include an ACL for mfs. it has
146	to be installed before rebooting after an update of the mount command.
14720061222:
148	The archictecture-dependent/-independent split needs ARCH=<arch>
149	in /etc/make.conf, included by some Makefiles and sourced by
150	some shell scripts. To install it, type 'make install' in
151	src/etc, or simply copy the file over.
15220061222:
153	Install binaries in the right order because the new readdir
154	implementation and the new mount program are incompatible
155	with older kernels and the new kernels require the new mount.
156	# cd /usr/src
157	# make includes
158	# make libraries
159	# make cmds
160	# make depend
161	# cd /usr/src/tools
162	# make hdboot
163	# make install
164	# cd ..
165	# make install
166	Installing fails for boot. Reboot the system
167	# reboot -x 'unset image; boot'
168	Now install everything
169	# cd /usr/src
170	# make install
17120060818:
172	You need flex in your $PATH, which has become part of the base
173	system. This needs bigger binaries.
174	If you don't have flex yet, you can compile it first by doing:
175	# cp /usr/src/etc/binary_sizes* /etc
176	# binsizes big
177	# cd /usr/src/commands/flex-2.5.4
178	# sh build
179