refs #2094 try fixing resolvconf
parent
19c63800de
commit
5a52e3ecae
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [3.7.0] - 2025-05-28
|
||||
|
||||
### Changed
|
||||
|
||||
- Leave resolv.conf as a symlink to /run/resolvconf/resolv.conf
|
||||
|
||||
## [3.6.0] - 2025-05-21
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -115,21 +115,19 @@ def boottoolsRemovePackages():
|
|||
print ('boottoolsRemovePackages', file=sys.stderr)
|
||||
apt.remove (['python3-dev', 'python3-setuptools', 'python3-pip'])
|
||||
|
||||
## have working DNS during the build
|
||||
def setup_resolvconf1():
|
||||
print ('setup_resolvconf1', file=sys.stderr)
|
||||
subprocess.run (['ls', '-l', '/etc/resolv.conf'])
|
||||
os.unlink ('/etc/resolv.conf')
|
||||
f = open ('/etc/resolv.conf', 'w')
|
||||
f.write ('nameserver 8.8.8.8')
|
||||
f.close()
|
||||
subprocess.run (['ls', '-l', '/etc/resolv.conf'])
|
||||
|
||||
## leave the final configuration for oglive
|
||||
def setup_resolvconf2():
|
||||
print ('setup_resolvconf2', file=sys.stderr)
|
||||
subprocess.run (['ls', '-l', '/etc/resolv.conf'])
|
||||
os.unlink ('/etc/resolv.conf')
|
||||
os.symlink ('/run/resolvconf/resolv.conf', '/etc/resolv.conf')
|
||||
subprocess.run (['ls', '-l', '/etc/resolv.conf'])
|
||||
|
||||
def boottoolsInitrdGenerate (osrelease):
|
||||
print ('boottoolsInitrdGenerate', file=sys.stderr)
|
||||
|
|
|
@ -1 +1 @@
|
|||
OpenGnsys Client 3.6.0
|
||||
OpenGnsys Client 3.7.0
|
||||
|
|
Loading…
Reference in New Issue