diff --git a/debian/changelog b/debian/changelog index 2de1ed76..1b715e9b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.260) UNRELEASED; urgency=medium + + * properly redirect error output in 99zz-check-uid-gid.chroot so it ends up + in the log files. + + -- Oliver Grawert Wed, 29 Oct 2014 13:19:46 +0100 + livecd-rootfs (2.259) vivid; urgency=medium * merge ubuntu-core system-image fixes from the PPA: diff --git a/live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot b/live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot index a112729f..89232918 100755 --- a/live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot +++ b/live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot @@ -39,13 +39,13 @@ if [ "$gshadow_length" != "$gshadow_orig_length" ]; then fi if [ -n "$ERRCNT" ]; then - echo "There were changes to the password database," - echo "please adjust the values in the livecd-rootfs source in the file:" - echo "live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early" - echo - echo "Please check also if a maintainer script of the package" - echo "that added these entries perhaps crated a home directory and," - echo "if needed, add code for creation of it to the above hook" + 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-touch/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 crated a home directory and," >&2 + echo "if needed, add code for creation of it to the above hook" >&2 exit 1 fi