Compare commits

..

2 Commits

Author SHA1 Message Date
Nicolas Arenas c9fa4eff93 Update resolv.conf 2024-11-27 18:09:04 +01:00
Nicolas Arenas 386a2a6175 Add extra packages for oggit 2024-11-27 18:05:56 +01:00
2 changed files with 10 additions and 1 deletions

View File

@ -111,6 +111,13 @@ def boottoolsPythonModules():
def boottoolsRemovePackages():
apt.remove (['python3-dev', 'python3-setuptools', 'python3-pip'])
def setup_resolvconf():
if os.path.islink('/etc/resolc.conf'):
os.unlink ('/etc/resolv.conf')
f = open ('/etc/resolv.conf', 'w')
f.write ('nameserver 8.8.8.8')
f.close()
def boottoolsInitrdGenerate (osrelease):
print ('boottoolsInitrdGenerate', file=sys.stderr)
for f in glob.glob ('/usr/lib/initramfs-tools/bin/*'):
@ -148,6 +155,7 @@ if __name__ == '__main__':
debconf_settings = config['General'].get ('debconf_settings')
updateCaCertificates()
setup_resolvconf()
boottoolsSoftwareInstall (args.osarch, args.osrelease)
boottoolsSoftwareCompile()
boottoolsPythonModules()

View File

@ -130,4 +130,5 @@ xwindows =
#roxterm gparted #+80M
#openbox midori #xvesa en compilacion
oggit = python3 python3-git python3-xattr python3-libarchive-c python3-pylibacl python3-pip opengnsys-libarchive-c python3-termcolor bsdextrautils opengnsys-pyblkid
oggit = python3 python3-git python3-xattr python3-libarchive-c python3-pylibacl python3-pip opengnsys-libarchive-c python3-termcolor bsdextrautils opengnsys-pyblkid ntfs-3g-system-compression python3-tqdm