Browse code

Revert "Temporarily pre-create ~stack/.cache for pip 6"

This reverts commit 0caf2e4dd2be91ef08484d9f1755ffe45480732f.

Turns out the problem was with a "sideways" grenade job in
stable/juno, so no amount of workaround in devstack stable/icehouse
is going to help anyway.

Change-Id: Ieca3df91468b454d3bfae438f95710859fd8f1a0

Jeremy Stanley authored on 2014/12/31 04:26:33
Showing 1 changed files
... ...
@@ -44,13 +44,6 @@ fi
44 44
 if ! getent passwd $STACK_USER >/dev/null; then
45 45
     echo "Creating a user called $STACK_USER"
46 46
     useradd -g $STACK_USER -s /bin/bash -d $DEST -m $STACK_USER
47
-
48
-    # TODO(fungi): Remove after sudo -H pip is used in all supported branches
49
-    #
50
-    # Create user's ~/.cache directory with proper permissions, ensuring later
51
-    # 'sudo pip install's do not create it owned by root.
52
-    mkdir -p ~$STACK_USER/.cache
53
-    chown -R $STACK_USER:$STACK_USER ~$STACK_USER/.cache
54 47
 fi
55 48
 
56 49
 echo "Giving stack user passwordless sudo privileges"