summaryrefslogtreecommitdiffstats
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-06-11 16:44:23 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-06-11 16:44:23 +0200
commitc7cda4734292bca540402bb87d1a258f2e4a0eaa (patch)
treeec62895060bc21ecfdda88b777782779ce5a150b /makechrootpkg.in
parent41b39c3e78a8e1503cc7d93ce247bf8a64bb6932 (diff)
downloaddevtools-c7cda4734292bca540402bb87d1a258f2e4a0eaa.tar.gz
devtools-c7cda4734292bca540402bb87d1a258f2e4a0eaa.tar.xz
Enable signature checking within build environment
* bind /sys and /dev/pts from host * drop support for devtmpfs as it is no longer needed * add /run and /dev/rtc0 * clone own ipc, uts and mount namespaces for chroot * set localtime, timezone and locale within chroot environment * copy /etc/pacman.d/gnupg from host
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index e06f46c..48675d7 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -258,15 +258,11 @@ nobody ALL = NOPASSWD: /usr/bin/pacman
EOF
chmod 440 "$copydir/etc/sudoers.d/nobody-pacman"
-# Set this system wide as makepkg will source /etc/profile before calling build()
-echo 'LANG=C' > "$copydir/etc/locale.conf"
-
# This is a little gross, but this way the script is recreated every time in the
# working copy
cat >"$copydir/chrootbuild" <<EOF
#!/bin/bash
. /etc/profile
-export LANG=C
export HOME=/build
cd /build