fix offline installs
This commit is contained in:
parent
996a2125f2
commit
be57dc9da0
|
@ -42,7 +42,7 @@ parts:
|
|||
plugin: python
|
||||
source-type: git
|
||||
source: https://git.launchpad.net/curtin
|
||||
source-commit: 809817fdac257de1769e385a42aeaf3d5bcc2c60
|
||||
source-commit: f13edc1ac71dde678149b4918ee923b25a1b7039
|
||||
build-packages:
|
||||
- shared-mime-info
|
||||
- zlib1g-dev
|
||||
|
|
|
@ -126,7 +126,9 @@ class AptConfigurer:
|
|||
self.tpath('etc/apt/sources.list'),
|
||||
self.tpath('etc/apt/sources.list.d/original.list'))
|
||||
else:
|
||||
os.unlink(self.tpath('etc/apt/apt.conf.d/90curtin-aptproxy'))
|
||||
proxy_path = self.tpath('etc/apt/apt.conf.d/90curtin-aptproxy')
|
||||
if os.path.exists(proxy_path):
|
||||
os.unlink(proxy_path)
|
||||
await self.setup_overlay(self.tpath('var/lib/apt/lists'))
|
||||
|
||||
codename = lsb_release()['codename']
|
||||
|
|
Loading…
Reference in New Issue