summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2006-04-15 18:55:43 +0000
committerJeroen Roovers <jer@gentoo.org>2006-04-15 18:55:43 +0000
commit668804823a5e2b0ee3b21b347a2fc1ef714b9738 (patch)
tree090fd55d8d14cf941eb420d2acc5cdf914c89e78 /sys-apps/debianutils/files
parentStable on ppc (diff)
downloadhistorical-668804823a5e2b0ee3b21b347a2fc1ef714b9738.tar.gz
historical-668804823a5e2b0ee3b21b347a2fc1ef714b9738.tar.bz2
historical-668804823a5e2b0ee3b21b347a2fc1ef714b9738.zip
mkboot: fix the shebang, the notice about the -i option and the palo test/run
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'sys-apps/debianutils/files')
-rw-r--r--sys-apps/debianutils/files/debianutils-2.15-palo.patch43
-rw-r--r--sys-apps/debianutils/files/digest-debianutils-2.152
-rw-r--r--sys-apps/debianutils/files/digest-debianutils-2.15-r13
3 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/debianutils/files/debianutils-2.15-palo.patch b/sys-apps/debianutils/files/debianutils-2.15-palo.patch
new file mode 100644
index 000000000000..969daf0eb371
--- /dev/null
+++ b/sys-apps/debianutils/files/debianutils-2.15-palo.patch
@@ -0,0 +1,43 @@
+--- mkboot. 2006-04-02 19:17:59.000000000 +0200
++++ mkboot 2006-04-15 20:41:00.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ # mkboot: make the system bootable
+ # Debian GNU/Linux
+ # Copyright 1996-1997 Guy Maor <maor@debian.org>
+@@ -85,7 +85,7 @@
+ # check whether PALO is installed
+ palocheck() {
+ printf "\nChecking for PALO..."
+- if [ -f /etc/palo.conf ] && [ -x /sbin/palo ]; then
++ if [ -f /etc/palo.conf ] && which palo > /dev/null; then
+ echo "Yes"
+ return 0
+ fi
+@@ -380,9 +380,13 @@
+ fi
+
+ if palocheck; then
+- printf "\nPALO is installed. To automatically switch to new kernels, point your\n"
+- echo "default entry in palo.conf to $1"
+- exit 0
++ palo="$(which palo)"
++ printf "\nShould I run $palo? (y/N) "
++ read input
++ if [ "$input" = "y" ] ; then
++ palo && exit 0
++ fi
++ echo "There was a problem running $palo."
+ fi
+
+ printf "\nShould I make a bootdisk? (y/N) "
+@@ -392,7 +396,7 @@
+ fi
+
+ printf "\nWARNING: Your system is probably unbootable now. After correcting any\n"
+- echo "problems, rerun this script with the command \`mkboot -installkernel'."
++ echo "problems, rerun this script with the command \`mkboot -i'."
+ exit 1
+ fi
+
diff --git a/sys-apps/debianutils/files/digest-debianutils-2.15 b/sys-apps/debianutils/files/digest-debianutils-2.15
index af6dc15dfe84..ff6938abf59a 100644
--- a/sys-apps/debianutils/files/digest-debianutils-2.15
+++ b/sys-apps/debianutils/files/digest-debianutils-2.15
@@ -1 +1,3 @@
MD5 cf312e8791c13297ef345e4e868b7ddc debianutils_2.15.tar.gz 186036
+RMD160 d92e8f7eccdf365063e0ac6cd9312bb8fe1203ba debianutils_2.15.tar.gz 186036
+SHA256 3977562546280605882ccd5c7e82083f100c368352d2db834fb782b8432ff227 debianutils_2.15.tar.gz 186036
diff --git a/sys-apps/debianutils/files/digest-debianutils-2.15-r1 b/sys-apps/debianutils/files/digest-debianutils-2.15-r1
new file mode 100644
index 000000000000..ff6938abf59a
--- /dev/null
+++ b/sys-apps/debianutils/files/digest-debianutils-2.15-r1
@@ -0,0 +1,3 @@
+MD5 cf312e8791c13297ef345e4e868b7ddc debianutils_2.15.tar.gz 186036
+RMD160 d92e8f7eccdf365063e0ac6cd9312bb8fe1203ba debianutils_2.15.tar.gz 186036
+SHA256 3977562546280605882ccd5c7e82083f100c368352d2db834fb782b8432ff227 debianutils_2.15.tar.gz 186036