1.1 --- a/uml-populate-image Wed Nov 13 00:11:50 2013 +0100
1.2 +++ b/uml-populate-image Wed Nov 13 00:13:13 2013 +0100
1.3 @@ -38,6 +38,14 @@
1.4 THISDIR=`dirname "$0"`
1.5
1.6 echo "Installing the package root..." 1>&2
1.7 +if ! touch "$PACKAGEROOT/root/tmp-uml-make-image" ; then
1.8 + echo "The permissions for copying files from the package root into the image appear to be wrong." 1>&2
1.9 + echo "You may be accessing a root-owned package root and thus need to specify --root as an option." 1>&2
1.10 + exit 1
1.11 +else
1.12 + rm "$PACKAGEROOT/root/tmp-uml-make-image"
1.13 +fi
1.14 +
1.15 cp -a "$PACKAGEROOT/"* "$IMAGEDIR"/
1.16
1.17 if [ -h "$IMAGEDIR/dev" ]; then