Remove obsolete scripts and manpages
authorJoachim Wiedorn <ad_debian@joonet.de>
Thu, 18 Nov 2010 21:34:28 +0000 (22:34 +0100)
committerJoachim Wiedorn <ad_debian@joonet.de>
Thu, 18 Nov 2010 21:34:28 +0000 (22:34 +0100)
debian/changelog
debian/lilo.links [deleted file]
debian/lilo.sh [deleted file]
debian/lilo_find_mbr [deleted file]
debian/manpages/lilo.real.8 [deleted file]
debian/manpages/lilo_find_mbr.8 [deleted file]
debian/manpages/update-lilo.8 [deleted file]

index 52fd9d049cdeead6cf39281fffe631835ebfb498..674c6eea26a9d261a1885d0a3b7fe6aa17630db7 100644 (file)
@@ -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 <ad_debian@joonet.de>  Thu, 18 Nov 2010 20:32:02 +0100
 
diff --git a/debian/lilo.links b/debian/lilo.links
deleted file mode 100644 (file)
index 66ce60c..0000000
+++ /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 (file)
index cb32689..0000000
+++ /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 (file)
index f226e17..0000000
+++ /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}' </etc/fstab`;
-}
-my $lilo_root_part;
-foreach $item (split("\n", $root_part))
-{
-  if(not $item =~ /#/)
-  {
-    $lilo_root_part = $item;
-  }
-}
-if($lilo_root_part =~ /\/dev\/md/)
-{
-  my $mdname = $lilo_root_part;
-  $mdname =~ s/\/dev\///;
-  $mdname =~ s/\///;
-  my $md = `grep $mdname /proc/mdstat`;
-  my @devices = split(" ", $md);
-  @devices = sort(@devices[4..$#devices]);
-  $lilo_root_part = "/dev/" . $devices[0];
-  $lilo_root_part =~ s/\[.*$//;
-}
-my $lilo_root_disk = $lilo_root_part;
-$lilo_root_disk =~ s/\d+$//;
-$lilo_root_disk =~ s/part$/disc/;
-
-print $lilo_root_disk . "\n";
diff --git a/debian/manpages/lilo.real.8 b/debian/manpages/lilo.real.8
deleted file mode 100644 (file)
index 9c5270d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man8/lilo.8
diff --git a/debian/manpages/lilo_find_mbr.8 b/debian/manpages/lilo_find_mbr.8
deleted file mode 100644 (file)
index 451467e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH LILO_FIND_MBR 8 "july 9, 2003"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh        disable hyphenation
-.\" .hy        enable hyphenation
-.\" .ad l      left justify
-.\" .ad b      justify to both left and right margins
-.\" .nf        disable filling
-.\" .fi        enable filling
-.\" .br        insert line break
-.\" .sp <n>    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 <aroldan@fluidsignal.com> for the 
-Debian GNU/Linux project.
diff --git a/debian/manpages/update-lilo.8 b/debian/manpages/update-lilo.8
deleted file mode 100644 (file)
index 3f8a407..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man8/liloconfig.8