[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, master, updated. 0.7-15-g49d05f2
Andreas B. Mundt
andi at debian.org
Sat Feb 2 18:58:37 UTC 2013
The following commit has been merged in the master branch:
commit 49d05f2f1fa084b27c56852ca50e54694a1e9cdd
Author: Andreas B. Mundt <andi at debian.org>
Date: Thu Jan 31 08:30:22 2013 +0100
Initial packaging.
Drop the FAI config space in /usr/share/doc/debian-lan-config/fai/.
Explain in README.Debian how to get started. Overwrite dh_compress to
prevent compressing files in the FAI config space.
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..280ea1a
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,62 @@
+The Debian Package debian-lan-config
+====================================
+
+This package contains the FAI config space for the Debian-LAN system.
+Details about Debian-LAN and verbose instructions are available in the
+Debian wiki at <URL:http://wiki.debian.org/DebianLAN>.
+
+There are two ways available to install the Debian-LAN mainserver:
+
+ - prepare a CD image and install from that image
+or
+ - install a minimal Debian and convert that installation
+
+Choose the method appropriate for your situation.
+
+
+Creating a CD image with fai-cd
+-------------------------------
+
+Create the CD image in the following way:
+
+ aptitude install debian-lan-config # might be already installed
+ aptitude -R install fai-server genisoimage # no recommends needed
+ mkdir /srv/fai/
+ cp -r /usr/share/doc/debian-lan-config/fai/config /srv/fai/
+ cp /srv/fai/config/files/etc/fai/grub.cfg/SERVER_A /etc/fai/grub.cfg
+ cp /srv/fai/config/files/etc/fai/NFSROOT/FAISERVER /etc/fai/NFSROOT
+ sed -i "s/^deb.*fai-project/\#&/" /etc/fai/apt/sources.list
+
+Adapt the config space to your needs if necessary and create the FAI
+nfsroot:
+
+ fai-make-nfsroot -v -l
+
+Now create a fake Debian mirror needed to satisfy fai-cd. The CD image
+is then created by fai-cd:
+
+ mkdir -p /tmp/debmirror/dists/fake/main/binary-i386/
+ touch /tmp/debmirror/dists/fake/main/binary-i386/Packages
+ fai-cd -m /tmp/debmirror/ fai-cd.iso
+
+
+Converting a minimal Debian Installation
+----------------------------------------
+
+Install a minimal Debian on the server. Choose 'mainserver' as
+hostname. Prepare appropriate partitions, examples are available in
+/usr/share/debian-lan-config/fai/config/disk_config/.
+
+Then convert the installation with the following commands:
+
+ aptitude install debian-lan-config # might be already installed
+ aptitude -R install fai-server # no recommends needed
+ mkdir /srv/fai/
+ cp -r /usr/share/doc/debian-lan-config/fai/config /srv/fai/
+
+Adapt the config space to your needs if necessary and run FAI with the
+variable CONVERT set to true:
+
+ export CONVERT=true ; fai -vN -s file:///srv/fai/config/ softupdate
+
+ -- Andreas B. Mundt <andi at debian.org> Wed, 30 Jan 2013 18:50:03 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c90bce6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+debian-lan-config (0.8) UNRELEASED; urgency=low
+
+ * Initial packaged release.
+
+ -- Andreas B. Mundt <andi at debian.org> Sat, 02 Feb 2013 10:16:17 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..15b2d45
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: debian-lan-config
+Section: admin
+Priority: extra
+Maintainer: Andreas B. Mundt <andi at debian.org>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.3
+Homepage: http://wiki.debian.org/DebianLAN
+Vcs-Git: git://git.debian.org/collab-maint/debian-lan.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/debian-lan.git;a=summary
+
+Package: debian-lan-config
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: fai-server
+Description: FAI config space for the Debian-LAN system
+ The Debian-LAN (Debian Local Area Network) project makes running
+ Debian in a local area network easy without loosing flexibility.
+ It may be used by schools, (university-) work groups, associations
+ and small enterprises.
+ .
+ Debian-LAN uses FAI (Fully Automatic Installation) to install and
+ configure all machines in the network.
+ .
+ This package contains the FAI config space.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a468044
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: debian-lan-config
+Source: <http://wiki.debian.org/DebianLAN>
+
+Files: *
+Copyright: 2011-2013 Andreas B. Mundt <andi at debian.org>
+ Except classes provided by FAI (cf. fai-doc package).
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2013 Andreas B. Mundt <andi at debian.org>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This package 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, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..dc38a63
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+fai/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d4e9f93
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_compress:
+ dh_compress --exclude=fai/config
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
--
Debian-LAN development and packaging
More information about the debian-lan-devel
mailing list