summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-07-31 13:40:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-07-31 13:40:27 +0000
commitc30a5b7b690021bc7228775dbb90ecf20e1bd9df (patch)
tree802aca388b1995d2842fb0c547e4671fffb4d8b9
restore after the big svn loss
-rw-r--r--ChangeLog2812
-rw-r--r--Makefile83
-rw-r--r--detectloader8
-rw-r--r--detectloader.813
-rw-r--r--installkernel125
-rw-r--r--installkernel.sysconfig14
-rw-r--r--kernel_remove_initrd37
-rw-r--r--kheader.pl163
-rw-r--r--rebootin104
-rw-r--r--rebootin.842
10 files changed, 3401 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..bc26d77
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,2812 @@
+2007-01-15 09:40 Pixel <pixel at mandriva.com>
+
+ * rebootin: - grub: handle short labels (cf BOOT_IMAGE=<label>)
+ - call usage before calling detectloader when no parameter are
+ given
+ - add options to "usage: rebootin ..."
+ - clean (including some perl_checker compliance)
+ - drop dead variable $grub_once
+
+2006-11-24 08:02 Pixel <pixel at mandriva.com>
+
+ * rebootin: fix noreboot with grub (#27292)
+
+2006-11-14 16:12 Pixel <pixel at mandriva.com>
+
+ * kheader.pl: don't depend on cmp, it's not useful (?)
+
+2006-10-25 10:18 Pixel <pixel at mandriva.com>
+
+ * Makefile: handle "savedefault --once" (grub, #26700)
+
+2006-10-25 10:16 Pixel <pixel at mandriva.com>
+
+ * Makefile, bootloader-utils.spec: move .spec to build system
+
+2006-10-25 10:14 Pixel <pixel at mandriva.com>
+
+ * rebootin: handle "savedefault --once" (grub, #26700)
+
+2006-10-25 10:02 Pixel <pixel at mandriva.com>
+
+ * rebootin.8: remove obsolete mail address of chmouel
+
+2006-10-25 09:42 Pixel <pixel at mandriva.com>
+
+ * .cvsignore: obsolete
+
+2006-08-11 07:12 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * soft/bootloader-utils/trunk/bootloader-utils.spec,
+ soft/bootloader-utils/trunk/kheader.pl: handle default, legacy &
+ xen0 kernels
+
+2006-08-11 05:19 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * soft/bootloader-utils/trunk/ChangeLog: Generated by svn2cl the
+ 11_Aug
+
+
+2006-05-30 13:34 Pixel <pixel at mandriva.com>
+
+ * soft/bootloader-utils/trunk/bootloader-utils.spec:
+
+2006-05-30 13:10 Pixel <pixel at mandriva.com>
+
+ * soft/bootloader-utils/trunk/bootloader-utils.spec,
+ soft/bootloader-utils/trunk/kheader.pl: rename *desktop586 and
+ *desktop686 to *desktop for better consistency
+
+2006-05-30 07:39 Pixel <pixel at mandriva.com>
+
+ * soft/bootloader-utils/trunk/bootloader-utils.spec,
+ soft/bootloader-utils/trunk/kheader.pl: - add support for mdv
+ extension (eg: 1mdv instead of 1mdk)
+ - add support for "laptop" kernels (was mm kernels)
+ (from Thomas Backlund)
+
+2006-05-23 20:24 Olivier Blin <oblin at mandriva.com>
+
+ * soft/bootloader-utils/trunk,
+ soft/initscripts/trunk/mandrake/loader: move
+ soft/initscripts/trunk/mandrake/loader in
+ soft/bootloader-utils/trunk
+
+2006-05-16 08:21 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 16_May
+
+2006-05-16 08:19 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec: -
+ kheader: add support for tmb kernels
+ - /etc/init.d/kheader should not be a config file
+ - s/Mandrakesoft/Mandriva/
+
+2006-05-15 10:29 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kheader.pl: add support
+ for tmb kernels
+
+2006-05-11 12:45 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/gprintify.py,
+ soft/initscripts/trunk/mandrake/loader/detectloader,
+ soft/initscripts/trunk/mandrake/loader/detectloader.8,
+ soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/kernel_remove_initrd,
+ soft/initscripts/trunk/mandrake/loader/kheader.pl,
+ soft/initscripts/trunk/mandrake/loader/rebootin,
+ soft/initscripts/trunk/mandrake/loader/rebootin.8,
+ soft/initscripts/trunk/mandrake/mandrake_everytime,
+ soft/initscripts/trunk/mandrake/mandrake_firstime,
+ soft/initscripts/trunk/mandrake/partmon/partmon.pl,
+ soft/initscripts/trunk/mandrake/supermount.8: more
+ s/Mandrakesoft/mandriva/
+
+2006-01-08 23:06 Olivier Blin <oblin at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 09_jan
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.9-6mdk
+
+2006-01-08 20:45 Olivier Blin <oblin at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/dm,
+ soft/initscripts/trunk/mandrake/loader/kheader.pl,
+ soft/initscripts/trunk/mandrake/partmon/partmon,
+ soft/initscripts/trunk/rc.d/init.d/netfs,
+ soft/initscripts/trunk/rc.d/init.d/network,
+ soft/initscripts/trunk/rc.d/init.d/rawdevices: convert
+ X-Parallel- tags to LSB
+
+2006-01-01 17:45 Olivier Blin <oblin at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 01_jan
+
+2006-01-01 17:43 Olivier Blin <oblin at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.9-5mdk
+
+2006-01-01 17:42 Olivier Blin <oblin at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile: workaround
+ presence of debug package to detect correct version and release
+
+2006-01-01 17:35 Olivier Blin <oblin at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kheader.pl: parallel init
+ support
+
+2005-08-29 11:28 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec,
+ soft/initscripts/trunk/mandrake/loader/installkernel: nice
+ handling of "make modules_install" not done
+ (when installing own built kernel) (bugzilla #17981)
+
+2005-08-11 01:14 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ commit Nicolas Lécureuil's changes
+
+2005-04-01 13:05 Olivier Blin <oblin at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: do not
+ warn that the kernel is a boot kernel when removing it
+
+2004-11-12 09:43 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 12_Nov
+ * soft/initscripts/trunk/mandrake/loader,
+ soft/initscripts/trunk/mandrake/loader/.cvsignore,
+ soft/initscripts/trunk/mandrake/loader/Makefile,
+ soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec,
+ soft/initscripts/trunk/mandrake/loader/kheader,
+ soft/initscripts/trunk/mandrake/loader/kheader.pl: - kheader is
+ now generated from kheader.pl when building package
+ - kheader: add i586-up-1GB and i686-up-64GB (bugzilla #12189)
+
+2004-09-09 08:09 Nicolas Planel <nplanel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kheader: add i586-up-1GB
+
+2004-08-26 05:58 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 26_Aug
+
+2004-08-26 05:55 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 26_Aug
+
+2004-08-26 05:54 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec,
+ soft/initscripts/trunk/mandrake/loader/installkernel: added -C
+ option to use cramfs
+
+2004-08-26 05:53 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 26_Aug
+
+2004-07-18 04:51 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 18_Jul
+
+2004-07-18 04:50 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.8-6mdk
+ * soft/initscripts/trunk/mandrake/loader/installkernel: don't do
+ anything DURING_INSTALL
+
+2004-07-18 04:39 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 18_Jul
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.8-5mdk
+ * soft/initscripts/trunk/mandrake/loader/installkernel: - ensure
+ the PATH contains /sbin and /usr/sbin
+ - force rebuilding the initrd in "copy" mode
+ (since one may build more than one kernel with the same
+ version)
+ - use --no-short-name in "copy" mode
+
+2004-07-05 02:38 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 05_Jul
+
+2004-07-05 02:37 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec,
+ soft/initscripts/trunk/mandrake/loader/installkernel:
+ bootloader-config prefers --no-short-name instead of --no-link
+
+2004-07-01 08:39 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 01_Jul
+
+2004-07-01 08:38 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ require drakxtools-backend instead of drakxtools-newt
+
+2004-06-30 01:29 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 30_Jun
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.8-2mdk
+
+2004-06-30 01:20 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: -
+ installkernel *is* used for copying installing kernels in /boot
+ (cf arch/i386/boot/install.sh used by kernel's "make install")
+ - some "cleanup"
+
+2004-06-29 04:58 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 29_Jun
+
+2004-06-29 04:50 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile,
+ soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec,
+ soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/detectloader,
+ soft/initscripts/trunk/mandrake/loader/detectloader.8,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig,
+ soft/initscripts/trunk/mandrake/loader/lilo,
+ soft/initscripts/trunk/mandrake/loader/make-initrd,
+ soft/initscripts/trunk/mandrake/loader/yaboot: - installkernel:
+ - it is now a wrapper to bootloader-config (in drakxtools-newt)
+ - always have option AUTOREMOVE
+ - always have option NOCOPY (was useful to copy your home
+ built kernel)
+ => option NOCONFIG deprecated
+ - force option -s when installing and -S when removing
+ (ie always do/remove the "build" symlink to the source tree)
+ - force bootloader auto-detection (options AUTODETECT and
+ LOADER are deprecated)
+ - option OPTIONS is removed (what was it for exactly?)
+ - detectloader is now a wrapper to bootloader-config (in
+ drakxtools-newt)
+ - helper scripts make-initrd, lilo, grub and yaboot obsolete
+
+2004-06-22 11:59 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/make-initrd: fix typo
+
+2004-05-17 06:44 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ add prereq on rpm-helper
+
+2004-05-17 06:37 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 17_Mae
+
+2004-05-17 06:36 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.7-1mdk
+
+2004-05-17 06:30 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm:
+ (getroot_from_fstab) sanitize /etc/fstab parsing:
+ - strip comments
+ - strip all spaces
+ - do not match "/foobar/" when looking for "/"
+ - name fstab fields (purely cosmetic change)
+ - simplify by reusing cat_()
+ * soft/initscripts/trunk/mandrake/loader/grub: simplify
+ /boot/grub/menu.lst writing by reusing MDK::Common's
+ substInFile()
+ * soft/initscripts/trunk/mandrake/loader/grub:
+ (get_boot_partitions) simplify by reusing cat_()
+
+2004-05-17 06:29 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/grub:
+ (get_boot_partitions) handle "LABEL=foobar" when looking for
+ boot device:
+ - copy unmakedev from libDrakX's common.pm
+ - use it to lookup /dev/root into /proc/partitions when a label
+ is found
+ (minimal LABEL=foobar managment for mdkmove+, generic
+ LABEL=foobar support
+ is still lacking)
+ * soft/initscripts/trunk/mandrake/loader/grub:
+ (get_boot_partitions) name fstab fields (purely cosmetic change)
+ * soft/initscripts/trunk/mandrake/loader/grub:
+ (get_boot_partitions) sanitize loop:
+ - strip all spaces
+ - do not match "/foobar/" when looking for "/"
+ - do not match "/foobar/boot" when looking for "/boot"
+
+2004-03-02 11:38 Nicolas Planel <nplanel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 02_mar
+
+2004-03-02 11:37 Nicolas Planel <nplanel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.6-7mdk
+
+2004-03-02 11:36 Nicolas Planel <nplanel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/yaboot: getroot() don't
+ have argument
+
+2004-03-02 11:14 Nicolas Planel <nplanel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 02_mar
+
+2004-03-02 11:13 Nicolas Planel <nplanel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.6-6mdk
+
+2004-03-02 11:01 Nicolas Planel <nplanel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 02_mar
+
+2004-03-02 10:36 Nicolas Planel <nplanel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: remove
+ hdX=ide-scsi for 2.4 and 2.6 kernel
+
+2004-03-01 17:16 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: fix append
+ parsing
+
+2004-02-27 14:38 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ add bug ref in changelog
+
+2004-02-27 08:09 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: kill
+ getVarsFromSh() gratuitously copied from MDK::Common whereas we
+ already use MDK::Common
+
+2004-02-27 07:53 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 27_C'hw
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.6-5mdk
+
+2004-02-27 07:51 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/kernel_remove_initrd,
+ soft/initscripts/trunk/mandrake/loader/lilo,
+ soft/initscripts/trunk/mandrake/loader/make-initrd,
+ soft/initscripts/trunk/mandrake/loader/rebootin: from Thomas
+ Backlund <tmb@mandrake.org>:
+ - typo fixes
+ - make some messages somewhat more understandable
+
+2004-02-27 07:45 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/grub: when boot loader is
+ grub, do not remove unrelated kernel entries
+
+2004-02-27 07:43 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: in debugging
+ mode, ignore missing kernels
+
+2004-01-26 14:33 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: *** empty log
+ message ***
+
+2004-01-26 14:28 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: (cat_) make it
+ perl_checker compliant
+
+2004-01-26 14:27 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: use
+ s/grep/any/ when possible
+
+2004-01-26 14:26 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: reindent
+
+2004-01-26 14:24 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: perl_checker fixes
+
+2004-01-19 14:28 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: cleanup
+ sanitize_ver
+
+2003-11-12 12:38 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 12_Nov
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec,
+ soft/initscripts/trunk/mandrake/loader/detectloader: fix
+ detectloader typo (perl now reports an error instead of silently
+ ignoring the pb)
+
+2003-09-17 10:21 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ typo fix
+
+2003-09-17 10:06 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 17_sep
+
+2003-09-17 10:05 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.6-3mdk
+ * soft/initscripts/trunk/mandrake/loader/grub: when configuring
+ grub, find finding the root partition when /etc/fstab
+ has commented out lines
+
+ else, get_boot_partitions() may return "#/dev/hda1" instead of
+ "/dev/hda1" and the convert_grub_part() caller horribly die with
+ the
+ (cryptic) "Can't convert grub_partition" message.
+
+2003-09-17 10:02 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile: add localsrpm
+ target
+
+2003-09-08 12:47 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 08_Sep
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.6-2mdk
+
+2003-09-05 07:48 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 05_Sep
+
+2003-09-05 03:54 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.6 version
+
+2003-09-05 03:42 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kheader: kheader makes
+ more sense
+
+2003-09-05 03:15 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: remove unused
+ code & add support for -mdkver-cpu-nproc-ver kernels
+
+2003-09-03 14:45 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 03_Sep
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.5-1mdk
+ * soft/initscripts/trunk/mandrake/loader/Makefile: added kheader
+ management
+
+2003-09-03 14:44 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kheader: first version
+
+2003-09-03 08:24 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: fix typo
+ (Thomas Backlund)
+
+2003-08-30 19:10 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 30_Aug
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.4-1mdk
+
+2003-08-29 17:17 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ remove more slashes and convince it that new kernels are also
+ from Mandrake
+
+2003-08-29 17:16 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ remove more slashes and convince it that new kernels are also
+ from Mandrake
+
+2003-08-29 17:15 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Add more
+ things to strip names.
+
+2003-08-21 09:08 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 21_Aug
+
+2003-08-21 09:05 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ Obsoletes/Provides kernel-utils
+
+2003-08-21 09:03 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: also strip \n
+
+2003-08-21 00:21 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ 1.3 version
+
+2003-08-21 00:20 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 21_Aug
+
+2003-08-21 00:17 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: cd only
+ for NOCOPY
+
+2003-08-18 15:06 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec:
+ renamed bootloader-utils
+
+2003-08-18 08:38 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec: 1.2
+
+2003-08-18 08:37 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile: switch name to
+ bootloader-utils
+
+2003-08-18 08:36 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/bootloader-utils.spec:
+ first version
+
+2003-08-14 09:36 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: "blah" and blah
+ should match only blah
+
+2003-08-13 20:16 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 13_Aug
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: v 1.1
+
+2003-08-13 20:13 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 13_Aug
+ * soft/initscripts/trunk/mandrake/loader/installkernel: add proper
+ quoting
+
+2003-08-13 20:12 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: v 0.8
+
+2003-08-13 18:30 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: shell
+ don't like spaces after =
+
+2003-08-13 18:19 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 13_Aug
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: 0.7
+ version
+
+2003-08-13 18:16 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 13_Aug
+ * soft/initscripts/trunk/mandrake/loader/installkernel: be sure
+ that -S and -s works
+
+2003-08-13 14:25 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 13_Aug
+
+2003-08-13 12:53 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: add variable
+
+2003-08-13 12:52 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec:
+ version 0.5
+
+2003-08-13 12:50 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: new sanitize
+ ver for new kernels
+
+2003-08-13 11:57 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: v 0.4
+ & use _sbindir
+
+2003-08-13 11:56 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: minor cleanup
+ * soft/initscripts/trunk/mandrake/loader/Makefile:
+ kernel_remove_initrd is also a SH script
+
+2003-08-13 11:33 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: this time spaces at
+ the end of lines doesn't matter
+
+2003-08-13 11:31 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: spelling typo
+
+2003-08-13 09:57 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile,
+ soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: add
+ kernel_remove_initrd
+
+2003-08-13 09:55 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kernel_remove_initrd:
+ file to remove initrd's
+
+2003-08-13 09:54 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: cleanup
+ and add source options
+
+2003-08-13 00:36 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: remove -q
+ (quiet option) not implemented
+
+2003-08-13 00:31 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: remove -r
+ unused option and add cd
+
+2003-08-12 14:35 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo,
+ soft/initscripts/trunk/mandrake/loader/yaboot: remove vmlinuz-
+ from sanity_ver and all its callers
+
+2003-08-07 23:25 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: work when kernel
+ name ends in spaces
+
+2003-08-04 19:07 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 04_Aug
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec:
+ 0.2-1mdk
+
+2003-08-04 14:49 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: Generated by
+ cvs2cl the 04_Aug
+
+2003-08-04 14:44 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: 0.1
+
+2003-07-21 20:55 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/ChangeLog: first version
+
+2003-07-21 20:51 Juan Quintela <quintela at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: this
+ is a test
+
+2003-07-21 20:45 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: added
+ a conflict with the initscripts packages that contains the same
+ files
+
+2003-07-21 20:35 Frederic Lepied <flepied at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile: added rules to
+ build rpm packages
+ * soft/initscripts/trunk/mandrake/loader/kernel-utils.spec: first
+ version from Juan
+
+2003-07-14 19:27 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: fix
+ bootloader detection when getting devfs names
+
+2003-07-03 11:26 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: Allow
+ detectloader to run on non-lilo systems. (Ben Reser)
+
+2003-03-20 14:00 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: Make backup of old
+ entry when it not exiting for the old default
+ (problem show all the time at first new kernel ugprade).
+
+2003-03-20 12:58 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Change adress
+ reporting to Cooker.
+
+2003-03-20 12:57 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Don't
+ regenerate if the initrd is already here.
+
+2003-03-17 15:26 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: Update mbr
+ detection table from drakx. First try to detect the
+ partition from boot= of lilo.
+
+2003-02-03 15:28 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin: Add list option.
+
+2003-02-03 10:52 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Support of
+ latest kernel naming scheme
+
+2003-01-13 11:01 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin: Correct
+ lilo.conf entry detection when there is " inside.
+
+2002-11-16 21:30 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/yaboot: Update ofpath,
+ ybin paths.
+
+2002-11-07 13:09 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: PPC -
+ Handle RS6K yaboot detection.
+
+2002-11-07 11:59 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: Rework PPC
+ detection, can't always count on "bootstrap" for user created.
+
+2002-08-15 10:11 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Fix
+ installkernel to handle user built mdkcustom without emailing
+ Chmouel
+
+2002-08-01 13:12 Warly <warly at mandriva.com>
+
+ * soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig,
+ soft/initscripts/trunk/mandrake/loader/make-initrd: add oden
+ option to pass option to make-initrd
+
+2002-06-23 19:12 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/loader/grub:
+ mandrake/loader/grub: handle fstab devices using devfs names
+ (fix problem reported by Alexander Skwar)
+
+2002-03-12 15:12 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/yaboot: fix installkernel
+ yaboot entry for seperate /boot
+
+2002-02-14 16:34 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: Return
+ always aboot on alpha.
+
+2002-02-08 16:23 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Don't add
+ quiet to options when the bootsplash theme say no.
+
+2002-02-08 15:51 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ Bootsplash things are moved to his config files.
+
+2002-02-04 17:00 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ Add option LOGO_CONSOLE=no Say yes here if you want to leave the
+ logo on the console.
+
+2002-01-30 14:39 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ Add option SPLASH= for boot splash image.
+
+2002-01-29 22:09 Guillaume Cottenceau
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: duplicate
+ signatures for grub unecessary
+
+2002-01-24 22:47 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/loader/detectloader:
+ mandrake/loader/installkernel: detect the now-nice-magic of grub
+
+2002-01-24 16:50 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/make-initrd: Add support
+ for BOOT kernel, cleanup remove_link make it a litle less stupid
+ (and i am if i wrote that stuff)
+
+2002-01-24 16:48 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: Add
+ detection for latest grub (pixel)
+
+2002-01-24 15:40 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: forgot to
+ remove the preceeding fi
+
+2002-01-24 15:32 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: add PPC
+ version of check for bootloader config
+
+2002-01-24 14:28 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Make the
+ check for /boot/grub/menu.lst /etc/lilo.conf only x86 archs.
+
+2002-01-22 20:22 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Remove the
+ DURING_INSTALL check it breaks rpmdrake instead checking
+ menu.lst, lilo.conf before generating..
+
+2002-01-16 21:39 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Don't exist
+ when kernel_version_of_entry don't follow
+ initrd_version_of_entry just warning.
+
+2002-01-07 15:52 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/detectloader,
+ soft/initscripts/trunk/mandrake/loader/detectloader.8,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/lilo,
+ soft/initscripts/trunk/mandrake/loader/make-initrd,
+ soft/initscripts/trunk/mandrake/loader/rebootin,
+ soft/initscripts/trunk/mandrake/loader/yaboot: Update copyright.
+
+2002-01-04 16:54 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel:
+ make-initrd is sh script now (gb)
+
+2001-12-24 13:16 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Add
+ documentation and cleaning.
+
+2001-12-24 11:37 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/make-initrd: Add linus
+ and mosix to valid mdk kernels.
+ Check if it is a valid mdk kernels even when no initrd.
+ installkernel different links for different vmlinuz version.
+
+2001-12-10 10:02 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile: make-initrd is
+ now sh script.
+
+2001-12-05 11:36 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/make-initrd: Copyright
+ update
+
+2001-12-05 11:35 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/make-initrd: Rewrite it
+ in shell no need to do perl when we launch only shell command.
+
+2001-12-05 10:56 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: fix comment.
+
+2001-12-05 10:54 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Do
+ something smarter with arg parsing.
+
+2001-12-04 14:37 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo,
+ soft/initscripts/trunk/mandrake/loader/yaboot: New function
+ sanitize_ver to detect all kind of kernels naming and
+ sanitize (new_mdk, old_mdk, linus-vanilla, linus-pre) like the
+ old one
+ to still have backward compatibility with old config files. Make
+ the
+ loader using it.
+
+2001-12-04 14:22 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/detectloader,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo,
+ soft/initscripts/trunk/mandrake/loader/make-initrd,
+ soft/initscripts/trunk/mandrake/loader/rebootin,
+ soft/initscripts/trunk/mandrake/loader/yaboot: Remove trailing
+ whitespace.
+
+2001-12-04 13:19 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Make the
+ copy to vmlinuz.old more robust check if it is a link before
+ and try to copy the vmlinuz.old only if the one installed != the
+ one
+ already installed (guess nobody will understand that but yes
+ this is
+ smarter things update ;)).
+
+2001-11-20 08:53 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: When
+ NOLINK=yes set the right options (andrej).
+
+2001-11-15 11:46 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: Remove memtest
+ crunch from here
+
+2001-11-15 11:34 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Call with
+ perl the configurator
+
+2001-10-30 23:43 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/yaboot: another yaboot
+ mod for PPC, eliminate root=root=/dev/hdX
+
+2001-10-30 16:12 Stew Benedict <sbenedict at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/yaboot: update yaboot
+ script to work with new common.pm setup
+
+2001-10-18 10:11 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin.8: Upgrade
+ documentation with new -n option.
+
+2001-10-18 10:10 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin: Add switch -n
+ to allow to just set the flags but don't reboot directly.
+
+2001-10-17 15:43 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: Close file after
+ open it before moving.
+
+2001-10-17 15:12 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Don't
+ make-initrd when we are in REMOVE mode.
+
+2001-10-17 14:26 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: Die instead of
+ print STDERR if we have in unknow option.
+
+2001-10-17 14:18 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/make-initrd: Fix stupid
+ bug in make-initrd when -L is used in argument parsing.
+
+2001-10-17 08:31 Stefan Siegel <siegel at linux-mandrake.com>
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: s/Look/Looks/
+ s/unknow/unknown/
+
+2001-10-16 11:51 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Fix another
+ bug in kernel/initrd comparaisons.
+
+2001-10-15 12:51 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Really check
+ comparaision of kernel between initrd and vmlinuz among
+ with others cleanup/fixes.
+
+2001-10-15 11:42 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Fix stupid bug
+ of too fast bugfixes :p
+ * soft/initscripts/trunk/mandrake/loader/make-initrd: Add check if
+ there is a /lib/modules/$kernel_version before launching
+ mkinitrd.
+
+2001-10-11 15:14 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Fix
+ check_default_entry() cleanup the code there also...
+
+2001-10-08 09:28 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: When adding
+ from fstab return with root= the partition.
+
+2001-10-05 14:56 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: Rework the root
+ detection to make sure to include the sysconfig
+ options, use the same root strategey for lilo and grub. Make
+ sure to
+ don't add too much \n in the config files and nasty it.
+
+2001-10-05 13:19 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: When we are in
+ remove and there are no entry then exit.
+
+2001-10-05 13:08 Stefan Siegel <siegel at linux-mandrake.com>
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ fixed a typo ("yo" instead of "you")
+
+2001-10-05 12:40 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/lilo: Cleanup code for
+ getroot;
+
+2001-10-05 08:28 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/make-initrd: Make
+ relative symlinks.
+
+2001-10-05 08:21 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ Ignore the Autoremove=yes we use it only when install rpm kernel.
+
+2001-09-28 11:32 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader,
+ soft/initscripts/trunk/mandrake/loader/detectloader.8,
+ soft/initscripts/trunk/mandrake/loader/rebootin,
+ soft/initscripts/trunk/mandrake/sound/alsa.utils,
+ soft/initscripts/trunk/mandrake/supermount.8: Upgrade copyright.
+
+2001-09-24 14:06 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ Fix wrong comment.
+
+2001-09-17 09:00 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: If NOLINK
+ then even for initrd don't do a link.
+
+2001-08-23 15:03 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Use fstab to
+ get the root filesystem if we fail in /proc/cmdline (aka:
+ not for grub).
+
+2001-08-16 12:54 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub: Fix grub removal.
+
+2001-08-16 09:09 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Do a -f.
+
+2001-08-04 19:58 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: re-add
+ yaboot detection
+
+2001-08-03 22:07 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/loader/detectloader: - make
+ detectloader works with devfs device naming (even when devfs is
+ not mounted :)
+ - detectloader now requires perl-MDK-Common, adding it to
+ Requires (i wonder why perl-base was not required yet!)
+
+2001-06-14 13:32 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/Makefile,
+ soft/initscripts/trunk/mandrake/loader/Makefile: Bump to version
+ 5_87
+ Fix install with new fileutils install.
+
+2001-05-23 11:35 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/yaboot: Set the name of
+ Stew instead of my (aka: bug him for yaboot ;)).
+
+2001-05-23 11:33 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile: Install yaboot
+ file on ppc.
+
+2001-05-23 11:31 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile,
+ soft/initscripts/trunk/mandrake/loader/detectloader,
+ soft/initscripts/trunk/mandrake/loader/detectloader.8,
+ soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/rebootin,
+ soft/initscripts/trunk/mandrake/loader/yaboot: Add yaboot
+ support from Stew Benedict <sbenedict@mandrakesoft.com>.
+
+2001-04-30 19:37 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: If user has
+ specified a variable DEFAULT_LOADER="lilo" or grub then
+ print it and exist (aka: don't detect).
+
+2001-04-30 05:09 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: Detect which vga we
+ running by the BOOT_IMAGE= we have booted (via
+ cmdline) and what it set lilo.conf.
+
+2001-04-27 14:27 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Fix typo in
+ message by David Relson <relson@osagesoftware.com>.
+
+2001-04-20 09:42 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Don't
+ remove default System.map and default config.
+
+2001-04-17 15:49 Fançois Pons
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: if multiple
+ MBR are found, try the first one instead of the last one. Usefull
+ for ackbar or multiple IDE devices with MBR initialized.
+
+2001-04-14 17:58 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/make-initrd: Don't do the
+ same link for kernel22 as others.
+
+2001-04-12 01:21 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/make-initrd: Add support
+ for secure kernel.
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Add
+ support for secure kernel, and don't do System.map or config link
+ since it done by rc.sysinit at boot time.
+
+2001-04-11 04:11 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: Add enterprise
+ support.
+
+2001-04-11 03:54 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Add
+ do_remove_link to clean orphaned link when removing.
+
+2001-04-11 03:03 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/make-initrd: Add
+ enterprise support.
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Correct
+ installation of kernel-smp and add enterprise support.
+
+2001-04-09 14:29 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: Add support for
+ memtest86.
+
+2001-04-09 13:07 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: More option to
+ don't get with lilo.
+
+2001-04-09 11:39 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Fix when doing
+ detection of /proc/cmdline under 2.2.x since it's
+ different there.
+
+2001-04-09 11:24 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin: Call
+ detectloader with -q, allow to pass argument when rebooting lilo
+ (grub support come after).
+
+2001-04-09 11:22 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin: Don't call perl
+ with -w to don't have usless warn.
+
+2001-04-08 14:41 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig,
+ soft/initscripts/trunk/mandrake/loader/lilo: By default parse
+ the /proc/cmdline to get the options we have booted, if user has
+ specified NOCMDLINE then don't do it but try in any case to get
+ the root= device, various bugfixes also.
+
+2001-04-08 14:35 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel:
+ NOCOPY="yes" if we are in REMOVE mode.
+
+2001-04-07 16:51 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub: don't put a . when
+ /boot is on another partition but just a /
+
+2001-04-07 14:28 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Call
+ detectloader with -q.
+ * soft/initscripts/trunk/mandrake/loader/detectloader: Add -q to
+ don't warn message.
+
+2001-04-07 14:23 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Exit if we
+ are DURING_INSTALL.
+
+2001-04-06 00:38 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ If user has specified AUTOREMOVE=yes then always AUTOREMOVE if
+ specified =no then always Don't autoremove (even if specified on
+ the command line).
+
+2001-04-05 19:48 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig,
+ soft/initscripts/trunk/mandrake/loader/lilo: If use has
+ specified an OPTIONS="" in sysconfig file then append it to
+ generated entry.
+
+2001-04-05 19:08 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: .config
+ can be based also in ../../../.config when called from make
+ install from kernel source.
+
+2001-04-05 19:06 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Correct print
+ message.
+
+2001-04-05 19:05 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Don't die()
+ when doing do_check to don't break make install when doing
+ from kernel.
+
+2001-04-05 19:03 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile: Do check when
+ doing make install.
+
+2001-04-05 18:30 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ Add copy of .config entry and ability in sysconfig to don't want
+ to add entry.
+
+2001-04-04 16:34 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub: Fix devices.map
+ regexp parsing.
+
+2001-04-03 20:35 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub: Fix initrd entry
+ (specify the grub_partition where to locate it).
+
+2001-04-03 15:39 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub: Add slash to $boot
+
+2001-04-03 15:27 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub: Don't add /boot
+ when /boot is on another partitions.
+
+2001-04-01 00:42 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Don't
+ do_link when removing.
+
+2001-04-01 00:34 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin,
+ soft/initscripts/trunk/mandrake/loader/rebootin.8: Add -f
+ (fastboot) option.
+
+2001-03-31 23:22 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Update
+ usage to last options.
+
+2001-03-31 23:16 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ comment example fixes.
+
+2001-03-31 23:05 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin: Fancy.
+ * soft/initscripts/trunk/mandrake/loader/installkernel.sysconfig:
+ New configuration file for installkernel.
+
+2001-03-31 23:03 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin: Check if there
+ is more than 0 entries in lilo.conf, check if the
+ default we want is present before doing lilo -R.
+
+2001-03-31 22:48 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel:
+ s|NOCOPY|NOLINK|;
+
+2001-03-31 22:42 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Add
+ support for global configuration file in /etc/sysconfig if
+ present,
+ by default produce link unless NOLINK is specified.
+
+2001-03-31 22:41 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: Add checks of
+ lilo.conf.
+ * soft/initscripts/trunk/mandrake/loader/grub: don't call do_check
+ in $remove;
+
+2001-03-31 22:40 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile: Add
+ installkernel sysconfig configuration here.
+
+2001-03-22 18:03 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/Makefile,
+ soft/initscripts/trunk/mandrake/loader/Makefile: Move
+ detectloader to loader/ directory.
+
+2001-03-20 15:42 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile,
+ soft/initscripts/trunk/mandrake/loader/rebootin.8: Add
+ rebootin.8 manpages.
+
+2001-03-20 15:09 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/rebootin: Fix mispelling
+ errors.
+
+2001-03-20 13:54 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/loader/Makefile,
+ soft/initscripts/trunk/mandrake/loader/rebootin: Add rebootin
+ here from grub and make it support lilo via detecting loader.
+
+2001-03-18 17:11 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: Backup config files
+ before doing anything.
+
+2001-03-16 16:52 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Fix stupid
+ error syntax.
+
+2001-03-16 16:46 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm: Add debug.
+ Don't get_the_first_kernel get the kernel we going to
+ uninstall. Don't detect only mdk kernel in
+ get_the_first_kernel. Reactive generation of mkinitrd.
+
+2001-03-16 16:43 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Add remove
+ options.
+ * soft/initscripts/trunk/mandrake/loader/lilo: Fix regexp when
+ doing remove.
+
+2001-03-16 16:42 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/grub: Add remove options
+ for grub.
+
+2001-03-13 13:31 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: add -d to
+ getopts.
+
+2001-03-13 00:08 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: set $debug to 0 :p.
+
+2001-03-13 00:05 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: copy image
+ with -$version and create link from vmlinuz-$version to
+ vmlinuz (also for system.map)
+ Autodetect by default.
+
+2001-03-11 22:31 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: Add remove entry
+ option for lilo, fix some display information in common.pm.
+
+2001-03-11 18:05 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/Makefile,
+ soft/initscripts/trunk/mandrake/loader/common.pm,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/lilo: Export common
+ function to common.pm, and fix some bugs.
+
+2001-03-11 15:43 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: Improve debug.
+
+2001-03-11 15:23 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/installkernel: Fix
+ argument parsing.
+
+2001-03-11 15:22 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/lilo: Remove debug stuff.
+
+2001-03-11 15:05 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/Makefile,
+ soft/initscripts/trunk/mandrake/loader/Makefile,
+ soft/initscripts/trunk/mandrake/loader/grub,
+ soft/initscripts/trunk/mandrake/loader/installkernel,
+ soft/initscripts/trunk/mandrake/loader/lilo,
+ soft/initscripts/trunk/mandrake/loader/make-initrd: Add new
+ installkernel.
+
+2001-02-27 13:24 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: fix
+ detection of grub for new grub
+
+2000-09-20 11:32 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: patch
+ detectloader to skip cdroms (otherwise stops cd-audios)
+
+2000-09-05 11:49 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/loader/detectloader: - modify
+ detectloader for new grub
+
+2000-08-21 14:48 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake/loader/detectloader: Fix the
+ print of the loader type.
+
+2000-08-05 17:15 Pixel <pixel at mandriva.com>
+
+ * soft/initscripts/trunk/ChangeLog,
+ soft/initscripts/trunk/initscripts.spec,
+ soft/initscripts/trunk/mandrake/loader/detectloader: no_comment
+
+2000-07-30 05:07 Chmouel Boudjnah
+
+ * soft/initscripts/trunk/mandrake,
+ soft/initscripts/trunk/mandrake/.cvsignore,
+ soft/initscripts/trunk/mandrake/Makefile,
+ soft/initscripts/trunk/mandrake/inputrc.csh,
+ soft/initscripts/trunk/mandrake/inputrc.sh,
+ soft/initscripts/trunk/mandrake/installkernel,
+ soft/initscripts/trunk/mandrake/is_depmod_necessary.c,
+ soft/initscripts/trunk/mandrake/kheader,
+ soft/initscripts/trunk/mandrake/listhome,
+ soft/initscripts/trunk/mandrake/loader,
+ soft/initscripts/trunk/mandrake/loader/detectloader,
+ soft/initscripts/trunk/mandrake/loader/detectloader.8,
+ soft/initscripts/trunk/mandrake/mandrake_everytime,
+ soft/initscripts/trunk/mandrake/mandrake_firstime,
+ soft/initscripts/trunk/mandrake/modules,
+ soft/initscripts/trunk/mandrake/rc.modules,
+ soft/initscripts/trunk/mandrake/sound,
+ soft/initscripts/trunk/mandrake/sound/sound.init,
+ soft/initscripts/trunk/mandrake/supermount,
+ soft/initscripts/trunk/mandrake/supermount.8,
+ soft/initscripts/trunk/mandrake/tmpdir.csh,
+ soft/initscripts/trunk/mandrake/tmpdir.sh,
+ soft/initscripts/trunk/mandrake/usb: Initial revision
+
+2006-05-16 10:19 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec: - kheader: add support for tmb kernels -
+ /etc/init.d/kheader should not be a config file -
+ s/Mandrakesoft/Mandriva/
+
+2006-05-15 12:29 Pixel <pixel at mandriva.com>
+
+ * kheader.pl: add support for tmb kernels
+
+2006-05-11 14:45 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * detectloader, detectloader.8, installkernel,
+ kernel_remove_initrd, kheader.pl, rebootin, rebootin.8: more
+ s/Mandrakesoft/mandriva/
+
+2006-01-09 00:06 Olivier Blin <oblin at mandriva.com>
+
+ * bootloader-utils.spec: 1.9-6mdk
+
+2006-01-08 21:45 Olivier Blin <oblin at mandriva.com>
+
+ * kheader.pl: convert X-Parallel- tags to LSB
+
+2006-01-01 18:43 Olivier Blin <oblin at mandriva.com>
+
+ * bootloader-utils.spec: 1.9-5mdk
+
+2006-01-01 18:42 Olivier Blin <oblin at mandriva.com>
+
+ * Makefile: workaround presence of debug package to detect correct
+ version and release
+
+2006-01-01 18:35 Olivier Blin <oblin at mandriva.com>
+
+ * kheader.pl: parallel init support
+
+2005-12-20 00:25 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * bootloader-utils.spec, detectloader: fix detectloader to get boot
+ partition from yaboo.conf on ppc
+
+2005-12-19 23:23 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * bootloader-utils.spec, kheader: fix kheader initscript for
+ -power5 kernels
+
+2005-12-15 15:28 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * bootloader-utils.spec, yaboot: fix default links on ppc kernel
+ removal, i.e. correctly update kernel image & initrd symlinks for
+ default kernel entry
+
+2005-12-15 14:48 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * common.pm: "p5" sublabel is used for -power5 kernels
+
+2005-12-13 17:08 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * yaboot: revert last changes, spaces support is an extension from
+ suse "bastardized" yaboot variant
+
+2005-12-13 16:09 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * yaboot: yaboot.conf has no particular constraints on token
+ separators, i.e. "image =" is a valid entry
+
+2005-12-12 18:14 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * detectloader: merge yaboot detection with 2006.0 bits + add
+ support for yaboot in PReP
+
+2005-12-12 18:13 Gwenole Beauchesne <gbeauchesne at mandriva.com>
+
+ * Makefile, bootloader-utils.spec: ppc64 fixes
+
+2005-08-29 13:28 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec, installkernel: nice handling of "make
+ modules_install" not done (when installing own built kernel)
+ (bugzilla #17981)
+
+2005-08-11 03:14 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec: commit Nicolas Lcureuil's changes
+
+2005-04-01 15:05 Olivier Blin <oblin at mandriva.com>
+
+ * installkernel: do not warn that the kernel is a boot kernel when
+ removing it
+
+2004-11-12 10:43 Pixel <pixel at mandriva.com>
+
+ * .cvsignore, Makefile, bootloader-utils.spec, kheader, kheader.pl:
+ - kheader is now generated from kheader.pl when building package
+ - kheader: add i586-up-1GB and i686-up-64GB (bugzilla #12189)
+
+2004-09-09 10:09 Nicolas Planel <nplanel at mandriva.com>
+
+ * kheader: add i586-up-1GB
+
+2004-08-26 07:54 Juan Quintela <quintela at mandriva.com>
+
+ * bootloader-utils.spec, installkernel: added -C option to use
+ cramfs
+
+2004-07-18 06:50 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec: 1.8-6mdk
+
+2004-07-18 06:50 Pixel <pixel at mandriva.com>
+
+ * installkernel: don't do anything DURING_INSTALL
+
+2004-07-18 06:39 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec: 1.8-5mdk
+
+2004-07-18 06:39 Pixel <pixel at mandriva.com>
+
+ * installkernel: - ensure the PATH contains /sbin and /usr/sbin -
+ force rebuilding the initrd in "copy" mode (since one may build
+ more than one kernel with the same version) - use --no-short-name
+ in "copy" mode
+
+2004-07-05 04:37 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec, installkernel: bootloader-config prefers
+ --no-short-name instead of --no-link
+
+2004-07-01 10:38 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec: require drakxtools-backend instead of
+ drakxtools-newt
+
+2004-06-30 03:29 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec: 1.8-2mdk
+
+2004-06-30 03:20 Pixel <pixel at mandriva.com>
+
+ * installkernel: - installkernel *is* used for copying installing
+ kernels in /boot (cf arch/i386/boot/install.sh used by kernel's
+ "make install") - some "cleanup"
+
+2004-06-29 06:50 Pixel <pixel at mandriva.com>
+
+ * Makefile, bootloader-utils.spec, common.pm, detectloader,
+ detectloader.8, grub, installkernel, installkernel.sysconfig,
+ lilo, make-initrd, yaboot: - installkernel: - it is now a
+ wrapper to bootloader-config (in drakxtools-newt) - always have
+ option AUTOREMOVE - always have option NOCOPY (was useful to
+ copy your home built kernel) => option NOCONFIG deprecated
+ - force option -s when installing and -S when removing (ie
+ always do/remove the "build" symlink to the source tree) -
+ force bootloader auto-detection (options AUTODETECT and LOADER
+ are deprecated) - option OPTIONS is removed (what was it for
+ exactly?) - detectloader is now a wrapper to bootloader-config
+ (in drakxtools-newt) - helper scripts make-initrd, lilo, grub and
+ yaboot obsolete
+
+2004-06-22 13:59 Pixel <pixel at mandriva.com>
+
+ * make-initrd: fix typo
+
+2004-05-17 08:44 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * bootloader-utils.spec: add prereq on rpm-helper
+
+2004-05-17 08:36 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * bootloader-utils.spec: 1.7-1mdk
+
+2004-05-17 08:30 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * common.pm: (getroot_from_fstab) sanitize /etc/fstab parsing: -
+ strip comments - strip all spaces - do not match "/foobar/" when
+ looking for "/" - name fstab fields (purely cosmetic change) -
+ simplify by reusing cat_()
+
+2004-05-17 08:30 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * grub: simplify /boot/grub/menu.lst writing by reusing
+ MDK::Common's substInFile()
+
+2004-05-17 08:30 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * grub: (get_boot_partitions) simplify by reusing cat_()
+
+2004-05-17 08:29 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * grub: (get_boot_partitions) handle "LABEL=foobar" when looking
+ for boot device: - copy unmakedev from libDrakX's common.pm - use
+ it to lookup /dev/root into /proc/partitions when a label is
+ found (minimal LABEL=foobar managment for mdkmove+, generic
+ LABEL=foobar support is still lacking)
+
+2004-05-17 08:29 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * grub: (get_boot_partitions) name fstab fields (purely cosmetic
+ change)
+
+2004-05-17 08:29 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * grub: (get_boot_partitions) sanitize loop: - strip all spaces -
+ do not match "/foobar/" when looking for "/" - do not match
+ "/foobar/boot" when looking for "/boot"
+
+2004-03-02 12:37 Nicolas Planel <nplanel at mandriva.com>
+
+ * bootloader-utils.spec: 1.6-7mdk
+
+2004-03-02 12:36 Nicolas Planel <nplanel at mandriva.com>
+
+ * yaboot: getroot() don't have argument
+
+2004-03-02 12:13 Nicolas Planel <nplanel at mandriva.com>
+
+ * bootloader-utils.spec: 1.6-6mdk
+
+2004-03-02 11:36 Nicolas Planel <nplanel at mandriva.com>
+
+ * common.pm: remove hdX=ide-scsi for 2.4 and 2.6 kernel
+
+2004-03-01 18:16 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * common.pm: fix append parsing
+
+2004-02-27 15:38 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * bootloader-utils.spec: add bug ref in changelog
+
+2004-02-27 09:09 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * common.pm: kill getVarsFromSh() gratuitously copied from
+ MDK::Common whereas we already use MDK::Common
+
+2004-02-27 08:53 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * bootloader-utils.spec: 1.6-5mdk
+
+2004-02-27 08:51 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * common.pm, grub, installkernel, kernel_remove_initrd, lilo,
+ make-initrd, rebootin: from Thomas Backlund <tmb@mandrake.org>: -
+ typo fixes - make some messages somewhat more understandable
+
+2004-02-27 08:45 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * grub: when boot loader is grub, do not remove unrelated kernel
+ entries
+
+2004-02-27 08:43 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * common.pm: in debugging mode, ignore missing kernels
+
+2004-01-26 15:28 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * common.pm: (cat_) make it perl_checker compliant
+
+2004-01-26 15:27 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * common.pm: use s/grep/any/ when possible
+
+2004-01-26 15:26 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * grub, lilo: reindent
+
+2004-01-26 15:24 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * common.pm, grub, lilo: perl_checker fixes
+
+2004-01-19 15:28 Pixel <pixel at mandriva.com>
+
+ * common.pm: cleanup sanitize_ver
+
+2003-11-12 13:38 Pixel <pixel at mandriva.com>
+
+ * bootloader-utils.spec, detectloader: fix detectloader typo (perl
+ now reports an error instead of silently ignoring the pb)
+
+2003-09-17 12:21 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * bootloader-utils.spec: typo fix
+
+2003-09-17 12:05 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * bootloader-utils.spec: 1.6-3mdk
+
+2003-09-17 12:05 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * grub: when configuring grub, find finding the root partition when
+ /etc/fstab has commented out lines
+
+ else, get_boot_partitions() may return "#/dev/hda1" instead of
+ "/dev/hda1" and the convert_grub_part() caller horribly die with
+ the (cryptic) "Can't convert grub_partition" message.
+
+2003-09-17 12:02 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * Makefile: add localsrpm target
+
+2003-09-08 14:47 Frederic Lepied <flepied at mandriva.com>
+
+ * bootloader-utils.spec: 1.6-2mdk
+
+2003-09-05 05:54 Juan Quintela <quintela at mandriva.com>
+
+ * bootloader-utils.spec: 1.6 version
+
+2003-09-05 05:42 Juan Quintela <quintela at mandriva.com>
+
+ * kheader: kheader makes more sense
+
+2003-09-05 05:15 Juan Quintela <quintela at mandriva.com>
+
+ * common.pm: remove unused code & add support for
+ -mdkver-cpu-nproc-ver kernels
+
+2003-09-03 16:45 Frederic Lepied <flepied at mandriva.com>
+
+ * bootloader-utils.spec: 1.5-1mdk
+
+2003-09-03 16:45 Frederic Lepied <flepied at mandriva.com>
+
+ * Makefile: added kheader management
+
+2003-09-03 16:44 Frederic Lepied <flepied at mandriva.com>
+
+ * kheader: first version
+
+2003-09-03 10:24 Frederic Lepied <flepied at mandriva.com>
+
+ * installkernel: fix typo (Thomas Backlund)
+
+2003-08-30 21:10 Frederic Lepied <flepied at mandriva.com>
+
+ * bootloader-utils.spec: 1.4-1mdk
+
+2003-08-29 19:16 Juan Quintela <quintela at mandriva.com>
+
+ * bootloader-utils.spec: remove more slashes and convince it that
+ new kernels are also from Mandrake
+
+2003-08-29 19:15 Juan Quintela <quintela at mandriva.com>
+
+ * common.pm: Add more things to strip names.
+
+2003-08-21 11:05 Juan Quintela <quintela at mandriva.com>
+
+ * bootloader-utils.spec: Obsoletes/Provides kernel-utils
+
+2003-08-21 11:03 Juan Quintela <quintela at mandriva.com>
+
+ * lilo: also strip \n
+
+2003-08-21 02:21 Juan Quintela <quintela at mandriva.com>
+
+ * bootloader-utils.spec: 1.3 version
+
+2003-08-21 02:17 Juan Quintela <quintela at mandriva.com>
+
+ * installkernel: cd only for NOCOPY
+
+2003-08-18 17:06 Frederic Lepied <flepied at mandriva.com>
+
+ * kernel-utils.spec: renamed bootloader-utils
+
+2003-08-18 10:38 Frederic Lepied <flepied at mandriva.com>
+
+ * bootloader-utils.spec: 1.2
+
+2003-08-18 10:37 Frederic Lepied <flepied at mandriva.com>
+
+ * Makefile: switch name to bootloader-utils
+
+2003-08-18 10:36 Frederic Lepied <flepied at mandriva.com>
+
+ * bootloader-utils.spec: first version
+
+2003-08-14 11:36 Juan Quintela <quintela at mandriva.com>
+
+ * lilo: "blah" and blah should match only blah
+
+2003-08-13 22:16 Juan Quintela <quintela at mandriva.com>
+
+ * kernel-utils.spec: v 1.1
+
+2003-08-13 22:13 Juan Quintela <quintela at mandriva.com>
+
+ * installkernel: add proper quoting
+
+2003-08-13 22:12 Juan Quintela <quintela at mandriva.com>
+
+ * kernel-utils.spec: v 0.8
+
+2003-08-13 20:30 Juan Quintela <quintela at mandriva.com>
+
+ * installkernel: shell don't like spaces after =
+
+2003-08-13 20:19 Juan Quintela <quintela at mandriva.com>
+
+ * kernel-utils.spec: 0.7 version
+
+2003-08-13 20:16 Juan Quintela <quintela at mandriva.com>
+
+ * installkernel: be sure that -S and -s works
+
+2003-08-13 14:53 Juan Quintela <quintela at mandriva.com>
+
+ * common.pm: add variable
+
+2003-08-13 14:52 Juan Quintela <quintela at mandriva.com>
+
+ * kernel-utils.spec: version 0.5
+
+2003-08-13 14:50 Juan Quintela <quintela at mandriva.com>
+
+ * common.pm: new sanitize ver for new kernels
+
+2003-08-13 13:57 Juan Quintela <quintela at mandriva.com>
+
+ * kernel-utils.spec: v 0.4 & use _sbindir
+
+2003-08-13 13:56 Juan Quintela <quintela at mandriva.com>
+
+ * common.pm: minor cleanup
+
+2003-08-13 13:56 Juan Quintela <quintela at mandriva.com>
+
+ * Makefile: kernel_remove_initrd is also a SH script
+
+2003-08-13 13:33 Juan Quintela <quintela at mandriva.com>
+
+ * lilo: this time spaces at the end of lines doesn't matter
+
+2003-08-13 13:31 Juan Quintela <quintela at mandriva.com>
+
+ * common.pm: spelling typo
+
+2003-08-13 11:57 Juan Quintela <quintela at mandriva.com>
+
+ * Makefile, kernel-utils.spec: add kernel_remove_initrd
+
+2003-08-13 11:55 Juan Quintela <quintela at mandriva.com>
+
+ * kernel_remove_initrd: file to remove initrd's
+
+2003-08-13 11:54 Juan Quintela <quintela at mandriva.com>
+
+ * installkernel: cleanup and add source options
+
+2003-08-13 02:36 Juan Quintela <quintela at mandriva.com>
+
+ * installkernel: remove -q (quiet option) not implemented
+
+2003-08-13 02:31 Juan Quintela <quintela at mandriva.com>
+
+ * installkernel: remove -r unused option and add cd
+
+2003-08-12 16:35 Juan Quintela <quintela at mandriva.com>
+
+ * common.pm, grub, lilo, yaboot: remove vmlinuz- from sanity_ver
+ and all its callers
+
+2003-08-08 01:25 Juan Quintela <quintela at mandriva.com>
+
+ * lilo: work when kernel name ends in spaces
+
+2003-08-04 21:07 Frederic Lepied <flepied at mandriva.com>
+
+ * kernel-utils.spec: 0.2-1mdk
+
+2003-08-04 16:44 Frederic Lepied <flepied at mandriva.com>
+
+ * kernel-utils.spec: 0.1
+
+2003-07-21 22:51 Juan Quintela <quintela at mandriva.com>
+
+ * kernel-utils.spec: this is a test
+
+2003-07-21 22:45 Frederic Lepied <flepied at mandriva.com>
+
+ * kernel-utils.spec: added a conflict with the initscripts packages
+ that contains the same files
+
+2003-07-21 22:35 Frederic Lepied <flepied at mandriva.com>
+
+ * Makefile: added rules to build rpm packages
+
+2003-07-21 22:35 Frederic Lepied <flepied at mandriva.com>
+
+ * kernel-utils.spec: first version from Juan
+
+2003-07-14 21:27 Thierry Vignaud <tvignaud at mandriva.com>
+
+ * detectloader: fix bootloader detection when getting devfs names
+
+2003-07-03 13:26 Stew Benedict <sbenedict at mandriva.com>
+
+ * detectloader: Allow detectloader to run on non-lilo systems. (Ben
+ Reser)
+
+2003-03-20 15:00 Chmouel Boudjnah
+
+ * grub, lilo: Make backup of old entry when it not exiting for the
+ old default (problem show all the time at first new kernel
+ ugprade).
+
+2003-03-20 13:58 Chmouel Boudjnah
+
+ * common.pm: Change adress reporting to Cooker.
+
+2003-03-20 13:57 Chmouel Boudjnah
+
+ * common.pm: Don't regenerate if the initrd is already here.
+
+2003-03-17 16:26 Chmouel Boudjnah
+
+ * detectloader: Update mbr detection table from drakx. First try to
+ detect the partition from boot= of lilo.
+
+2003-02-03 16:28 Chmouel Boudjnah
+
+ * rebootin: Add list option.
+
+2003-02-03 11:52 Chmouel Boudjnah
+
+ * common.pm: Support of latest kernel naming scheme
+
+2003-01-13 12:01 Chmouel Boudjnah
+
+ * rebootin: Correct lilo.conf entry detection when there is "
+ inside.
+
+2002-11-16 22:30 Stew Benedict <sbenedict at mandriva.com>
+
+ * yaboot: Update ofpath, ybin paths.
+
+2002-11-07 14:09 Stew Benedict <sbenedict at mandriva.com>
+
+ * detectloader: PPC - Handle RS6K yaboot detection.
+
+2002-11-07 12:59 Stew Benedict <sbenedict at mandriva.com>
+
+ * detectloader: Rework PPC detection, can't always count on
+ "bootstrap" for user created.
+
+2002-08-15 12:11 Stew Benedict <sbenedict at mandriva.com>
+
+ * common.pm: Fix installkernel to handle user built mdkcustom
+ without emailing Chmouel
+
+2002-08-01 15:12 Warly <warly at mandriva.com>
+
+ * installkernel.sysconfig, make-initrd: add oden option to pass
+ option to make-initrd
+
+2002-06-23 21:12 Pixel <pixel at mandriva.com>
+
+ * grub: mandrake/loader/grub: handle fstab devices using devfs
+ names (fix problem reported by Alexander Skwar)
+
+2002-03-12 16:12 Stew Benedict <sbenedict at mandriva.com>
+
+ * yaboot: fix installkernel yaboot entry for seperate /boot
+
+2002-02-14 17:34 Chmouel Boudjnah
+
+ * detectloader: Return always aboot on alpha.
+
+2002-02-08 17:23 Chmouel Boudjnah
+
+ * common.pm: Don't add quiet to options when the bootsplash theme
+ say no.
+
+2002-02-08 16:51 Chmouel Boudjnah
+
+ * installkernel.sysconfig: Bootsplash things are moved to his
+ config files.
+
+2002-02-04 18:00 Chmouel Boudjnah
+
+ * installkernel.sysconfig: Add option LOGO_CONSOLE=no Say yes here
+ if you want to leave the logo on the console.
+
+2002-01-30 15:39 Chmouel Boudjnah
+
+ * installkernel.sysconfig: Add option SPLASH= for boot splash
+ image.
+
+2002-01-29 23:09 Guillaume Cottenceau
+
+ * detectloader: duplicate signatures for grub unecessary
+
+2002-01-24 23:47 Pixel <pixel at mandriva.com>
+
+ * detectloader: mandrake/loader/installkernel: detect the
+ now-nice-magic of grub
+
+2002-01-24 17:50 Chmouel Boudjnah
+
+ * common.pm, installkernel, make-initrd: Add support for BOOT
+ kernel, cleanup remove_link make it a litle less stupid (and i am
+ if i wrote that stuff)
+
+2002-01-24 17:48 Chmouel Boudjnah
+
+ * detectloader: Add detection for latest grub (pixel)
+
+2002-01-24 16:40 Stew Benedict <sbenedict at mandriva.com>
+
+ * installkernel: forgot to remove the preceeding fi
+
+2002-01-24 16:32 Stew Benedict <sbenedict at mandriva.com>
+
+ * installkernel: add PPC version of check for bootloader config
+
+2002-01-24 15:28 Chmouel Boudjnah
+
+ * installkernel: Make the check for /boot/grub/menu.lst
+ /etc/lilo.conf only x86 archs.
+
+2002-01-22 21:22 Chmouel Boudjnah
+
+ * installkernel: Remove the DURING_INSTALL check it breaks rpmdrake
+ instead checking menu.lst, lilo.conf before generating..
+
+2002-01-16 22:39 Chmouel Boudjnah
+
+ * common.pm: Don't exist when kernel_version_of_entry don't follow
+ initrd_version_of_entry just warning.
+
+2002-01-07 16:52 Chmouel Boudjnah
+
+ * common.pm, detectloader, detectloader.8, grub, installkernel,
+ lilo, make-initrd, rebootin, yaboot: Update copyright.
+
+2002-01-04 17:54 Chmouel Boudjnah
+
+ * installkernel: make-initrd is sh script now (gb)
+
+2001-12-24 14:16 Chmouel Boudjnah
+
+ * common.pm: Add documentation and cleaning.
+
+2001-12-24 12:37 Chmouel Boudjnah
+
+ * common.pm, installkernel, make-initrd: Add linus and mosix to
+ valid mdk kernels. Check if it is a valid mdk kernels even when
+ no initrd. installkernel different links for different vmlinuz
+ version.
+
+2001-12-10 11:02 Chmouel Boudjnah
+
+ * Makefile: make-initrd is now sh script.
+
+2001-12-05 12:36 Chmouel Boudjnah
+
+ * make-initrd: Copyright update
+
+2001-12-05 12:35 Chmouel Boudjnah
+
+ * make-initrd: Rewrite it in shell no need to do perl when we
+ launch only shell command.
+
+2001-12-05 11:56 Chmouel Boudjnah
+
+ * common.pm: fix comment.
+
+2001-12-05 11:54 Chmouel Boudjnah
+
+ * installkernel: Do something smarter with arg parsing.
+
+2001-12-04 15:37 Chmouel Boudjnah
+
+ * common.pm, grub, lilo, yaboot: New function sanitize_ver to
+ detect all kind of kernels naming and sanitize (new_mdk, old_mdk,
+ linus-vanilla, linus-pre) like the old one to still have backward
+ compatibility with old config files. Make the loader using it.
+
+2001-12-04 15:22 Chmouel Boudjnah
+
+ * common.pm, detectloader, grub, lilo, make-initrd, rebootin,
+ yaboot: Remove trailing whitespace.
+
+2001-12-04 14:19 Chmouel Boudjnah
+
+ * installkernel: Make the copy to vmlinuz.old more robust check if
+ it is a link before and try to copy the vmlinuz.old only if the
+ one installed != the one already installed (guess nobody will
+ understand that but yes this is smarter things update ;)).
+
+2001-11-20 09:53 Chmouel Boudjnah
+
+ * installkernel: When NOLINK=yes set the right options (andrej).
+
+2001-11-15 12:46 Chmouel Boudjnah
+
+ * lilo: Remove memtest crunch from here
+
+2001-11-15 12:34 Chmouel Boudjnah
+
+ * installkernel: Call with perl the configurator
+
+2001-10-31 00:43 Stew Benedict <sbenedict at mandriva.com>
+
+ * yaboot: another yaboot mod for PPC, eliminate root=root=/dev/hdX
+
+2001-10-30 17:12 Stew Benedict <sbenedict at mandriva.com>
+
+ * yaboot: update yaboot script to work with new common.pm setup
+
+2001-10-18 12:11 Chmouel Boudjnah
+
+ * rebootin.8: Upgrade documentation with new -n option.
+
+2001-10-18 12:10 Chmouel Boudjnah
+
+ * rebootin: Add switch -n to allow to just set the flags but don't
+ reboot directly.
+
+2001-10-17 17:43 Chmouel Boudjnah
+
+ * lilo: Close file after open it before moving.
+
+2001-10-17 17:12 Chmouel Boudjnah
+
+ * installkernel: Don't make-initrd when we are in REMOVE mode.
+
+2001-10-17 16:26 Chmouel Boudjnah
+
+ * lilo: Die instead of print STDERR if we have in unknow option.
+
+2001-10-17 16:18 Chmouel Boudjnah
+
+ * make-initrd: Fix stupid bug in make-initrd when -L is used in
+ argument parsing.
+
+2001-10-17 10:31 Stefan Siegel <siegel at linux-mandrake.com>
+
+ * common.pm: s/Look/Looks/ s/unknow/unknown/
+
+2001-10-16 13:51 Chmouel Boudjnah
+
+ * common.pm: Fix another bug in kernel/initrd comparaisons.
+
+2001-10-15 14:51 Chmouel Boudjnah
+
+ * common.pm: Really check comparaision of kernel between initrd and
+ vmlinuz among with others cleanup/fixes.
+
+2001-10-15 13:42 Chmouel Boudjnah
+
+ * common.pm: Fix stupid bug of too fast bugfixes :p
+
+2001-10-15 13:42 Chmouel Boudjnah
+
+ * make-initrd: Add check if there is a /lib/modules/$kernel_version
+ before launching mkinitrd.
+
+2001-10-11 17:14 Chmouel Boudjnah
+
+ * common.pm: Fix check_default_entry() cleanup the code there
+ also...
+
+2001-10-08 11:28 Chmouel Boudjnah
+
+ * common.pm: When adding from fstab return with root= the
+ partition.
+
+2001-10-05 16:56 Chmouel Boudjnah
+
+ * common.pm, grub, lilo: Rework the root detection to make sure to
+ include the sysconfig options, use the same root strategey for
+ lilo and grub. Make sure to don't add too much \n in the config
+ files and nasty it.
+
+2001-10-05 15:19 Chmouel Boudjnah
+
+ * common.pm, grub, lilo: When we are in remove and there are no
+ entry then exit.
+
+2001-10-05 15:08 Stefan Siegel <siegel at linux-mandrake.com>
+
+ * installkernel.sysconfig: fixed a typo ("yo" instead of "you")
+
+2001-10-05 14:40 Chmouel Boudjnah
+
+ * common.pm, lilo: Cleanup code for getroot;
+
+2001-10-05 10:28 Chmouel Boudjnah
+
+ * make-initrd: Make relative symlinks.
+
+2001-10-05 10:20 Chmouel Boudjnah
+
+ * installkernel, installkernel.sysconfig: Ignore the Autoremove=yes
+ we use it only when install rpm kernel.
+
+2001-09-28 13:32 Chmouel Boudjnah
+
+ * detectloader, detectloader.8, rebootin: Upgrade copyright.
+
+2001-09-24 16:06 Chmouel Boudjnah
+
+ * installkernel.sysconfig: Fix wrong comment.
+
+2001-09-17 11:00 Chmouel Boudjnah
+
+ * installkernel: If NOLINK then even for initrd don't do a link.
+
+2001-08-23 17:03 Chmouel Boudjnah
+
+ * common.pm: Use fstab to get the root filesystem if we fail in
+ /proc/cmdline (aka: not for grub).
+
+2001-08-16 14:54 Chmouel Boudjnah
+
+ * grub: Fix grub removal.
+
+2001-08-16 11:09 Chmouel Boudjnah
+
+ * installkernel: Do a -f.
+
+2001-08-04 21:58 Pixel <pixel at mandriva.com>
+
+ * detectloader: re-add yaboot detection
+
+2001-08-04 00:07 Pixel <pixel at mandriva.com>
+
+ * detectloader: - make detectloader works with devfs device naming
+ (even when devfs is not mounted :) - detectloader now requires
+ perl-MDK-Common, adding it to Requires (i wonder why perl-base
+ was not required yet!)
+
+2001-06-14 15:32 Chmouel Boudjnah
+
+ * Makefile: Bump to version 5_87 Fix install with new fileutils
+ install.
+
+2001-05-23 13:35 Chmouel Boudjnah
+
+ * yaboot: Set the name of Stew instead of my (aka: bug him for
+ yaboot ;)).
+
+2001-05-23 13:33 Chmouel Boudjnah
+
+ * Makefile: Install yaboot file on ppc.
+
+2001-05-23 13:31 Chmouel Boudjnah
+
+ * Makefile, detectloader, detectloader.8, installkernel, rebootin,
+ yaboot: Add yaboot support from Stew Benedict
+ <sbenedict@mandrakesoft.com>.
+
+2001-04-30 21:37 Chmouel Boudjnah
+
+ * detectloader: If user has specified a variable
+ DEFAULT_LOADER="lilo" or grub then print it and exist (aka: don't
+ detect).
+
+2001-04-30 07:09 Chmouel Boudjnah
+
+ * lilo: Detect which vga we running by the BOOT_IMAGE= we have
+ booted (via cmdline) and what it set lilo.conf.
+
+2001-04-27 16:27 Chmouel Boudjnah
+
+ * common.pm: Fix typo in message by David Relson
+ <relson@osagesoftware.com>.
+
+2001-04-20 11:42 Chmouel Boudjnah
+
+ * installkernel: Don't remove default System.map and default
+ config.
+
+2001-04-17 17:49 Fançois Pons
+
+ * detectloader: if multiple MBR are found, try the first one
+ instead of the last one. Usefull for ackbar or multiple IDE
+ devices with MBR initialized.
+
+2001-04-14 19:58 Chmouel Boudjnah
+
+ * make-initrd: Don't do the same link for kernel22 as others.
+
+2001-04-12 03:21 Chmouel Boudjnah
+
+ * common.pm, make-initrd: Add support for secure kernel.
+
+2001-04-12 03:21 Chmouel Boudjnah
+
+ * installkernel: Add support for secure kernel, and don't do
+ System.map or config link since it done by rc.sysinit at boot
+ time.
+
+2001-04-11 06:11 Chmouel Boudjnah
+
+ * grub: Add enterprise support.
+
+2001-04-11 06:06 Chmouel Boudjnah
+
+ * common.pm, lilo: Add enterprise support.
+
+2001-04-11 05:54 Chmouel Boudjnah
+
+ * installkernel: Add do_remove_link to clean orphaned link when
+ removing.
+
+2001-04-11 05:03 Chmouel Boudjnah
+
+ * make-initrd: Add enterprise support.
+
+2001-04-11 05:03 Chmouel Boudjnah
+
+ * installkernel: Correct installation of kernel-smp and add
+ enterprise support.
+
+2001-04-09 16:29 Chmouel Boudjnah
+
+ * lilo: Add support for memtest86.
+
+2001-04-09 15:07 Chmouel Boudjnah
+
+ * common.pm: More option to don't get with lilo.
+
+2001-04-09 13:39 Chmouel Boudjnah
+
+ * common.pm: Fix when doing detection of /proc/cmdline under 2.2.x
+ since it's different there.
+
+2001-04-09 13:24 Chmouel Boudjnah
+
+ * rebootin: Call detectloader with -q, allow to pass argument when
+ rebooting lilo (grub support come after).
+
+2001-04-09 13:22 Chmouel Boudjnah
+
+ * rebootin: Don't call perl with -w to don't have usless warn.
+
+2001-04-08 16:41 Chmouel Boudjnah
+
+ * common.pm, grub, installkernel.sysconfig, lilo: By default parse
+ the /proc/cmdline to get the options we have booted, if user has
+ specified NOCMDLINE then don't do it but try in any case to get
+ the root= device, various bugfixes also.
+
+2001-04-08 16:35 Chmouel Boudjnah
+
+ * installkernel: NOCOPY="yes" if we are in REMOVE mode.
+
+2001-04-07 18:51 Chmouel Boudjnah
+
+ * grub: don't put a . when /boot is on another partition but just a
+ /
+
+2001-04-07 16:28 Chmouel Boudjnah
+
+ * installkernel: Call detectloader with -q.
+
+2001-04-07 16:28 Chmouel Boudjnah
+
+ * detectloader: Add -q to don't warn message.
+
+2001-04-07 16:23 Chmouel Boudjnah
+
+ * installkernel: Exit if we are DURING_INSTALL.
+
+2001-04-06 02:38 Chmouel Boudjnah
+
+ * installkernel, installkernel.sysconfig: If user has specified
+ AUTOREMOVE=yes then always AUTOREMOVE if specified =no then
+ always Don't autoremove (even if specified on the command line).
+
+2001-04-05 21:48 Chmouel Boudjnah
+
+ * common.pm, grub, installkernel.sysconfig, lilo: If use has
+ specified an OPTIONS="" in sysconfig file then append it to
+ generated entry.
+
+2001-04-05 21:08 Chmouel Boudjnah
+
+ * installkernel: .config can be based also in ../../../.config when
+ called from make install from kernel source.
+
+2001-04-05 21:06 Chmouel Boudjnah
+
+ * common.pm: Correct print message.
+
+2001-04-05 21:05 Chmouel Boudjnah
+
+ * common.pm: Don't die() when doing do_check to don't break make
+ install when doing from kernel.
+
+2001-04-05 21:03 Chmouel Boudjnah
+
+ * Makefile: Do check when doing make install.
+
+2001-04-05 20:30 Chmouel Boudjnah
+
+ * installkernel, installkernel.sysconfig: Add copy of .config entry
+ and ability in sysconfig to don't want to add entry.
+
+2001-04-04 18:34 Chmouel Boudjnah
+
+ * grub: Fix devices.map regexp parsing.
+
+2001-04-03 22:35 Chmouel Boudjnah
+
+ * grub: Fix initrd entry (specify the grub_partition where to
+ locate it).
+
+2001-04-03 17:39 Chmouel Boudjnah
+
+ * grub: Add slash to $boot
+
+2001-04-03 17:27 Chmouel Boudjnah
+
+ * grub: Don't add /boot when /boot is on another partitions.
+
+2001-04-01 02:42 Chmouel Boudjnah
+
+ * installkernel: Don't do_link when removing.
+
+2001-04-01 02:34 Chmouel Boudjnah
+
+ * rebootin, rebootin.8: Add -f (fastboot) option.
+
+2001-04-01 01:22 Chmouel Boudjnah
+
+ * installkernel: Update usage to last options.
+
+2001-04-01 01:16 Chmouel Boudjnah
+
+ * installkernel.sysconfig: comment example fixes.
+
+2001-04-01 01:05 Chmouel Boudjnah
+
+ * rebootin: Fancy.
+
+2001-04-01 01:05 Chmouel Boudjnah
+
+ * installkernel.sysconfig: New configuration file for
+ installkernel.
+
+2001-04-01 01:03 Chmouel Boudjnah
+
+ * rebootin: Check if there is more than 0 entries in lilo.conf,
+ check if the default we want is present before doing lilo -R.
+
+2001-04-01 00:48 Chmouel Boudjnah
+
+ * installkernel: s|NOCOPY|NOLINK|;
+
+2001-04-01 00:42 Chmouel Boudjnah
+
+ * installkernel: Add support for global configuration file in
+ /etc/sysconfig if present, by default produce link unless NOLINK
+ is specified.
+
+2001-04-01 00:41 Chmouel Boudjnah
+
+ * lilo: Add checks of lilo.conf.
+
+2001-04-01 00:41 Chmouel Boudjnah
+
+ * grub: don't call do_check in $remove;
+
+2001-04-01 00:40 Chmouel Boudjnah
+
+ * Makefile: Add installkernel sysconfig configuration here.
+
+2001-03-22 19:03 Chmouel Boudjnah
+
+ * Makefile: Move detectloader to loader/ directory.
+
+2001-03-20 16:42 Chmouel Boudjnah
+
+ * Makefile, rebootin.8: Add rebootin.8 manpages.
+
+2001-03-20 16:09 Chmouel Boudjnah
+
+ * rebootin: Fix mispelling errors.
+
+2001-03-20 14:54 Chmouel Boudjnah
+
+ * Makefile, rebootin: Add rebootin here from grub and make it
+ support lilo via detecting loader.
+
+2001-03-18 18:11 Chmouel Boudjnah
+
+ * grub, lilo: Backup config files before doing anything.
+
+2001-03-16 17:52 Chmouel Boudjnah
+
+ * installkernel: Fix stupid error syntax.
+
+2001-03-16 17:46 Chmouel Boudjnah
+
+ * common.pm: Add debug. Don't get_the_first_kernel get the kernel
+ we going to uninstall. Don't detect only mdk kernel in
+ get_the_first_kernel. Reactive generation of mkinitrd.
+
+2001-03-16 17:43 Chmouel Boudjnah
+
+ * installkernel: Add remove options.
+
+2001-03-16 17:43 Chmouel Boudjnah
+
+ * lilo: Fix regexp when doing remove.
+
+2001-03-16 17:42 Chmouel Boudjnah
+
+ * grub: Add remove options for grub.
+
+2001-03-13 14:31 Chmouel Boudjnah
+
+ * installkernel: add -d to getopts.
+
+2001-03-13 01:08 Chmouel Boudjnah
+
+ * lilo: set $debug to 0 :p.
+
+2001-03-13 01:05 Chmouel Boudjnah
+
+ * installkernel: copy image with -$version and create link from
+ vmlinuz-$version to vmlinuz (also for system.map) Autodetect by
+ default.
+
+2001-03-11 23:31 Chmouel Boudjnah
+
+ * common.pm, grub, lilo: Add remove entry option for lilo, fix some
+ display information in common.pm.
+
+2001-03-11 19:05 Chmouel Boudjnah
+
+ * Makefile, common.pm, grub, lilo: Export common function to
+ common.pm, and fix some bugs.
+
+2001-03-11 16:43 Chmouel Boudjnah
+
+ * lilo: Improve debug.
+
+2001-03-11 16:23 Chmouel Boudjnah
+
+ * installkernel: Fix argument parsing.
+
+2001-03-11 16:22 Chmouel Boudjnah
+
+ * lilo: Remove debug stuff.
+
+2001-03-11 16:05 Chmouel Boudjnah
+
+ * Makefile, grub, installkernel, lilo, make-initrd: Add new
+ installkernel.
+
+2001-02-27 14:24 Pixel <pixel at mandriva.com>
+
+ * detectloader: fix detection of grub for new grub
+
+2000-09-20 13:32 Pixel <pixel at mandriva.com>
+
+ * detectloader: patch detectloader to skip cdroms (otherwise stops
+ cd-audios)
+
+2000-09-05 13:49 Pixel <pixel at mandriva.com>
+
+ * detectloader: - modify detectloader for new grub
+
+2000-08-21 16:48 Chmouel Boudjnah
+
+ * detectloader: Fix the print of the loader type.
+
+2000-08-05 19:15 Pixel <pixel at mandriva.com>
+
+ * detectloader: no_comment
+
+2000-07-30 07:07 Chmouel Boudjnah
+
+ * detectloader, detectloader.8: First_import
+
+2000-07-30 07:07 Chmouel Boudjnah
+
+ * detectloader, detectloader.8: Initial revision
+
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..19aa3a9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,83 @@
+PL=rebootin
+SH_FILES=detectloader installkernel installkernel.sysconfig kernel_remove_initrd
+SH=$(SH_FILES) kheader
+MAN=rebootin.8 detectloader.8
+FROMPERLFILES=kheader
+ARCH=$(shell uname -m)
+
+UTILS = bootloader-utils.spec Makefile
+FILES = $(PL) $(SH_FILES) $(MAN) $(UTILS) $(FROMPERLFILES:%=%.pl)
+
+PACKAGE=bootloader-utils
+VERSION=1.14
+TAG = $(VERSION)
+
+SVN_URL := $(shell svn info | sed -n '/^URL[^:]*: *\(.*\)/s//\1/p')
+SVNROOT := $(shell dirname $(SVN_URL))
+SVNCOPY = $(SVN_URL)
+
+all: $(FROMPERLFILES) check
+
+check:
+ @for i in $(SH);do /bin/bash -n $$i || exit 1;echo $$i syntax OK;done
+ @for i in $(PL);do perl -c $$i ||exit 1;done
+
+install: check
+ install -d $(ROOT)/usr/share/man/man8/
+ install -d $(ROOT)/{,usr}/sbin
+ install -d $(ROOT)/etc/sysconfig
+ install -d $(ROOT)/etc/rc.d/init.d
+ install -m644 $(MAN) $(ROOT)/usr/share/man/man8/
+ install -m755 installkernel $(ROOT)/sbin/
+ install -m755 kernel_remove_initrd $(ROOT)/sbin/
+ install -m644 installkernel.sysconfig $(ROOT)/etc/sysconfig/installkernel
+ install -m755 rebootin detectloader $(ROOT)/usr/sbin/
+ install -m755 kheader $(ROOT)/etc/rc.d/init.d/kheader
+
+$(FROMPERLFILES) : %: %.pl
+ rm -f $@
+ perl $< > $@
+ chmod a-w $@
+
+clean:
+ rm -f *~ $(FROMPERLFILES) $(PACKAGE)-*.tar.bz2
+
+# rules to build a test dist
+
+localdist: cleandist dir localcopy tar
+
+cleandist:
+ rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2
+
+dir:
+ mkdir $(PACKAGE)-$(VERSION)
+
+localcopy:
+ tar c $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
+
+tar:
+ tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
+ bzip2 -9vf $(PACKAGE)-$(VERSION).tar
+ rm -rf $(PACKAGE)-$(VERSION)
+
+# rules to build a distributable dist
+
+dist: cleandist export tar
+
+export:
+ svn export $(SVNROOT)/releases/$(TAG) $(PACKAGE)-$(VERSION)
+
+svntag:
+ -svn mkdir $(SVN_BASE)/releases/$(TAG) -m "created directory $(TAG)"
+ svn copy $(SVNCOPY) $(SVNROOT)/releases/$(TAG) -m "Tagged as $(TAG)"
+
+localchangelog:
+#svn2cl is available in our contrib.
+ svn cat `dirname $(SVNROOT)`/common/username.xml > $$TMPDIR/username.xml; \
+ svn2cl --authors $$TMPDIR/username.xml --accum; \
+ rm -f ChangeLog.bak $$TMPDIR/username.xml
+
+changelog: localchangelog
+ svn commit -m "Generated by svn2cl the `date '+%d_%b'`" ChangeLog
+
+# Makefile ends here
diff --git a/detectloader b/detectloader
new file mode 100644
index 0000000..c6b2121
--- /dev/null
+++ b/detectloader
@@ -0,0 +1,8 @@
+#!/bin/sh
+# -*- Mode: cperl -*-
+# Copyright (C) 2000-2004 Mandriva, Pixel <pixel@mandriva.com>
+# and others Mandriva folks.
+# Redistribution of this file is permitted under the terms of the GNU
+# Public License (GPL)
+
+bootloader-config --action detectloader
diff --git a/detectloader.8 b/detectloader.8
new file mode 100644
index 0000000..366bce8
--- /dev/null
+++ b/detectloader.8
@@ -0,0 +1,13 @@
+.TH DETECTLOADER 8 "Apr 2000-2004" "initscripts" "Mandriva"
+.SH NAME
+detectloader \- Detect what type of loader you have on your disk.
+.SH LIMITATION
+.PP
+Supports only grub, lilo, and yaboot (the boot loaders we use for \fBMandriva
+Linux\fR). Patches welcome for other boot loaders.
+.SH COPYRIGHT
+Copyright \(co 1999-2004 Mandriva.
+.PP
+This is free software; see the source for copying conditions. There
+is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE.
diff --git a/installkernel b/installkernel
new file mode 100644
index 0000000..fbd91e0
--- /dev/null
+++ b/installkernel
@@ -0,0 +1,125 @@
+#!/bin/sh
+#--------------------------------------------------------------------
+# Copyright (C) 2000, 2002 by Mandriva,
+# Chmouel Boudjnah <chmouel@mandriva.com>,
+# Redistribution of this file is permitted under the terms of the GNU
+# Public License (GPL)
+#--------------------------------------------------------------------
+# $Id: installkernel 31366 2006-05-11 12:45:38Z tvignaud $
+#--------------------------------------------------------------------
+## description:
+# Install a kernel to /boot and add an entry for grub,
+# lilo, or yaboot
+
+# /etc/sysconfig/installkernel variables
+NOLINK=""
+NOENTRY=""
+INITRDOPTS=""
+
+# deprecated /etc/sysconfig/installkernel variables
+NOLAUNCH=""
+
+# local variables
+action="add-kernel"
+no_initrd=
+
+if [ -f /etc/sysconfig/installkernel ];then
+ source /etc/sysconfig/installkernel
+fi
+
+export PATH=$PATH:/sbin:/usr/sbin
+
+function do_load_loop_module () {
+ modprobe loop 2> /dev/null > /dev/null
+}
+
+function usage () {
+cat << EOF >&2
+Usage: ${0##*/} -[NRLh] KERNEL_VERSION [BOOTIMAGE MAPFILE [BOOTDIR]]
+
+ -N: Don't add entry to bootloader
+
+ -R: Remove bootloader entry and prepare to remove kernel
+ -L: Don't do link to default /boot/vmlinuz and /boot/System.map
+
+ -C: use cramfs for initrd.
+
+ -h: This help.
+
+EOF
+exit 2
+}
+
+while getopts algyNdnRsSCiLch opt
+ do
+ case "$opt" in
+ a) ;; # was autodetect
+ s) ;; # was CREATE_LINK_SOURCE
+ S) ;; # was REMOVE_LINK_SOURCE
+
+ N) NOENTRY="yes";;
+ n) NOLAUNCH="yes";;
+
+ R) action="remove-kernel";;
+
+ i) no_initrd="yes";;
+ L) NOLINK="yes";;
+ c) ;; # was NOCOPY
+
+ C) INITRDOPTS=$INITRDOPTS" --initrdfs=cramfs";;
+ h) usage;;
+ *) usage;;
+ esac
+done
+shift $((OPTIND - 1))
+
+version=$1
+
+if [ $# = 3 -o $# = 4 ]; then
+ vmlinuz=$2
+ map_file=$3
+ [ -n "$4" ] && boot=$4 || boot=/boot
+
+ NOLINK="yes"
+ cp -f $vmlinuz $boot/vmlinuz-$version
+ cp -f $map_file $boot/System.map-$version
+ rm -f $boot/initrd-$version.img #- force rebuilding the initrd
+
+ config=.config
+ [ -f $config ] || config=../../../.config
+ [ -f $config ] && cp -f $config $boot/config-$version
+
+ if [ ! -d /lib/modules/$version ]; then
+ echo "no modules installed, so not building initrd (maybe you should run \"make modules_install\" first)"
+ exit 0
+ fi
+
+elif [ $# != 1 ]; then
+ usage
+fi
+
+
+# this is for backward compatibility
+# don't use AUTOREMOVE anymore
+[ "$AUTOREMOVE" = "no" ] && NOENTRY="yes"
+
+if [[ $version == *BOOT ]] && [ "$action" == "add-kernel" ];then
+ cat <<EOF 1>&2
+********* WARNING **********
+You installed a BOOT kernel, and this is not intended for use on a normal system.
+EOF
+fi
+
+[ -z "$DURING_INSTALL" ] || exit 0
+
+[ "$action" = "remove-kernel" ] && do_load_loop_module
+
+options="--action $action"
+[ -z "$NOLINK" ] || options="--no-short-name $options"
+[ -z "$NOENTRY" ] || options="--no-entry $options"
+[ -z "$NOLAUNCH" ] || options="--no-launch $options"
+[ -z "$NOINITRD" ] || options="--no-initrd $options"
+
+if [ -x /usr/sbin/bootloader-config ]; then
+ bootloader-config --kernel-version $version --initrd-options "$INITRDOPTS" $options
+fi
diff --git a/installkernel.sysconfig b/installkernel.sysconfig
new file mode 100644
index 0000000..ad2b213
--- /dev/null
+++ b/installkernel.sysconfig
@@ -0,0 +1,14 @@
+# -*- Mode: shell-script -*-
+# $Id: installkernel.sysconfig 30419 2004-06-29 04:50:42Z prigaux $
+# Configuration option when installing a kernel and initrscript.
+
+# Set this to yes if you never want link from /boot/vmlinuz to the
+# kernel.
+NOLINK=""
+
+# Set this to yes if you don't want to add entry to your bootloader
+NOENTRY=""
+
+# If you want to pass options to the "make-initrd" helper script you
+# can do it here.
+INITRDOPTS=""
diff --git a/kernel_remove_initrd b/kernel_remove_initrd
new file mode 100644
index 0000000..8ce8d8b
--- /dev/null
+++ b/kernel_remove_initrd
@@ -0,0 +1,37 @@
+#!/bin/sh
+#--------------------------------------------------------------------
+# Copyright (C) 2003 by Mandriva,
+# Juan Quintela <quintela@mandriva.com>,
+# Redistribution of this file is permitted under the terms of the GNU
+# Public License (GPL)
+#--------------------------------------------------------------------
+# $Id: kernel_remove_initrd 31366 2006-05-11 12:45:38Z tvignaud $
+#--------------------------------------------------------------------
+## description:
+# Remove initrd at uninstall time
+
+function usage () {
+cat << EOF >&2
+Usage: ${0##*/} KERNEL_VERSION [BOOTDIR]
+
+ removes initrd for that kernel version if it exists.
+EOF
+exit 2
+}
+
+
+version=$1
+
+if [[ -z "$version" ]];then
+ usage;
+fi
+
+[[ -n $2 ]] && boot=$2 || boot=/boot
+
+cd $boot
+
+if [ -f initrd-${version}.img ];then
+ rm -f initrd-${version}.img
+fi
+
+exit 0
diff --git a/kheader.pl b/kheader.pl
new file mode 100644
index 0000000..8dbf935
--- /dev/null
+++ b/kheader.pl
@@ -0,0 +1,163 @@
+#!/usr/bin/perl
+
+use MDK::Common;
+
+my @kernels = group_by2(
+ 'smp' => 'SMP',
+ 'xen0' => 'XEN0',
+ 'default' => 'DEFAULT',
+ 'legacy' => 'LEGACY',
+ 'enterprise' => 'ENTERPRISE',
+ 'secure' => 'SECURE',
+ '-i686-up-4GB' => 'I686_UP_4GB',
+ '-i686-up-64GB' => 'I686_UP_64GB',
+ '-p3-smp-64GB' => 'P3_SMP_64GB',
+ '-i586-up-1GB' => 'I586_UP_1GB',
+
+ 'desktop' => 'DESKTOP',
+ 'desktopsmp' => 'DESKTOPSMP',
+ 'desktop-i586' => 'DESKTOP_I586',
+ 'desktopsmp-i586' => 'DESKTOPSMP_I586',
+ 'laptop' => 'LAPTOP',
+ 'laptopsmp' => 'LAPTOPSMP',
+ 'server' => 'SERVER',
+ 'serversmp' => 'SERVERSMP',
+
+ '*' => 'UP', #- keep it the last
+);
+
+my $init_vars = join(';', map { "$_->[1]=0" } @kernels);
+
+my $set_vars = join('',
+ map {
+ <<EOF
+ $_->[0])
+ $_->[1]=1;;
+EOF
+ } @kernels);
+
+
+my $defines = join("\n",
+ map {
+ <<EOF
+#ifndef __BOOT_KERNEL_$_->[1]
+#define __BOOT_KERNEL_$_->[1] \$$_->[1]
+#endif
+EOF
+ } @kernels);
+
+printf(<<'KHEADER', $init_vars, $set_vars, $defines);
+#!/bin/sh
+# (c) Mandriva, Pixel <pixel@mandriva.com>
+# $Id: kheader.pl 84121 2006-11-14 16:12:11Z pixel $
+#
+# kheader: Regenerates kernel headers
+#
+# chkconfig: 235 95 20
+# description: This shell script regenerates the /boot/kernel.h header for \
+# /usr/src/linux/include/{autoconf,version}.h
+#
+### BEGIN INIT INFO
+# Provides: kheader
+# Default-Start: 2 3 5
+# Short-Description: Regenerates kernel headers
+# Description: This shell script regenerates the /boot/kernel.h header for
+# /usr/src/linux/include/{autoconf,version}.h
+### END INIT INFO
+
+. /etc/rc.d/init.d/functions
+
+: ${KERNEL_H:=/boot/kernel.h}
+: ${HEADERFILE:=${KERNEL_H}-`uname -r`}
+[ -d $(dirname $HEADERFILE) ] || exit 0
+
+table() {
+ %s
+
+ # this will do the trick until gprintf.py expands variables
+ echo_no_gprintf="echo"
+
+ ver=$(uname -r)
+ mdk="md[kv]"
+ k=$($echo_no_gprintf $ver|sed "s/.*$mdk//")
+
+ # for tmb & multimedia kernels
+ case $ver in
+ *-desktop-*)
+ k=desktop$k;;
+ *-laptop-*)
+ k=laptop$k;;
+ *-server-*)
+ k=server$k;;
+ esac
+
+ case $k in
+%s
+ esac
+
+ # since 2.6.17-2mdv, default kernels can be SMP enabled by
+ # default, hence a new name
+ $echo_no_gprintf "$UP:$ver" | grep -q "^1:.*$mdk" && {
+ case $ver in
+ # XXX simpler to maintain a skip list
+ [01].*|2.[0-5].*|2.6.[0-9]-*|2.6.1[0-6]-*|2.6.17-1mdk);;
+ *) UP=0; DEFAULT=1;;
+ esac
+ }
+
+ unset echo_no_gprintf
+}
+
+generate () {
+ table;
+ # do not overwrite exsisting header, it confuses
+ # kernel make and forces it to recompile everything
+ cat > $HEADERFILE.tmp << EOF
+/* This file is automatically generated at boot time. */
+#ifndef __BOOT_KERNEL_H_
+#define __BOOT_KERNEL_H_
+
+%s
+#endif
+EOF
+
+mv -f $HEADERFILE.tmp $HEADERFILE
+
+if [ -f $KERNEL_H ] ; then
+ rm -f $KERNEL_H
+fi
+
+ln -sf $HEADERFILE $KERNEL_H
+}
+
+function remove_orphaned {
+ local version= i=
+ for i in /boot/kernel.h-* /boot/System.map-* /boot/config-*; do
+ version=${i#*-}
+ [[ -f /boot/vmlinuz-${version} ]] || rm -f ${i}
+ done
+}
+
+case $1 in
+ start)
+ # We don't log this command, because most users don't want to hear this (c) Chmou
+ generate
+ touch /var/lock/subsys/kheader
+ ;;
+ restart)
+ ;;
+ reload)
+ generate
+ ;;
+ stop)
+ remove_orphaned;
+ rm -f /var/lock/subsys/kheader
+ ;;
+ status)
+ ;;
+ *)
+ gprintf "Usage: %%s\n" "$(basename $0) {start|stop|reload|restart}"
+ exit 0
+ ;;
+esac
+KHEADER
diff --git a/rebootin b/rebootin
new file mode 100644
index 0000000..ae9a9fd
--- /dev/null
+++ b/rebootin
@@ -0,0 +1,104 @@
+#!/usr/bin/perl
+#--------------------------------------------------------------------
+# Copyright (C) 2000, 2001, 2002 by Mandriva,
+# Pixel <pixel@mandriva.com>,
+# Chmouel Boudjnah <chmouel@mandriva.com>,
+# Redistribution of this file is permitted under the terms of the GNU
+# Public License (GPL)
+#--------------------------------------------------------------------
+# $Id: rebootin 109033 2007-01-15 09:40:20Z pixel $
+#--------------------------------------------------------------------
+## description:
+# Reboot once on a specified image for grub or lilo
+
+use strict;
+
+my $lilo_conf = "/etc/lilo.conf";
+
+my $grub_menu = "/boot/grub/menu.lst";
+my ($fastboot, $noreboot, $list);
+
+while ($ARGV[0] =~ /^-/) {
+ local $_ = shift;
+ if (/^-f/) {
+ $fastboot++;
+ } elsif (/^-l/) {
+ $list++;
+ } elsif (/^-n/) {
+ $noreboot++;
+ } else {
+ die "Unknown switch $_\n";
+ }
+}
+
+$list || @ARGV == 1 && $ARGV[0] or usage();
+my ($wanted_entry) = @ARGV;
+
+my $bootloader = `/usr/sbin/detectloader -q` or die "Can't detect your bootloader\n";chomp $bootloader;
+
+my @entries;
+if ($bootloader =~ /GRUB/) {
+ grub_conf();
+} elsif ($bootloader =~ /LILO/) {
+ lilo_conf();
+} elsif ($bootloader =~ /YABOOT/) {
+ die "Sorry, can't do this with yaboot...\n";
+} else {
+ die "Can't detect your bootloader\n";
+}
+exec "reboot" unless $noreboot;
+
+
+sub list_entries { print "$_\n" foreach @entries; exit(0) }
+
+sub lilo_conf {
+ open(my $F, $lilo_conf) or die "lilo is not installed ($lilo_conf is missing)\n";
+ @entries = map { /="?([^"\n]+)/ } grep { /\s*label=\S*/ } <$F>;
+ list_entries() if $list;
+ @entries > 0 or die "Bad lilo.conf (no entry found)\n";
+ grep { $_ eq $wanted_entry } @entries or usage();
+ write_fast_boot() if $fastboot;
+ system("lilo -R $wanted_entry"); die "error while wanting to reboot on $wanted_entry\n" if $?;
+}
+
+sub grub_conf {
+ open(my $F, $grub_menu) or die "grub is not installed ($grub_menu is missing)\n";
+ my @short_entries;
+ foreach (<$F>) {
+ if (/^title\s+(.*)/) {
+ push @entries, $1;
+ } elsif (/BOOT_IMAGE=(\S+)/) {
+ $short_entries[$#entries] = $1;
+ }
+ }
+ list_entries() if $list;
+ @entries > 0 or die "bad menu.lst (no entry found)\n";
+
+ for (my $i = 0; $i < @entries; $i++) {
+ if ($wanted_entry eq $entries[$i] || $wanted_entry eq $short_entries[$i]) {
+ set_grub($i);
+ return;
+ }
+ }
+
+ print STDERR "$wanted_entry not found\n";
+ usage(); # not found
+}
+
+sub set_grub {
+ open(my $F, "| grub --device-map=/boot/grub/device.map --batch");
+ print $F "savedefault --default=$_[0] --once\nquit\n";
+ write_fast_boot() if $fastboot;
+}
+
+sub usage {
+ my $entries = @entries ? " where <label> is one of " . join(", ", @entries) . "\n" : '';
+ die <<'EOF' . $entries;
+usage: rebootin -l
+ rebootin [-n] [-f] <label>
+EOF
+}
+
+sub write_fast_boot {
+ open(my $_F, ">/fastboot");
+}
diff --git a/rebootin.8 b/rebootin.8
new file mode 100644
index 0000000..b6c031b
--- /dev/null
+++ b/rebootin.8
@@ -0,0 +1,42 @@
+.TH rebootin 8 "03 Mar 2001" "Mandriva" "Mandriva Linux"
+.IX rebootin
+.SH NAME
+rebootin \- Reboots the machine using a particular Boot Loader entry
+.SH SYNOPSIS
+.B rebootin [\fIOPTIONS\fR] <\fIlabel\fP>
+.SH DESCRIPTION
+\fBrebootin\fP reboots the machine it is launched on. While with a
+simple \fBreboot\fP you need to manually select the boot entry to use
+at startup, \fBrebootin\fP allows to specify the boot entry on the
+command line.
+.PP
+<\fIlabel\fP> is the name of the entry as named in the boot loader
+configuration file.
+.PP
+\fBrebootin\fP currently works with \fBLILO\fP and \fBGrub\fP.
+.PP
+Running \fBrebootin\fP without any argument displays the list of
+available boot entries as supported by the current boot loader.
+.SH OPTIONS
+.TP
+.I -f
+Create a /fastboot file to reboot in fastboot mode (eg: no \fBfsck(8)\fP).
+.TP
+.I -n
+Don't reboot immediately just set the flags for next reboot.
+.SH FILES
+/etc/lilo.conf
+/boot/grub/menu.lst
+.br
+The \fBrebootin\fP executable (perl script)
+.PP
+.SH "SEE ALSO"
+grub(8),
+lilo(8),
+fsck(8)
+.SH AUTHORS
+Pascal Rigaux, Mandriva
+.br
+pixel@mandriva.com
+.PP
+Chmouel Boudjnah, Mandriva