[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] Keep using lsb_release to get the codename as this will be working for stable.

WolfgangSchweer gitlab at salsa.debian.org
Wed Mar 20 17:02:59 GMT 2019


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


Commits:
4a1fb950 by Wolfgang Schweer at 2019-03-20T17:01:31Z
Keep using lsb_release to get the codename as this will be working for stable.

- - - - -


2 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -2,10 +2,6 @@ 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.
-    - Use /etc/debian_version to get the distribution codename instead of
-      'lsb_release -sc' (which outputs 'n/a' if the officially built BD ISO
-      image from cdimage.debian.org is used before the release). This is needed
-      to be able to test if the PXE framework setup is working in offline mode.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Mon, 18 Mar 2019 15:21:39 +0100
 


=====================================
sbin/debian-edu-pxeinstall
=====================================
@@ -53,7 +53,7 @@ if [ -f /etc/environment ] ; then
     . /etc/environment
 fi
 
-[ "$dist" ]       || dist=$(cat /etc/debian_version | cut -d'/' -f1)
+[ "$dist" ]       || dist=$(lsb_release -sc)
 [ "$archs" ]      || archs="amd64 i386"
 [ "$ltsparch" ]   || ltsparch=$(dpkg --print-architecture)
 [ "$mirrorurl" ]  || mirrorurl=http://deb.debian.org/debian



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/4a1fb950a3834252ad81254227031b4864926836

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/4a1fb950a3834252ad81254227031b4864926836
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/20190320/d16938c2/attachment-0001.html>


More information about the debian-edu-commits mailing list