refs #2045 configure dbus
parent
1fbc28622c
commit
5c51336402
|
@ -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/),
|
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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [3.5.0] - 2025-05-19
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Configure dbus
|
||||||
|
|
||||||
## [3.4.0] - 2025-05-18
|
## [3.4.0] - 2025-05-18
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -127,6 +127,18 @@ def configure_stunnel():
|
||||||
fd.write ('requireCert = yes\n')
|
fd.write ('requireCert = yes\n')
|
||||||
fd.write ('verifyChain = yes\n')
|
fd.write ('verifyChain = yes\n')
|
||||||
|
|
||||||
|
def configure_dbus():
|
||||||
|
print ('configure_dbus', file=sys.stderr)
|
||||||
|
with open ('/etc/dbus-1/system.d/ogbrowser.conf', 'w') as fd:
|
||||||
|
fd.write ('<busconfig>\n')
|
||||||
|
fd.write (' <policy user="root">\n')
|
||||||
|
fd.write (' <allow own="es.opengnsys.OGBrowser.browser"/>\n')
|
||||||
|
fd.write (' <allow send_destination="es.opengnsys.OGBrowser.browser"/>\n')
|
||||||
|
fd.write (' <allow send_interface="es.opengnsys.OGBrowser.browser"/>\n')
|
||||||
|
fd.write (' <allow send_type="method_call"/>\n')
|
||||||
|
fd.write (' </policy>\n')
|
||||||
|
fd.write ('</busconfig>\n')
|
||||||
|
|
||||||
def boottoolsPythonModules():
|
def boottoolsPythonModules():
|
||||||
utils.run (['pip3', 'install', 'pyblkid', '--break-system-packages'])
|
utils.run (['pip3', 'install', 'pyblkid', '--break-system-packages'])
|
||||||
|
|
||||||
|
@ -184,5 +196,6 @@ if __name__ == '__main__':
|
||||||
boottoolsPythonModules()
|
boottoolsPythonModules()
|
||||||
boottoolsRemovePackages()
|
boottoolsRemovePackages()
|
||||||
configure_stunnel()
|
configure_stunnel()
|
||||||
|
configure_dbus()
|
||||||
setup_resolvconf() ## do this again, since someone seems to be overwriting the file
|
setup_resolvconf() ## do this again, since someone seems to be overwriting the file
|
||||||
boottoolsInitrdGenerate (args.osrelease)
|
boottoolsInitrdGenerate (args.osrelease)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
OpenGnsys Client 3.4.0
|
OpenGnsys Client 3.5.0
|
||||||
|
|
Loading…
Reference in New Issue