Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: tools/create_debian_chroot.sh

Issue 2250383002: Update linux distribution support to Debian Jesse (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/bots/linux_distribution_support.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_debian_chroot.sh
diff --git a/tools/create_debian_chroot.sh b/tools/create_debian_chroot.sh
index 0f42c3e34ebe8714bf20423f45ecef253d5872f1..1cfcf1eff2d81fccdda6d003dc158db6380740d0 100755
--- a/tools/create_debian_chroot.sh
+++ b/tools/create_debian_chroot.sh
@@ -72,13 +72,13 @@ debootstrap --arch=$ARCH --components=main,restricted,universe,multiverse \
wheezy $CHROOT http://http.us.debian.org/debian/
chroot $CHROOT apt-get update
chroot $CHROOT apt-get -y install \
- debhelper python g++-4.6 git subversion
+ debhelper python git gcc sudo make
# Add chrome-bot user.
-chroot $CHROOT groupadd --gid 1000 chrome-bot
-chroot $CHROOT useradd --gid 1000 --uid 1000 --create-home chrome-bot
+chroot $CHROOT groupadd --gid 1001 chrome-bot
+chroot $CHROOT useradd --gid 1001 --uid 1001 --create-home chrome-bot
mkdir $CHROOT/b
-chown 1000:1000 $CHROOT/b
+chown 1001:1001 $CHROOT/b
# Create trampoline script for running the initialization as chrome-bot.
cat << EOF > $CHROOT/b/init_chroot_trampoline.sh
@@ -111,6 +111,6 @@ fi
chmod 755 $CHROOT/b/init_chroot_trampoline.sh
-chown 1000:1000 $CHROOT/b/init_chroot.sh
+chown 1001:1001 $CHROOT/b/init_chroot.sh
chmod 755 $CHROOT/b/init_chroot.sh
chroot $CHROOT /bin/sh /b/init_chroot_trampoline.sh
« no previous file with comments | « tools/bots/linux_distribution_support.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698