summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Prokop <mika@debian.org>2010-06-14 12:10:28 +0200
committerMichael Prokop <mika@debian.org>2010-06-14 12:10:28 +0200
commit60afd2a944cf36a5bce6ca3b4c07a422e98efeba (patch)
treed4212689fd78054ba3e65897f846184314696bed
parent2a8c9907b1095015e1d669d3cd895657936f6247 (diff)
code cleanup: drop trailing whitespaces.
Signed-off-by: Michael Prokop <mika@debian.org>
-rw-r--r--conf/update-initramfs.conf2
-rw-r--r--debian/changelog6
-rw-r--r--debian/copyright2
-rw-r--r--docs/example_hook2
-rw-r--r--hook-functions2
-rwxr-xr-xinit6
-rw-r--r--initramfs.conf.512
-rwxr-xr-xmkinitramfs2
-rw-r--r--scripts/functions2
-rw-r--r--scripts/local2
-rw-r--r--scripts/nfs2
11 files changed, 20 insertions, 20 deletions
diff --git a/conf/update-initramfs.conf b/conf/update-initramfs.conf
index 3c27473..31823e2 100644
--- a/conf/update-initramfs.conf
+++ b/conf/update-initramfs.conf
@@ -1,4 +1,4 @@
-#
+#
# Configuration file for update-initramfs(8)
#
diff --git a/debian/changelog b/debian/changelog
index b3ae973..901222a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -247,7 +247,7 @@ initramfs-tools (0.93.4) unstable; urgency=medium
* initramfs-tools.8: Convert hyphen to minus sign.
* control: bump versioned dep on debhelper.
* control: bump standards version without changes.
- * hook-functions: Fix loading of entries without newline in
+ * hook-functions: Fix loading of entries without newline in
/etc/initramfs-tools/modules. (closes: #532745)
* MODULES=most: Add virtio_net to initramfs. (closes: #533894)
@@ -537,7 +537,7 @@ initramfs-tools (0.92d) unstable; urgency=low
each message.
- initramfs-tools.preinst: Try to use UUID for resume device.
- add boot script loading ide-generic on all_generic_ide cmdline.
- Thanks Frans Pop <elendil@planet.nl> for report. (closes: #485786)
+ Thanks Frans Pop <elendil@planet.nl> for report. (closes: #485786)
* init: add possible mountroot break (closes: #488963)
* initramfs-tools.8: document UUID usage for root and all_generic_ide.
(closes: #489186)
@@ -744,7 +744,7 @@ initramfs-tools (0.90) unstable; urgency=low
-- maximilian attems <maks@debian.org> Thu, 09 Aug 2007 21:30:29 +0200
initramfs-tools (0.89) unstable; urgency=low
-
+
Release "L'\xE9lecteur c'est notoire N'a pas tout' sa raison"
[ Joey Hess ]
diff --git a/debian/copyright b/debian/copyright
index f84910d..9fe89c8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -13,7 +13,7 @@ http://git.debian.org/?p=kernel/initramfs-tools.git;a=shortlog
Authors: Adam Conrad <adconrad@ubuntu.com>,
Ben Collins <bcollins@ubuntu.com>,
David Härdeman <david@hardeman.nu>,
- Jeff Bailey <jbailey@ubuntu.com>,
+ Jeff Bailey <jbailey@ubuntu.com>,
maximilian attems <maks@debian.org>,
Scott James Remnant <scott@ubuntu.com>
diff --git a/docs/example_hook b/docs/example_hook
index 683ddad..1f35352 100644
--- a/docs/example_hook
+++ b/docs/example_hook
@@ -12,7 +12,7 @@
# command line.
#
# DESTDIR -- The staging directory where we are building the image.
-#
+#
# see initramfs-tools(8)
#
diff --git a/hook-functions b/hook-functions
index f5da1c4..8b6a89c 100644
--- a/hook-functions
+++ b/hook-functions
@@ -183,7 +183,7 @@ sys_walk_mod_add()
{
local driver_path module
device_path="$1"
-
+
while [ "${device_path}" != "/sys" ]; do
sys_walk_modalias ${device_path}
driver_path="$(readlink -f ${device_path}/driver/module)"
diff --git a/init b/init
index 142eb14..a614d89 100755
--- a/init
+++ b/init
@@ -8,8 +8,8 @@ echo "Loading, please wait..."
[ -d /proc ] || mkdir /proc
[ -d /tmp ] || mkdir /tmp
mkdir -p /var/lock
-mount -t sysfs -o nodev,noexec,nosuid none /sys
-mount -t proc -o nodev,noexec,nosuid none /proc
+mount -t sysfs -o nodev,noexec,nosuid none /sys
+mount -t proc -o nodev,noexec,nosuid none /proc
# Note that this only becomes /dev on the real filesystem if udev's scripts
# are used; which they will be, but it's worth pointing out
@@ -184,7 +184,7 @@ done
if [ -n "${noresume}" ]; then
export noresume
unset resume
-else
+else
resume=${RESUME:-}
fi
diff --git a/initramfs.conf.5 b/initramfs.conf.5
index bb01f58..92c3a6d 100644
--- a/initramfs.conf.5
+++ b/initramfs.conf.5
@@ -48,12 +48,12 @@ The keymap will anyway be loaded by the initscripts later, and the packages
that might need input will normally set this variable automatically, so there
should normally be no need to set this.
-.TP
-\fB COMPRESS
-Specifies the compression method used for the initramfs image.
-.B mkinitramfs
-will default to gzip if the kernel lacks support (CONFIG_RD) or the
-corresponding userspace utility is not present.
+.TP
+\fB COMPRESS
+Specifies the compression method used for the initramfs image.
+.B mkinitramfs
+will default to gzip if the kernel lacks support (CONFIG_RD) or the
+corresponding userspace utility is not present.
.TP
\fB UMASK
diff --git a/mkinitramfs b/mkinitramfs
index 58e4c11..70e5c13 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -315,7 +315,7 @@ exec 3>&1
eval `
# http://cfaj.freeshell.org/shell/cus-faq-2.html
exec 4>&1 >&3 3>&-
- cd "${DESTDIR}"
+ cd "${DESTDIR}"
{
find . 4>&-; echo "ec1=$?;" >&4
} | {
diff --git a/scripts/functions b/scripts/functions
index 8730d52..685642e 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -218,7 +218,7 @@ run_scripts()
{
initdir=${1}
[ ! -d ${initdir} ] && return
-
+
if [ -f ${initdir}/ORDER ]; then
. ${initdir}/ORDER
elif command -v tsort >/dev/null 2>&1; then
diff --git a/scripts/local b/scripts/local
index cca5e8d..98464f9 100644
--- a/scripts/local
+++ b/scripts/local
@@ -50,7 +50,7 @@ pre_mountroot()
# We've given up, but we'll let the user fix matters if they can
while [ ! -e "${ROOT}" ]; do
# give hint about renamed root
- case "${ROOT}" in
+ case "${ROOT}" in
/dev/hd*)
suffix="${ROOT#/dev/hd}"
major="${suffix%[[:digit:]]}"
diff --git a/scripts/nfs b/scripts/nfs
index 435d2d0..5c41573 100644
--- a/scripts/nfs
+++ b/scripts/nfs
@@ -4,7 +4,7 @@
retry_nr=0
-# parse nfs bootargs and mount nfs
+# parse nfs bootargs and mount nfs
do_nfsmount()
{