Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #51844

[PATCH initramfs-tools 1/4] scripts/local: Remove residual support for separate /etc filesystem

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel
Subject [PATCH initramfs-tools 1/4] scripts/local: Remove residual support for separate /etc filesystem
Date 2015-12-22 22:50 +0100
Message-ID <qICYG-QF-29@gated-at.bofh.it> (permalink)
References <qICYF-QF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 scripts/local | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/local b/scripts/local
index 0f1d5b9..7ae9117 100644
--- a/scripts/local
+++ b/scripts/local
@@ -91,9 +91,8 @@ local_device_setup()
 		echo "Gave up waiting for $2 device.  Common problems:"
 		echo " - Boot args (cat /proc/cmdline)"
 		echo "   - Check rootdelay= (did the system wait long enough?)"
-	        # Only applies to root= and etc=:
-		if [ "${2#/}" = "$2" ]; then
-			echo "   - Check $2= (did the system wait for the right device?)"
+		if [ "$2" = root ]; then
+			echo "   - Check root= (did the system wait for the right device?)"
 		fi
 		echo " - Missing modules (cat /proc/modules; ls /dev)"
 		panic "ALERT!  $1 does not exist.  Dropping to a shell!"

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH initramfs-tools 0/4] Fix resolution of device IDs Ben Hutchings <ben@decadent.org.uk> - 2015-12-22 22:50 +0100
  [PATCH initramfs-tools 2/4] scripts/local: Name parameters to  local_device_setup Ben Hutchings <ben@decadent.org.uk> - 2015-12-22 22:50 +0100
  [PATCH initramfs-tools 4/4] scripts/functions: Stop resolving  symlinks in resolve_device Ben Hutchings <ben@decadent.org.uk> - 2015-12-22 22:50 +0100
  [PATCH initramfs-tools 1/4] scripts/local: Remove residual support  for separate /etc filesystem Ben Hutchings <ben@decadent.org.uk> - 2015-12-22 22:50 +0100
  [PATCH initramfs-tools 3/4] Defer resolving block device IDs to  local_device_setup Ben Hutchings <ben@decadent.org.uk> - 2015-12-22 22:50 +0100
  Re: [PATCH initramfs-tools 0/4] Fix resolution of device IDs Ben Hutchings <ben@decadent.org.uk> - 2015-12-22 22:50 +0100

csiph-web