summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2014-02-28 09:36:19 +0000
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2014-03-05 11:04:17 +0000
commit1581614cbff2d67b8e696e6e59a8584a285a6954 (patch)
treedbb6af79184b8c02c6c4b0c939e2236e36782ee5
parent9354abc3c1303054fe11f90c89a685803e42678c (diff)
downloadbaserock-chroot-1581614cbff2d67b8e696e6e59a8584a285a6954.tar.gz
Add GPLv2 headers to top of scripts
-rwxr-xr-xbr-ct-sync-chroots18
-rwxr-xr-xenter-baserock18
-rwxr-xr-xmanage-baserock18
3 files changed, 54 insertions, 0 deletions
diff --git a/br-ct-sync-chroots b/br-ct-sync-chroots
index b6b38fc..4bac61e 100755
--- a/br-ct-sync-chroots
+++ b/br-ct-sync-chroots
@@ -1,5 +1,23 @@
#!/bin/bash
+# br-ct-sync-chroots -- Synchronise Baserock chroots and schroot configuration
+
+# Copyright (C) 2014 Codethink Ltd
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
ACTION="$1"
SCHROOT_BASE="${SCHROOT_BASE:-/etc/schroot}"
diff --git a/enter-baserock b/enter-baserock
index f5b6951..d133364 100755
--- a/enter-baserock
+++ b/enter-baserock
@@ -1,5 +1,23 @@
#!/bin/bash
+# enter-baserock -- Tool to enter a Baserock chroot using schroot
+
+# Copyright (C) 2014 Codethink Ltd
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
SCHROOT_BASE="${SCHROOT_BASE:-/etc/schroot}"
SCHROOT_CONF="${SCHROOT_CONF:-${SCHROOT_BASE}/schroot.conf}"
BASEROCK_BASE="${BASEROCK_BASE:-/opt/baserock/chroots}"
diff --git a/manage-baserock b/manage-baserock
index 143bced..d45a6b2 100755
--- a/manage-baserock
+++ b/manage-baserock
@@ -1,5 +1,23 @@
#!/bin/bash
+# manage-baserock -- Tool to manage (add/list/remove etc) Baserock chroots
+
+# Copyright (C) 2014 Codethink Ltd
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
BASEROCK_BASE="${BASEROCK_BASE:-/opt/baserock/chroots}"
ACTION="$1"