[Pkg-debile-commits] [debile-slave] 74/100: Add some hacking and doc stuff

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:12 UTC 2013


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch master
in repository debile-slave.

commit da321a232a8d4f5f770b55ea2f3b2e8ba082b1ac
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Sat Jul 6 02:15:12 2013 +0200

    Add some hacking and doc stuff
---
 bin/create-schroot-file |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/bin/create-schroot-file b/bin/create-schroot-file
index 52ab409..a554c72 100755
--- a/bin/create-schroot-file
+++ b/bin/create-schroot-file
@@ -1,8 +1,24 @@
 #!/bin/bash
+# This script is part of ethel.
+# It creates a chroot for the given debian suite using debootstrap, the chroot
+# is enclosed in a tarball and the according schroot configuration for ethel
+# is given.
+#
+# Usage : create-schroot-file [suite]
+#   suite being unstable, stable...
+
 set -e
 
+# FIXME : add -h option and make understandable in the script name that it is 
+#         ethel-related
+# FIXME : the sudo dependance is clearly droppable, and script run only as root
+#         file in chroot.d can be created directly
+
 SUITE=$1
 MIRROR=http://debian.lcs.mit.edu/debian/
+# TODO : we want either to take a known mirror (from sources.list)
+# or add an option to do so
+# FIXME : verify that the $OUTPUT exists, or create it here/in the package
 OUTPUT="/var/lib/ethel/chroots"
 VARIANT="buildd"
 TARBALL="${OUTPUT}/${SUITE}.tar.gz"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git



More information about the Pkg-debile-commits mailing list