[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 2 commits: Adjust sbin/debian-edu-pxeinstall

WolfgangSchweer gitlab at salsa.debian.org
Mon Mar 18 14:43:43 GMT 2019


WolfgangSchweer pushed to branch master at Debian Edu / debian-edu-config


Commits:
02f4c2cf by Wolfgang Schweer at 2019-03-18T14:39:22Z
Adjust sbin/debian-edu-pxeinstall

Set d-i version to 10, now that debian-installer-10-netboot is in Buster.
Replace code to determine the distribution so that it also works offline.

- - - - -
09b028ac by Wolfgang Schweer at 2019-03-18T14:42:41Z
Add changelog entry.

- - - - -


2 changed files:

- debian/changelog
- sbin/debian-edu-pxeinstall


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+debian-edu-config (2.10.63) UNRELEASED; urgency=medium
+
+  * Adjust sbin/debian-edu-pxeinstall. (Closes: #924927)
+    - Set d-i version to 10, now that debian-installer-10-netboot is in Buster.
+    - Replace code to determine the distribution so that it also works offline.
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Mon, 18 Mar 2019 15:21:39 +0100
+
 debian-edu-config (2.10.62) unstable; urgency=medium
 
   * get-ldap-ltsp-config: Fix detection of MAC address.


=====================================
sbin/debian-edu-pxeinstall
=====================================
@@ -53,7 +53,7 @@ if [ -f /etc/environment ] ; then
     . /etc/environment
 fi
 
-[ "$dist" ]       || dist=$(lsb_release -sc)
+[ "$dist" ]       || dist=$(cat /etc/debian_version | cut -d'/' -f1)
 [ "$archs" ]      || archs="amd64 i386"
 [ "$ltsparch" ]   || ltsparch=$(dpkg --print-architecture)
 [ "$mirrorurl" ]  || mirrorurl=http://deb.debian.org/debian
@@ -133,7 +133,7 @@ for arch in $archs ; do
 	[ -d $tftpdir/debian-installer ] || \
 	    mkdir $tftpdir/debian-installer
         cd $tftpdir/debian-installer
-	di_ver=9
+	di_ver=10
         tarball=""
         if [ -d /usr/lib/debian-installer/images/$di_ver/$arch ]; then
 	    di_img_dir="/usr/lib/debian-installer/images/$di_ver/$arch"



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/compare/4340da45784559c4969bec4917e05ef40d32c040...09b028ac63350cf7f76b280413d480029460f8e0

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/compare/4340da45784559c4969bec4917e05ef40d32c040...09b028ac63350cf7f76b280413d480029460f8e0
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20190318/380e3ade/attachment-0001.html>


More information about the debian-edu-commits mailing list