From edf6eaac9a41e3c06371233a9c2a247e033d617d Mon Sep 17 00:00:00 2001 From: Joachim Wiedorn Date: Mon, 3 Jan 2011 00:32:19 +0100 Subject: [PATCH] Add info about -H option in help message --- debian/changelog | 8 ++++++- .../patches/10_add-info-about-h-option.patch | 21 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 debian/patches/10_add-info-about-h-option.patch diff --git a/debian/changelog b/debian/changelog index fa51802..f26889d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,7 +23,7 @@ lilo (1:23.1-1) unstable; urgency=low * Remove configured link update-lilo to liloconfig. * Remove some obsolete manpages. * Move script liloconfig into directory debian/scripts. - * Add new script update-lilo and its manual page. + * Add new script update-lilo and its manual page. (Closes: #335084) * Add new script lilo-uuid-diskid for ID conversion and its manual page. * Update scripts lilo.postinst, lilo.postrm, lilo.preinst. @@ -45,11 +45,17 @@ lilo (1:23.1-1) unstable; urgency=low * Remove obsolete debian/lilo.changelogs file. * debconf files: + - Remove message above old bitmap path. (Closes: #304065) - Update of debian/lilo.templates and debian/lilo.config. - Add some code to these files using lilo-uuid-diskid. - Small update of german translation. - Add updated Danish debconf translation. (Closes: #596258) + * Some more bugfixes: + - Add usage hints about -H option in src/lilo.c. (Closes: #459714) + - su-to-root command without path in debian/lilo.menu. (Closes: #431077) + - Diffs for NMUs already included. (Closes: #504267, #409663) + -- Joachim Wiedorn Sun, 02 Jan 2011 23:38:18 +0100 lilo (1:22.8-10) unstable; urgency=low diff --git a/debian/patches/10_add-info-about-h-option.patch b/debian/patches/10_add-info-about-h-option.patch new file mode 100644 index 0000000..179d2c5 --- /dev/null +++ b/debian/patches/10_add-info-about-h-option.patch @@ -0,0 +1,21 @@ +Package: lilo +Subject: add usage hints about -H option +Author: Joachim Wiedorn +Forwarded: yes +Last-Update: 2010-11-20 + +The already existing option '-H' isn't listed in the usage, +if you run 'lilo --help'. Now one line is added. +--- + +diff -urN s09/src/lilo.c s10/src/lilo.c +--- s09/src/lilo.c 2010-11-04 23:18:47.000000000 +0100 ++++ s10/src/lilo.c 2010-11-20 15:51:32.270152972 +0100 +@@ -542,6 +542,7 @@ + fprintf(errstd,"%7s%s [ -C config_file ] -I name [ options ]\n","",name); + fprintf(errstd,"%7s%s [ -C config_file ] [ -s save_file ] " + "-u | -U [ boot_device ]\n","",name); ++ fprintf(errstd,"%7s%s -H\t\t\t\tinstall only to active discs (RAID-1)\n", "", name); + fprintf(errstd,"%7s%s -A /dev/XXX [ N ]\t\tinquire/activate a partition\n","",name); + fprintf(errstd,"%7s%s -M /dev/XXX [ mbr | ext ]\tinstall master boot record\n","",name); + fprintf(errstd,"%7s%s -T help \t\t\tlist additional options\n", "", name); diff --git a/debian/patches/series b/debian/patches/series index 4f0f503..3ff9196 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ 07_bad-partition-warn.patch 08_install-also-dat-files.patch 09_use-of-newer-debhelper.patch +10_add-info-about-h-option.patch -- 2.39.2