mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-26 02:21:40 +00:00
add even more verbose output to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early (thanks Oliver!)
This commit is contained in:
parent
029c51b4ae
commit
7c61ea6307
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
|||||||
|
livecd-rootfs (2.287) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* add even more verbose output to
|
||||||
|
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
|
||||||
|
(thanks Oliver!)
|
||||||
|
|
||||||
|
-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 12 Feb 2015 11:33:00 +0100
|
||||||
|
|
||||||
livecd-rootfs (2.286) vivid; urgency=medium
|
livecd-rootfs (2.286) vivid; urgency=medium
|
||||||
|
|
||||||
* touch: forcing package mir-platform-graphics-android to see if we're able
|
* touch: forcing package mir-platform-graphics-android to see if we're able
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -eu
|
#!/bin/sh -eu
|
||||||
|
|
||||||
|
ERRCNT=""
|
||||||
|
|
||||||
# Known good post-debootstrap values
|
# Known good post-debootstrap values
|
||||||
passwd_bootstrap="9738946debbc125bd6cf3f197582a8a5"
|
passwd_bootstrap="9738946debbc125bd6cf3f197582a8a5"
|
||||||
shadow_bootstrap="4d299751999cae6de045390dd568812c"
|
shadow_bootstrap="4d299751999cae6de045390dd568812c"
|
||||||
@ -47,7 +49,7 @@ else
|
|||||||
echo "The output below might help to resolve the issue" >&2
|
echo "The output below might help to resolve the issue" >&2
|
||||||
cat /etc/passwd
|
cat /etc/passwd
|
||||||
echo "passwd md5sum: $passwd_hash" >&2
|
echo "passwd md5sum: $passwd_hash" >&2
|
||||||
exit 1
|
ERRCNT=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# /etc/shadow
|
# /etc/shadow
|
||||||
@ -85,7 +87,7 @@ else
|
|||||||
echo "The output below might help to resolve the issue" >&2
|
echo "The output below might help to resolve the issue" >&2
|
||||||
cat /etc/shadow
|
cat /etc/shadow
|
||||||
echo "shadow md5sum: $shadow_hash" >&2
|
echo "shadow md5sum: $shadow_hash" >&2
|
||||||
exit 1
|
ERRCNT=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# /etc/group
|
# /etc/group
|
||||||
@ -149,7 +151,7 @@ else
|
|||||||
echo "The output below might help to resolve the issue" >&2
|
echo "The output below might help to resolve the issue" >&2
|
||||||
cat /etc/group
|
cat /etc/group
|
||||||
echo "group md5sum: $group_hash" >&2
|
echo "group md5sum: $group_hash" >&2
|
||||||
exit 1
|
ERRCNT=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# /etc/gshadow
|
# /etc/gshadow
|
||||||
@ -213,6 +215,17 @@ else
|
|||||||
echo "The output below might help to resolve the issue" >&2
|
echo "The output below might help to resolve the issue" >&2
|
||||||
cat /etc/gshadow
|
cat /etc/gshadow
|
||||||
echo "gshadow md5sum: $gshadow_hash" >&2
|
echo "gshadow md5sum: $gshadow_hash" >&2
|
||||||
|
ERRCNT=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "$ERRCNT" ]; then
|
||||||
|
echo "There were changes to the password database," >&2
|
||||||
|
echo "please adjust the values in the livecd-rootfs source in the file:" >&2
|
||||||
|
echo "live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early" >&2
|
||||||
|
echo >&2
|
||||||
|
echo "Please check also if a maintainer script of the package" >&2
|
||||||
|
echo "that added these entries perhaps created a home directory and," >&2
|
||||||
|
echo "if needed, add code for creation of it to the above hook" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user