1.1 --- a/docs/COPYING.txt Wed Apr 24 00:42:39 2013 +0200
1.2 +++ b/docs/COPYING.txt Tue Apr 30 17:52:07 2013 +0200
1.3 @@ -1,7 +1,7 @@
1.4 Licence Agreement for userinstall
1.5 ---------------------------------
1.6
1.7 -Copyright (C) 2007, 2008, 2009, 2010 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
2.1 --- a/uml-access-image Wed Apr 24 00:42:39 2013 +0200
2.2 +++ b/uml-access-image Tue Apr 30 17:52:07 2013 +0200
2.3 @@ -1,5 +1,20 @@
2.4 #!/bin/sh
2.5
2.6 +# Copyright (C) 2011, 2013 Paul Boddie <paul@boddie.org.uk>
2.7 +#
2.8 +# This program is free software; you can redistribute it and/or modify it under
2.9 +# the terms of the GNU General Public License as published by the Free Software
2.10 +# Foundation; either version 3 of the License, or (at your option) any later
2.11 +# version.
2.12 +#
2.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
2.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
2.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
2.16 +# details.
2.17 +#
2.18 +# You should have received a copy of the GNU General Public License along with
2.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
2.20 +
2.21 # Configuration:
2.22 if [ -e userinstall-defaults-uml ]; then
2.23 . "$PWD/userinstall-defaults-uml"
3.1 --- a/uml-do Wed Apr 24 00:42:39 2013 +0200
3.2 +++ b/uml-do Tue Apr 30 17:52:07 2013 +0200
3.3 @@ -1,5 +1,20 @@
3.4 #!/bin/sh
3.5
3.6 +# Copyright (C) 2010, 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
3.7 +#
3.8 +# This program is free software; you can redistribute it and/or modify it under
3.9 +# the terms of the GNU General Public License as published by the Free Software
3.10 +# Foundation; either version 3 of the License, or (at your option) any later
3.11 +# version.
3.12 +#
3.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
3.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
3.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
3.16 +# details.
3.17 +#
3.18 +# You should have received a copy of the GNU General Public License along with
3.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
3.20 +
3.21 # Configuration:
3.22 if [ -e userinstall-defaults-uml ]; then
3.23 . "$PWD/userinstall-defaults-uml"
4.1 --- a/uml-linux-build Wed Apr 24 00:42:39 2013 +0200
4.2 +++ b/uml-linux-build Tue Apr 30 17:52:07 2013 +0200
4.3 @@ -1,5 +1,20 @@
4.4 #!/bin/sh
4.5
4.6 +# Copyright (C) 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
4.7 +#
4.8 +# This program is free software; you can redistribute it and/or modify it under
4.9 +# the terms of the GNU General Public License as published by the Free Software
4.10 +# Foundation; either version 3 of the License, or (at your option) any later
4.11 +# version.
4.12 +#
4.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
4.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
4.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
4.16 +# details.
4.17 +#
4.18 +# You should have received a copy of the GNU General Public License along with
4.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
4.20 +
4.21 # Configuration:
4.22 if [ -e userinstall-defaults-uml ]; then
4.23 . "$PWD/userinstall-defaults-uml"
5.1 --- a/uml-make-devices Wed Apr 24 00:42:39 2013 +0200
5.2 +++ b/uml-make-devices Tue Apr 30 17:52:07 2013 +0200
5.3 @@ -1,5 +1,20 @@
5.4 #!/bin/sh
5.5
5.6 +# Copyright (C) 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
5.7 +#
5.8 +# This program is free software; you can redistribute it and/or modify it under
5.9 +# the terms of the GNU General Public License as published by the Free Software
5.10 +# Foundation; either version 3 of the License, or (at your option) any later
5.11 +# version.
5.12 +#
5.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
5.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
5.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
5.16 +# details.
5.17 +#
5.18 +# You should have received a copy of the GNU General Public License along with
5.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
5.20 +
5.21 if [ ! "$1" ]; then
5.22 echo "Need an image directory for the UML system." 1>&2
5.23 exit 1
6.1 --- a/uml-make-image Wed Apr 24 00:42:39 2013 +0200
6.2 +++ b/uml-make-image Tue Apr 30 17:52:07 2013 +0200
6.3 @@ -1,5 +1,20 @@
6.4 #!/bin/sh
6.5
6.6 +# Copyright (C) 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
6.7 +#
6.8 +# This program is free software; you can redistribute it and/or modify it under
6.9 +# the terms of the GNU General Public License as published by the Free Software
6.10 +# Foundation; either version 3 of the License, or (at your option) any later
6.11 +# version.
6.12 +#
6.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
6.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
6.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
6.16 +# details.
6.17 +#
6.18 +# You should have received a copy of the GNU General Public License along with
6.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
6.20 +
6.21 # Configuration:
6.22 if [ -e userinstall-defaults-uml ]; then
6.23 . "$PWD/userinstall-defaults-uml"
7.1 --- a/uml-make-network Wed Apr 24 00:42:39 2013 +0200
7.2 +++ b/uml-make-network Tue Apr 30 17:52:07 2013 +0200
7.3 @@ -1,5 +1,20 @@
7.4 #!/bin/sh
7.5
7.6 +# Copyright (C) 2011, 2013 Paul Boddie <paul@boddie.org.uk>
7.7 +#
7.8 +# This program is free software; you can redistribute it and/or modify it under
7.9 +# the terms of the GNU General Public License as published by the Free Software
7.10 +# Foundation; either version 3 of the License, or (at your option) any later
7.11 +# version.
7.12 +#
7.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
7.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
7.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
7.16 +# details.
7.17 +#
7.18 +# You should have received a copy of the GNU General Public License along with
7.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
7.20 +
7.21 # Configuration:
7.22 if [ -e userinstall-defaults-uml ]; then
7.23 . "$PWD/userinstall-defaults-uml"
8.1 --- a/uml-net Wed Apr 24 00:42:39 2013 +0200
8.2 +++ b/uml-net Tue Apr 30 17:52:07 2013 +0200
8.3 @@ -1,6 +1,21 @@
8.4 #!/bin/sh
8.5 # Usage: uml-net ( --start <username> | --stop )
8.6
8.7 +# Copyright (C) 2010, 2011, 2013 Paul Boddie <paul@boddie.org.uk>
8.8 +#
8.9 +# This program is free software; you can redistribute it and/or modify it under
8.10 +# the terms of the GNU General Public License as published by the Free Software
8.11 +# Foundation; either version 3 of the License, or (at your option) any later
8.12 +# version.
8.13 +#
8.14 +# This program is distributed in the hope that it will be useful, but WITHOUT
8.15 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8.16 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
8.17 +# details.
8.18 +#
8.19 +# You should have received a copy of the GNU General Public License along with
8.20 +# this program. If not, see <http://www.gnu.org/licenses/>.
8.21 +
8.22 # Configuration:
8.23 if [ -e userinstall-defaults-uml ]; then
8.24 . "$PWD/userinstall-defaults-uml"
9.1 --- a/uml-populate-image Wed Apr 24 00:42:39 2013 +0200
9.2 +++ b/uml-populate-image Tue Apr 30 17:52:07 2013 +0200
9.3 @@ -1,5 +1,20 @@
9.4 #!/bin/sh
9.5
9.6 +# Copyright (C) 2011, 2013 Paul Boddie <paul@boddie.org.uk>
9.7 +#
9.8 +# This program is free software; you can redistribute it and/or modify it under
9.9 +# the terms of the GNU General Public License as published by the Free Software
9.10 +# Foundation; either version 3 of the License, or (at your option) any later
9.11 +# version.
9.12 +#
9.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
9.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
9.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
9.16 +# details.
9.17 +#
9.18 +# You should have received a copy of the GNU General Public License along with
9.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
9.20 +
9.21 # Configuration:
9.22 if [ -e userinstall-defaults-uml ]; then
9.23 . "$PWD/userinstall-defaults-uml"
10.1 --- a/user-do Wed Apr 24 00:42:39 2013 +0200
10.2 +++ b/user-do Tue Apr 30 17:52:07 2013 +0200
10.3 @@ -1,5 +1,20 @@
10.4 #!/bin/sh
10.5
10.6 +# Copyright (C) 2010, 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
10.7 +#
10.8 +# This program is free software; you can redistribute it and/or modify it under
10.9 +# the terms of the GNU General Public License as published by the Free Software
10.10 +# Foundation; either version 3 of the License, or (at your option) any later
10.11 +# version.
10.12 +#
10.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
10.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
10.16 +# details.
10.17 +#
10.18 +# You should have received a copy of the GNU General Public License along with
10.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
10.20 +
10.21 # Configuration:
10.22 if [ -e userinstall-defaults ]; then
10.23 . "$PWD/userinstall-defaults"
11.1 --- a/user-do-root Wed Apr 24 00:42:39 2013 +0200
11.2 +++ b/user-do-root Tue Apr 30 17:52:07 2013 +0200
11.3 @@ -1,5 +1,20 @@
11.4 #!/bin/sh
11.5
11.6 +# Copyright (C) 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
11.7 +#
11.8 +# This program is free software; you can redistribute it and/or modify it under
11.9 +# the terms of the GNU General Public License as published by the Free Software
11.10 +# Foundation; either version 3 of the License, or (at your option) any later
11.11 +# version.
11.12 +#
11.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
11.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
11.16 +# details.
11.17 +#
11.18 +# You should have received a copy of the GNU General Public License along with
11.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
11.20 +
11.21 # Configuration:
11.22 if [ -e userinstall-defaults ]; then
11.23 . "$PWD/userinstall-defaults"
12.1 --- a/user-makesources Wed Apr 24 00:42:39 2013 +0200
12.2 +++ b/user-makesources Tue Apr 30 17:52:07 2013 +0200
12.3 @@ -1,5 +1,24 @@
12.4 #!/usr/bin/env python
12.5
12.6 +"""
12.7 +Make a repository/archive source configuration file.
12.8 +
12.9 +Copyright (C) 2010, 2013 Paul Boddie <paul@boddie.org.uk>
12.10 +
12.11 +This program is free software; you can redistribute it and/or modify it under
12.12 +the terms of the GNU General Public License as published by the Free Software
12.13 +Foundation; either version 3 of the License, or (at your option) any later
12.14 +version.
12.15 +
12.16 +This program is distributed in the hope that it will be useful, but WITHOUT
12.17 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12.18 +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12.19 +details.
12.20 +
12.21 +You should have received a copy of the GNU General Public License along with
12.22 +this program. If not, see <http://www.gnu.org/licenses/>.
12.23 +"""
12.24 +
12.25 templates = {
12.26
12.27 "Debian" : """
13.1 --- a/user-path Wed Apr 24 00:42:39 2013 +0200
13.2 +++ b/user-path Tue Apr 30 17:52:07 2013 +0200
13.3 @@ -1,6 +1,21 @@
13.4 #!/bin/sh
13.5 # Usage: user-path <path-inside-package-root>
13.6
13.7 +# Copyright (C) 2007, 2010, 2011, 2013 Paul Boddie <paul@boddie.org.uk>
13.8 +#
13.9 +# This program is free software; you can redistribute it and/or modify it under
13.10 +# the terms of the GNU General Public License as published by the Free Software
13.11 +# Foundation; either version 3 of the License, or (at your option) any later
13.12 +# version.
13.13 +#
13.14 +# This program is distributed in the hope that it will be useful, but WITHOUT
13.15 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13.16 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13.17 +# details.
13.18 +#
13.19 +# You should have received a copy of the GNU General Public License along with
13.20 +# this program. If not, see <http://www.gnu.org/licenses/>.
13.21 +
13.22 # Configuration:
13.23 if [ -e userinstall-defaults ]; then
13.24 . "$PWD/userinstall-defaults"
14.1 --- a/user-postsetup Wed Apr 24 00:42:39 2013 +0200
14.2 +++ b/user-postsetup Tue Apr 30 17:52:07 2013 +0200
14.3 @@ -1,5 +1,20 @@
14.4 #!/bin/sh
14.5
14.6 +# Copyright (C) 2010, 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
14.7 +#
14.8 +# This program is free software; you can redistribute it and/or modify it under
14.9 +# the terms of the GNU General Public License as published by the Free Software
14.10 +# Foundation; either version 3 of the License, or (at your option) any later
14.11 +# version.
14.12 +#
14.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
14.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14.16 +# details.
14.17 +#
14.18 +# You should have received a copy of the GNU General Public License along with
14.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
14.20 +
14.21 # Configuration:
14.22 if [ -e userinstall-defaults ]; then
14.23 . "$PWD/userinstall-defaults"
15.1 --- a/user-setup Wed Apr 24 00:42:39 2013 +0200
15.2 +++ b/user-setup Tue Apr 30 17:52:07 2013 +0200
15.3 @@ -1,5 +1,20 @@
15.4 #!/bin/sh
15.5
15.6 +# Copyright (C) 2007, 2008, 2010, 2011, 2012, 2013 Paul Boddie <paul@boddie.org.uk>
15.7 +#
15.8 +# This program is free software; you can redistribute it and/or modify it under
15.9 +# the terms of the GNU General Public License as published by the Free Software
15.10 +# Foundation; either version 3 of the License, or (at your option) any later
15.11 +# version.
15.12 +#
15.13 +# This program is distributed in the hope that it will be useful, but WITHOUT
15.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15.15 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15.16 +# details.
15.17 +#
15.18 +# You should have received a copy of the GNU General Public License along with
15.19 +# this program. If not, see <http://www.gnu.org/licenses/>.
15.20 +
15.21 # Configuration:
15.22 if [ -e userinstall-defaults ]; then
15.23 . "$PWD/userinstall-defaults"