From f74887c91e5a1f8a1da79111e50622f90b6a22eb Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Wed, 11 Feb 2015 15:11:28 +0100 Subject: [PATCH] add more verbose output to live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early --- live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early b/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early index 4f203560..21a1e293 100755 --- a/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early +++ b/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early @@ -53,6 +53,8 @@ systemd-bus-proxy:x:114:119:systemd Bus Proxy,,,:/run/systemd:/bin/false EOF else echo "/etc/passwd post-debootstrap hash doesn't match record" >&2 + echo "The output below might help to resolve the issue" >&2 + cat /etc/passwd exit 1 fi @@ -97,6 +99,8 @@ systemd-bus-proxy:*:16372:0:99999:7::: EOF else echo "/etc/shadow post-debootstrap hash doesn't match record" >&2 + echo "The output below might help to resolve the issue" >&2 + cat /etc/shadow exit 1 fi @@ -179,6 +183,8 @@ input:x:121: EOF else echo "/etc/group post-debootstrap hash doesn't match record" >&2 + echo "The output below might help to resolve the issue" >&2 + cat /etc/group exit 1 fi @@ -261,6 +267,8 @@ input:!:: EOF else echo "/etc/gshadow post-debootstrap hash doesn't match record" >&2 + echo "The output below might help to resolve the issue" >&2 + cat /etc/gshadow exit 1 fi