Add externs to avoid multiple definitions, and then add missing definitions.
[rrq/maintain_lilo.git] / CHANGELOG
1 Changes for version 24.2 (22-November-2015) - Joachim Wiedorn
2
3   Sources
4   -------
5     - Remove compile date and time in binary to support reproducible
6         builds (thanks to Dmitry Bogatov).
7     - Remove obsolete hints to /boot/boot.b and other files in README.
8     - Use system derived types to make code safe for both the 32-bit and
9         the 64-bit compilation environment. (thanks to TAMUKI Shoichi)
10
11   General
12   -------
13     - Update sample config file lilo.example.conf and config element
14         'password'.
15     - Upgrade of script liloconfig:
16         * three steps of tests with three-state exit code
17           to give the admin more information about failure.
18     - Update manpage pod files and its manpages.
19
20
21 Changes for version 24.1 (17-October-2014) - Joachim Wiedorn
22
23   Documentations
24   --------------
25     - Add more information about -R option (one-time command-line).
26
27   Sources
28   -------
29     - Only warn if founded bad partition (src/partition.c).
30     - Install the .dat files of images, too (images/Makefile).
31     - Fix target 'all' in main Makefile.
32     - Install lilo.static, too, if existing.
33     - Add CFLAGS, CPPFLAGS, LDFLAGS everywhere needed
34         (useful e.g. for hardening in Debian).
35     - Add many major device numbers, especially for MMC cards and XVD
36         disks. Remove obsolete numbers (src/lilo.h, src/geometry.c).
37
38   General
39   -------
40     - Use 'lilo -H' in hook scripts to ignore error on degraded mdadm
41         RAID1 systems  (thanks to M. Schnalke).
42     - Small update of script lilo-uuid-diskid.
43     - Large upgrade of script liloconfig:
44         * solve some bugs (see: Debian, Ubuntu)
45         * now with update function
46         * now with more tolerant file names of initram
47         * now with use of kernel links as fallback
48     - Update example config in lilo.example.conf.
49     - Update manpage of liloconfig and lilo-uuid-diskid.
50     - Add hooks for chattr, if vmlinuz files are on xfs filesystems.
51
52
53 Changes for version 24.0 (07-June-2013) - Joachim Wiedorn
54
55   Documentations
56   --------------
57     - Update of lilo.conf.5 manpage with some corrections.
58     - Add new manpages as pod files (sources):
59       * liloconfig.pod     (from Debian)
60       * lilo-uuid-diskid.pod   (from Debian)
61       * lilo.pod  (converted from lilo.8)
62     - Add script man/pod2manpages for converting pod files.
63     - Create manpages from pod files.
64     - Deactivate Makefile for docs. Don't generate html/pdf.
65     - Add complete html documentation for history (v21.5).
66
67   Sources
68   -------
69     - Support for kernel images on GPT hard disks in the first 15
70         partitions, otherwise set comments (src/geometry.c, src/lilo.h)
71     - Update src/Makefile to always stripping lilo and lilo.static.
72
73   General
74   -------
75     - Fix abort problem in script mkrescue. (thanks to S. R. Wright)
76     - Update script liloconf to find kernel versions 3.x, too.
77     - Remove some more hints to obsolete OS/2 (source, doc).
78     - Fix to be compatible to gcc 4.8 and higher (use -ffreestanding)
79
80
81 Changes for version 23.2 (09-Apr-2011) - Joachim Wiedorn
82
83   Documentations
84   --------------
85     - Optimize documentation generation and information.
86     - Reformatting mkrescue.8 manpage. (thanks to Martin E. Schauer)
87     - Update of lilo.conf.5 manpage and remove of OS/2 information.
88
89   Sources
90   -------
91     - Remove obsolete BIOS workaround from 2002 (src/second.S)
92     - Add information about -H option.   (src/lilo.c)
93     - Save errno for second command.     (src/device.c)
94     - Fix missleading error message.     (src/geometry.c)
95     - Remove obsolete OS/2 code.   (src/boot.c, src/temp.c)
96     - Enlarge maximum number of sectors (MAX_SETUPSECS) for
97         kernel setup code to 63.   (src/bootsect.S, src/lilo.h)
98     - Fix for many small flaws in source code. (Many thanks to
99         Solar Designer and Vasiliy Kulikov of the openwall project).
100
101   General
102   -------
103     - Remove obsolete OS/2 code.   (make.vars, src/Makefile)
104     - Optimize Makefile and src/Makefile for use of $(MAKE).
105     - Use mktemp utility for floppy image generation in mkrescue.
106         (Many thanks to Solar Designer and Vasiliy Kulikov of the 
107         openwall project).
108     - Add new scripts with Makefile (already used for Debian):
109         * liloconfig (for creating new lilo.conf)
110         * lilo-uuid-diskid (convert device names to UUID/DiskID)
111
112
113 Changes for version 23.1 (04-Nov-2010) - Joachim Wiedorn
114
115   Documentations
116   --------------
117     - 'make clean' delete all created documentation files.
118     - many small typos in manpages.
119     - Remove obsolete ifpdf definition.
120
121   Sources
122   -------
123     - Optimize and update menue header line.  (src/crt.S)
124     - Fix some typos in sources.  (src/bsect.c, src/raid.c)
125     - LVM volume as root device.  (src/bsect.c)
126     - Remove patch for inaccessible disks (src/geometry.c)
127         and add remarks in README file.
128     - Better computing size of uncompressed kernel. (src/boot.c)
129     - Working on degraded RAID device.      (src/raid.c)
130         (thanks to Christian Schöninger)
131     - Use for MD RAID newer 1.0 specification. (src/geometry.c)
132         (thanks to Robert de Bath)             (src/raid.c)
133
134   General
135   -------
136     - Use better 'checkit' for newer gcc.  (checkit)
137     - Remove very old scripts.      (mkbdist,mksdist,QuickInst)
138     - Create new makefile-based script QuickInst.
139     - Create new hook scripts for kernel and initramfs.
140     - Add new target 'uninstall' for src, man, hooks.
141     - Recreate and add background images as uuencoded files and
142         move images + config files into new 'image' directory.
143     - Add new file TOOLS listing needed tools / packages.
144     - Remove all unneeded stuff with old /boot/boot-* files.
145     - Add new example file for lilo.conf for newer lilo.
146
147
148 Changes for version 23.0 (28-June-2010) - Joachim Wiedorn
149
150   Documentations
151   --------------
152     - Move very old file INCOMPAT into readme/.
153     - Update file COPYING with copyrights and license.
154     - Update copyrights in some file headers.
155     - Add new files README, TODO, NEWS.
156     - Fix for some typos in manpages.
157     - Update some old files in readme/ and docs/.
158     - Move to creating pdf instead of ps in /docs.
159     - Add found old manpage man/keytab-lilo.pl.
160     - Update additional informations  (lilo.lsm, sample/README).
161     - Set static manpage path to /usr/share/man (make.vars).
162     - Update of the program command logging header.
163
164   Sources
165   -------
166     - Fix error messages.           (script checkit)
167     - Allow spaces in boot menu.    (bsect.c)
168     - Workaround for buggy Bios.    (probe.c)
169     - Check for user root.          (script mkrescue)
170     - Use better temporary fifo's   (script mkrescue)
171     - Check for needed floppy space (script mkrescue)
172     - devmapper should use major/minor.  (geometry.c)
173     - Bios workarounds.             (second.S)
174     - Suppress error message if device does not exist. (geometry.c)
175     - Change 'map' to 'kmap'.       (keytab-lilo.pl)
176     - Add warnings for inaccessible disk (device.c, geometry.c)
177     - Modify script mkrescue for use of spaces in files.
178     - Speedup for geometry          (geometry.c)
179     - Add 'define' for lvm partition (lilo.h, partition.c)
180     - Don't scan '.udev' directory  (device.c)
181     - Use default size 'hdsize'     (script mkrescue)
182     - Move macro 'S' into 'SA' (crt.S, lilo.c, lilo.h, probe.c, second.S)
183     - Update min. versions of bcc and gcc.  (script checkit)
184     - Add new option 'small-memory' (cfg.c)
185     - Differentiate small-memory/large-memory (bsect.c, boot.c)
186     - Optimize standard logging     (bsect.c)
187     - Update install paths and names for some binaries. (src/Makefile)
188     - Move the environment variable ROOT to DESTDIR.    (src/Makefile)
189     - Deactivate very old scripts   (mkbdist, mksdist, QuickInst)
190
191   General
192   -------
193     - Remove link 'COPYRIGHT' to file COPYING.
194     - Move alle README files into new directory 'readme'.
195     - Move all source code files into new directory 'src'.
196     - Split file CHANGES into CHANGELOG and CHANGELOG_old.
197     - Better check for tool 'mkfs.msdos', for with you must be root.
198
199     - Create new main Makefile.
200     - Move target 'spotless' to 'distclean' in concerned files.
201     - Move src/Makefile header into extra file make.vars.
202     - Remove old comments in src/Makefile.
203     - Displacement from src/Makefile into new man/Makefile.
204     - Displacement from src/Makefile into dos/Makefile.
205     - Delete displaced make commands in src/Makefile.
206     - Update script paths in src/Makefile.
207     - Update path to bdata.h in files of directoy diagnose.
208
209     - Move more variables into make.vars.
210     - Move target 'test' into main Makefile.
211     - Update paths in dos/Makefile.
212     - Displace floppy targets in main and src Makefiles.
213     - Update paths to files in directory diagnose.
214     - Better checks in diagnose/Makefile.
215     - Remove old program 'activate'.
216
217     - Use correct path for script mkrescue.
218     - Target 'all' now without run of 'diagnostic' and 'dosexe'.
219     - Optimize warnings while running target 'diagnostic'.
220     - Renumber the pseudo targets.
221     - Move commands for target 'diagnostic' into src/Makefile.
222
223
224 Changes from version 22.7.3 to 22.8 (16-Feb-2007) John Coffman
225
226   Boot Installer
227   --------------
228     - Move configuration information (-X) to a separate procedure.  
229         (lilo.c)
230     - Fix type decl problem in LVM _IOR/RW macros.  (geometry.c)
231     - Add  DEV_DISK_DIR  and edit source to use it.  (config.h, 
232         device.c, geometry.c)
233     - Change handling of 'device-mapper' depending upon DEVMAPPER 
234         option.   (device.c, geometry.c)
235     - Modify 'scan_dir' to stay out of hidden directories.  (device.c)
236     - Add 'nodevcache' option to configuration file.  (cfg.c, lilo.c)
237     - Add sync() before boot sector write to compensate for 2.6 kernel
238         bug in partition buffering code.  (bsect.c)
239     - Allow 'root="UUID=xyz"' syntax.  (bsect.c)
240
241   Boot Loader
242   -----------
243     - Add compilation switch 'NOVGA' to the Makefile.
244
245
246 Changes from version 22.7.2 to 22.7.3 (11-Aug-2006) John Coffman
247
248   Boot Installer
249   --------------
250     - Make with changed compile-time options does not affect source
251       checksums. (Makefile)
252     - Remove device 253 from max_partitions[].  (device.c, 22.7.2.1)
253     - Install device-mapper patches. (geometry.c, Makefile)
254     - Correct setting of the VIRTUAL & NOKBD flags.  (bsect.c)
255
256
257 Changes from version 22.7.1 to 22.7.2 (05-Jul-2006) John Coffman
258
259   Boot Installer
260   --------------
261     - Add "noraid" keyword to suppress automatic marking of members
262       of a full-disk RAID array as "inaccessible".
263     - Add '-H' switch to override abort on RAID1 install to a failed
264       array.  (raid.c, lilo.c, common.c, common.h)
265     - Add check for DM_RAID (aka ATA_RAID); warn about manual marking
266       of disk drives as "inaccessible".  (device.c)
267     - Add 'geo_query_dev' support for 31-partition devices.  (geometry.c)
268     - Add "Warning:'s" counter.  (common.c, common.h, & *.c)
269     - Disable 'nowarn' when verbose >= 3.   (lilo.c)
270     - Davide BIOS bug (sectors [1..63] -> [1..64])  (probe.c)
271     - Add keywords 'nokbdefault' & 'nokbdisable' on compilation switch
272       based upon input from Alberto Mardegan <mardy@users.sourceforge.net>.
273       (cfg.c, bsect.c, lilo.h)
274     - Add second stage flags:  VIRTUAL & NOKBD whenever any 'virtual' or
275       'nokeyboard' keyword is used.  (lilo.h, bsect.c)
276
277   Boot Loader
278   -----------
279     - Davide BIOS bug (sectors [1..63] -> [1..64])  (first.S, read.S)
280     - Implement 'nokbdefault' & 'nokbdisable' (second.S)
281     - Add cli/sti to keyboard detection code  (second.S)
282     - Fix timeout bug if 'ONE_SHOT' compile option is omitted.  (second.S)
283     - Add marker (space) between initrd/kernel loading dots.  (second.S)
284     - Observe second stage flags: VIRTUAL & NOKBD.  Do not touch hardware
285       unless corresponding flag is set.  (second.S)
286     - Allow DEBUG_NEW version to compile READONLY.  (read.S)
287     - Increase kernel command line to 512 bytes.  (bsect.c, probe.c, lilo.h,
288       second.S)
289
290   Utilities
291   ---------
292     - Add check of FS register to Diagnostic 2 (diagnose/test4.c)
293     - Change 'master' determination for --iso; log config file
294       with --debug  (mkrescue)
295     - Create 'checkit' script to check for versions of gcc, as86,
296       ld86, and bcc.  (checkit)
297     - Davide BIOS bug (sectors [1..63] -> [1..64])  (disk.S, test4.c)
298
299
300 Changes from version 22.7 to 22.7.1 (17-Sep-2005) John Coffman
301
302   Boot Installer
303   --------------
304     - Add check that "vmdefault" image does exist.  (bsect.c, lilo.c)
305     - Use 512/4095 major devices (up from 255).  (geometry.c, device.c,
306       geometry.h)
307
308   Boot Loader
309   -----------
310     - Fix "vmdefault=" bug in MENU and BITMAP interfaces. (second.S)
311     - Allow any keyboard strike (not just Shift) to escape from
312       command line, or to display boot menu.  (second.S)
313
314   Utilities
315   ---------
316     - Apply security patch for temp files to  mkrescue & QuickInst
317     - Compensate for missing <msdos/stat.h> in BCC
318
319
320 Changes from version 22.6.1 to 22.7 (12-Apr-2005) John Coffman
321
322   Boot Installer
323   --------------
324     - Fix reporting of NULL stored default boot command.  (lilo.c)
325     - Allow "unsafe" on partitions specified by "other=".  (boot.c)
326     - Handle RAID-1 arrays with a failed disk.  (raid.c, geometry.c)
327
328   Boot Loader
329   -----------
330     - Rearrange code in first.S to shorten by 3 (to 0x1B2).  (first.S)
331     - Fix "lock" bug on default image.  (second.S)
332     - Descriptor selection (find_image) based on partial command
333       line.  (second.S, crt.S, bitmap.S)
334     - Improve "unattended":  no selection on partial command; CR can't
335       stop timeout.  (second.S)
336
337   Utilities
338   ---------
339     - New DOS utility:  LILO.COM implements -q -R -V (-C -m) switches.
340
341
342 Changes from version 22.6 to 22.6.1 (17-Nov-2004) John Coffman
343
344   Boot Installer
345   --------------
346     - Check command line options for CL_LENGTH max (256).  (bsect.c)
347     - Get '-I' switch to recognize 'addappend='.  (identify.c)
348     - Add 'R' flag to '-I' switch to get root.  (identify.c)
349
350   Boot Loader
351   -----------
352     - Enable read-ahead on EDD drives that support the function.
353       Now a Makefile switch (READAHEAD)  (volume.S, Makefile)
354     - Support BUG_SI_EBDA bugfix for SI controllers that don't properly
355       allocate the EBDA that they use.  (Makefile, second.S, chain.S)
356     - Correct El-Torito CD emulation termination to use HD/FD device
357       code.  (second.S)
358
359   Utilities
360   ---------
361     - Update diagnostic 2.2.4 to 2.3; check EDD fn 4Eh subfunctions.
362       (diagnose/test4.c)
363     - Update 'mkrescue' (2.5) to get root filesystem from /etc/fstab.
364     - Update 'mkrescue --iso --size HD' to create a bootable El Torito
365       format using hard disk emulation.  (mkrescue 3.0)
366     - Add --image option to mkrescue.  (mkrescue 3.0)
367
368
369 Changes from version 22.5.9 to 22.6 (01-Sep-2004) John Coffman
370
371   Boot Installer
372   --------------
373     - Correct check of "append=" substring coincidence.  (bsect.c/
374       check_options)
375     - add keyword "unattended" to alter timeout operation. (cfg.c,
376       bsect.c, second.S)
377     - allow 'timeout' & 'delay' to be specified in 's', 'm', or 'h'.
378       (lilo.c, common.c)
379     - change #include <asm/unistd.h> to <linux/unistd.h> (partition.c)
380     - alter 'new_serial' to seed from time & /dev/urandom  (device.c)
381     - address compilation issues with 2.6 kernels (2.6.6) and glibc
382       versions 2.0 and 2.1++ (2.3.3).  (config.h, partition.h,
383       partition.c)
384     - fix "long" -> "int" for compilation on 64-bit systems. (*.h, *.c)
385     - use "mkloader" so compilation does not depend on NASM. (temp.c)
386     - add new block devices:  emd, sata, scsi9-15. (lilo.h, geometry.c)
387     - Check 'other=' for a file that is really an image.  (boot.c)
388     - Allow 'root = "LABEL=label"' in config file.  (bsect.c)
389     - Allow -P parameter to contain '='.  (lilo.c)
390     - Add 'addappend=' specification of local kernel parameters
391       to 'image=' sections.  (bsect.c, cfg.c)
392     - Automatically treat disks beyond the 16th as INACCESSIBLE.
393       (device.c)
394
395   Boot Loader
396   -----------
397     - Modify first-stage loader for BIOS that clobbers BX. (first.S)
398
399   Utilities
400   ---------
401     - Update diagnostic 2.2.4 to to check int 13, fn 8, for register
402       clobbers.  (diagnose/test4.c)
403     - Change regular expression in 'keytab-lilo.pl' (Debian patch)
404