From fc3d5026e6422b0770798e5994b7b9ca220331f5 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 4 Aug 2012 12:55:30 +0200 Subject: D-I PXE Environment: Pack files in tarball to preserve absolute symlinks. Adapt README.tftp to this change. --- debian/changelog | 3 +++ debian/itzks-packages-mainserver.examples | 1 + debian/rules | 4 ++++ examples/mainserver/README.tftp | 17 +++++++++++++++++ examples/mainserver/tftp/README.tftp | 17 ----------------- 5 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 debian/itzks-packages-mainserver.examples create mode 100644 examples/mainserver/README.tftp delete mode 100644 examples/mainserver/tftp/README.tftp diff --git a/debian/changelog b/debian/changelog index 7ef514b..b31e870 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ itzks-packages (2012.08.04.6) UNRELEASED; urgency=low * /debian/itzks-packages-mainserver.lintian-overrides: + Drop non-overridable tags. + * D-I PXE Environment: + + Pack files in tarball to preserve absolute symlinks. Adapt + README.tftp to this change. -- Mike Gabriel Sat, 04 Aug 2012 12:39:37 +0200 diff --git a/debian/itzks-packages-mainserver.examples b/debian/itzks-packages-mainserver.examples new file mode 100644 index 0000000..0e9bdb2 --- /dev/null +++ b/debian/itzks-packages-mainserver.examples @@ -0,0 +1 @@ +examples/mainserver/mainserver-tftp.tar.gz diff --git a/debian/rules b/debian/rules index 4a7f0c2..b606e12 100755 --- a/debian/rules +++ b/debian/rules @@ -3,3 +3,7 @@ %: dh ${@} + +override_dh_installexamples: + cd examples/mainserver/ && tar cvzf mainserver-tftp.tar.gz tftp + dh_installexamples diff --git a/examples/mainserver/README.tftp b/examples/mainserver/README.tftp new file mode 100644 index 0000000..ca21b47 --- /dev/null +++ b/examples/mainserver/README.tftp @@ -0,0 +1,17 @@ +This folder contains a PXE Bootenvironment that provides the +Debian Edu installer (in German) on the Debian Edu main server. + +Installation steps: + + 1. Untar these files to tjener:/srv/tftp + + $ tar xvz -C /srv -f mainserver-tftp.tar.gz + + 2. Preserve Debian Edu's original of /var/lib/tftpboot + + $ mv /var/lib/tftpboot /var/lib/tftpboot.orig + + 3. Symlink /var/lib/tftpboot -> /srv/tftp + + $ ln -s /srv/tftp /var/lib/tftpboot + diff --git a/examples/mainserver/tftp/README.tftp b/examples/mainserver/tftp/README.tftp deleted file mode 100644 index ade26cd..0000000 --- a/examples/mainserver/tftp/README.tftp +++ /dev/null @@ -1,17 +0,0 @@ -This folder contains a PXE Bootenvironment that provides the -Debian Edu installer (in German) on the Debian Edu main server. - -Installation steps: - - 1. Copy these files to tjener:/srv/tftp - - $ cp -a /usr/share/doc/itzks-packages-mainserver/examples/tftp /srv - - 2. Preserve /var/lib/tftpboot - - $ mv /var/lib/tftpboot /var/lib/tftpboot.orig - - 3. Symlink /var/lib/tftpboot -> /srv/tftp - - $ ln -s /srv/tftp /var/lib/tftpboot - -- cgit v1.2.3