[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 5ecc994 1/2: Improve schroot documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 5ecc994 1/2: Improve schroot documentation |
Date: |
Fri, 23 Sep 2016 23:36:01 +0000 (UTC) |
branch: master
commit 5ecc9946365b5bfdc86e5d5103849b9553171199
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve schroot documentation
---
README.schroot | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/README.schroot b/README.schroot
index 4faf3a0..c3cb5fb 100644
--- a/README.schroot
+++ b/README.schroot
@@ -22,7 +22,10 @@
# Create a chroot for cross-building lmi--with wine, which is
# required to run programs built in the chroot.
-# Starting in a normal terminal, enter a root shell.
+# Log in as the user that will normally use the chroot.
+# Substitute that user's name wherever 'greg' appears below.
+
+# Temporarily enter a root shell.
su
apt-get update
apt-get install schroot debootstrap
@@ -38,7 +41,7 @@ debootstrap --arch=amd64
--unpack-tarball=/var/cache/jessie_bootstrap.tar jessie
cat >/etc/schroot/chroot.d/cross3.conf <<\EOF
[cross3]
-description=debian-8 cross build with wine
+description=debian-8 cross build
directory=/srv/chroot/cross3
users=greg
groups=greg
@@ -81,8 +84,6 @@ chsh -s /bin/zsh greg
touch /home/greg/.zshrc
chown greg:greg /home/greg/.zshrc
-# Substitute your system's $DISPLAY below:
-
cat >/home/greg/.zshrc <<\EOF
export WINEPATH='Z:\\opt\\lmi\\local\\bin;Z:\\opt\\lmi\\local\\lib'
export LMI_HOST=i686-w64-mingw32