mirror of
https://abf.rosa.ru/djam/livecd-tools.git
synced 2025-02-23 23:52:58 +00:00
changed lsb patch to system-release
This commit is contained in:
parent
b45a113081
commit
968b0e2e0f
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ diff -Nur livecd-tools-18.8.old/imgcreate/live.py livecd-tools-18.8/imgcreate/li
|
|||
else:
|
||||
long = "%s (%s)" % ("ROSA Desktop.Fresh 2012", kernel)
|
||||
|
||||
+ if os.path.exists(self._instroot + "/bin/lsb_release"):
|
||||
+ long = subprocess.check_output("echo -n `lsb_release -d -s | sed 's/\"//g'`", shell=True)
|
||||
+ if os.path.exists(self._instroot + "/etc/system-release"):
|
||||
+ long = subprocess.check_output("echo -n `sed 's, for .*$,,g' /etc/system-release`", shell=True)
|
||||
+ logging.warn('using LSB info for syslinux names')
|
||||
+
|
||||
# tell dracut not to ask for LUKS passwords or activate mdraid sets
|
||||
|
|
Loading…
Add table
Reference in a new issue