From 74f6c1d8a77421ee03bee1e3f9994c214c400641 Mon Sep 17 00:00:00 2001 From: Joachim Wiedorn Date: Thu, 18 Nov 2010 22:34:28 +0100 Subject: [PATCH] Remove obsolete scripts and manpages --- debian/changelog | 4 ++++ debian/lilo.links | 1 - debian/lilo.sh | 23 ---------------------- debian/lilo_find_mbr | 35 --------------------------------- debian/manpages/lilo.real.8 | 1 - debian/manpages/lilo_find_mbr.8 | 32 ------------------------------ debian/manpages/update-lilo.8 | 1 - 7 files changed, 4 insertions(+), 93 deletions(-) delete mode 100644 debian/lilo.links delete mode 100644 debian/lilo.sh delete mode 100644 debian/lilo_find_mbr delete mode 100644 debian/manpages/lilo.real.8 delete mode 100644 debian/manpages/lilo_find_mbr.8 delete mode 100644 debian/manpages/update-lilo.8 diff --git a/debian/changelog b/debian/changelog index 52fd9d0..674c6ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -22,6 +22,10 @@ lilo (1:23.1-1) unstable; urgency=low * Use new upstream address in debian/watch. * Update all debian/lilo.* and debian/lilo-doc.* files. * Add new debian/lilo-doc.doc-base file. + * Remove lilo.sh wrapper script, used because of devfsd. + * Remove obsolete script lilo_find_mbr and its manpage. + * Remove configured link update-lilo to liloconfig. + * Remove some obsolete manpages. -- Joachim Wiedorn Thu, 18 Nov 2010 20:32:02 +0100 diff --git a/debian/lilo.links b/debian/lilo.links deleted file mode 100644 index 66ce60c..0000000 --- a/debian/lilo.links +++ /dev/null @@ -1 +0,0 @@ -usr/sbin/liloconfig usr/sbin/update-lilo diff --git a/debian/lilo.sh b/debian/lilo.sh deleted file mode 100644 index cb32689..0000000 --- a/debian/lilo.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -e - -# if chroot. -if [ "$1" = "-r" -a "$2" != "" ]; then - if [ -c /dev/.devfsd -a ! -c $2/dev/.devfsd ]; then - mount none $2/dev -t devfs - fi - -# use "$@" instead of $* so you can do `lilo -C "/etc/spare lilo config"` - $0.real "$@" - if [ -c /dev/.devfsd ]; then - umount $2/dev - fi - -else - -# use "$@" instead of $* so you can do `lilo -C "/etc/spare lilo config"` - $0.real "$@" - if [ "$1" != "-t" ]; then - rm -f /boot/boot.b.preserved* /boot/boot-text.b.preserved* /boot/boot-menu.b.preserved* /boot/chain.b.preserved* /boot/os2_d.b.preserved* /boot/boot-bmp.b.preserved - fi - -fi diff --git a/debian/lilo_find_mbr b/debian/lilo_find_mbr deleted file mode 100644 index f226e17..0000000 --- a/debian/lilo_find_mbr +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/perl - -my $root_part; -if($#ARGV != -1) -{ - $root_part = $ARGV[0]; -} -else -{ - $root_part = `awk '{ if (\$2=="/") print \$1}' insert n+1 empty lines -.\" for manpage-specific macros, see man(7) -.SH NAME -lilo_find_mbr \- a simple script that prints the block device containing the main MBR -.SH SYNOPSIS -.B lilo_find_mbr -.br -.SH DESCRIPTION - -.SH OPTIONS -.SH SEE ALSO -.br -For information about LILO, see /usr/share/doc/lilo and /usr/share/doc/lilo-doc. - -.SH AUTHOR -This manual page was written by Andrés Roldán for the -Debian GNU/Linux project. diff --git a/debian/manpages/update-lilo.8 b/debian/manpages/update-lilo.8 deleted file mode 100644 index 3f8a407..0000000 --- a/debian/manpages/update-lilo.8 +++ /dev/null @@ -1 +0,0 @@ -.so man8/liloconfig.8 -- 2.39.2