summaryrefslogtreecommitdiff
path: root/community-staging/schroot
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-05-28 05:45:55 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-05-28 05:45:55 +0000
commit4d22176132f4a830ab0cc510dabbc9f8c1c362ea (patch)
tree9f97e7a21013e7ed7de7edb5426650be3a7b73e3 /community-staging/schroot
parent33feb015eb09eee76827f359e685fce981d88111 (diff)
Sat May 28 05:45:54 UTC 2011
Diffstat (limited to 'community-staging/schroot')
-rw-r--r--community-staging/schroot/PKGBUILD71
-rw-r--r--community-staging/schroot/copyfiles-arch328
-rw-r--r--community-staging/schroot/mount-arch3212
-rw-r--r--community-staging/schroot/script-arch3215
4 files changed, 0 insertions, 106 deletions
diff --git a/community-staging/schroot/PKGBUILD b/community-staging/schroot/PKGBUILD
deleted file mode 100644
index 949227809..000000000
--- a/community-staging/schroot/PKGBUILD
+++ /dev/null
@@ -1,71 +0,0 @@
-# $Id: PKGBUILD 47626 2011-05-24 13:55:50Z tdziedzic $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
-
-pkgname=schroot
-pkgver=1.4.22
-pkgrel=1
-pkgdesc="Allows users to execute shell commands under different root filesystems. \
- (Successor to dchroot)."
-url="http://packages.qa.debian.org/s/schroot.html"
-license=('GPL3')
-depends=('pam' 'lockdev' 'boost' 'e2fsprogs')
-optdepends=('btrfs-progs-unstable' 'lvm2')
-arch=('i686' 'x86_64')
-conflicts=('dchroot')
-replaces=('dchroot')
-provides=('schroot' 'sbuild' 'dchroot')
-backup=('etc/schroot/schroot.conf'
- 'etc/schroot/script-arch32'
- 'etc/schroot/mount-arch32'
- 'etc/schroot/copyfiles-arch32')
-options=(!libtool)
-source=("http://ftp.debian.org/debian/pool/main/s/$pkgname/${pkgname}_${pkgver}.orig.tar.bz2"
- 'script-arch32'
- 'copyfiles-arch32'
- 'mount-arch32')
-md5sums=('0dde4c76b1623cc277d92f8dc06109d1'
- '8e86445e188129232e1782d978dfc967'
- 'd4558d5691fbdaa46ce669e8f327133b'
- 'f0d5d5b5e34a860f6f90b5628c680f46')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
-
- ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --localstatedir=/var \
- --enable-dchroot --enable-lvm-snapshot --enable-btrfs-snapshot \
- BTRFS=/sbin/btrfs \
- BTRFSCTL=/sbin/btrfsctl \
- LVCREATE=/sbin/lvcreate \
- LVREMOVE=/sbin/lvremove
-# --enable-csbuild
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- make DESTDIR=$pkgdir install
-
- install -m 644 ${srcdir}/script-arch32 ${pkgdir}/etc/schroot
- install -m 644 ${srcdir}/mount-arch32 ${pkgdir}/etc/schroot
- install -m 644 ${srcdir}/copyfiles-arch32 ${pkgdir}/etc/schroot
- cat >> $pkgdir/etc/schroot/schroot.conf << EOF
-
-[Arch32]
-description=Arch32
-type=directory
-directory=/opt/arch32
-priority=1
-#users=username
-groups=users
-root-groups=root
-script-config=script-arch32
-personality=linux32
-aliases=32,default
-
-EOF
-}
diff --git a/community-staging/schroot/copyfiles-arch32 b/community-staging/schroot/copyfiles-arch32
deleted file mode 100644
index 7dd32b7d9..000000000
--- a/community-staging/schroot/copyfiles-arch32
+++ /dev/null
@@ -1,8 +0,0 @@
-/etc/group
-/etc/hosts
-/etc/passwd
-/etc/resolv.conf
-/etc/rc.conf
-/etc/localtime
-/etc/locale.gen
-/etc/profile.d/locale.sh \ No newline at end of file
diff --git a/community-staging/schroot/mount-arch32 b/community-staging/schroot/mount-arch32
deleted file mode 100644
index 075d6e451..000000000
--- a/community-staging/schroot/mount-arch32
+++ /dev/null
@@ -1,12 +0,0 @@
-# mount.defaults: static file system information for chroots.
-# Note that the mount point will be prefixed by the chroot path
-# (CHROOT_PATH)
-#
-# <file system> <mount point> <type> <options> <dump> <pass>
-proc /proc proc defaults 0 0
-/dev /dev none rw,bind 0 0
-#/dev/pts /dev/pts none rw,bind 0 0
-tmpfs /dev/shm tmpfs defaults 0 0
-/sys /sys none rw,bind 0 0
-/tmp /tmp none rw,bind 0 0
-/home /home none rw,bind 0 0
diff --git a/community-staging/schroot/script-arch32 b/community-staging/schroot/script-arch32
deleted file mode 100644
index fb87b4822..000000000
--- a/community-staging/schroot/script-arch32
+++ /dev/null
@@ -1,15 +0,0 @@
-# Default settings for chroot setup and exec scripts.
-# See schroot-script-config(5) for further details.
-
-# Filesystems to mount inside the chroot.
-FSTAB="/etc/schroot/mount-arch32"
-
-# Files to copy from the host system into the chroot.
-COPYFILES="/etc/schroot/copyfiles-arch32"
-
-# Is sbuild installed?
-if [ -x /usr/bin/sbuild ]; then
- SBUILD="true"
-else
- SBUILD="false"
-fi