Remove all static references to /prebuilts
This commit is contained in:
parent
b65823bc10
commit
8ead5c9542
2 changed files with 3 additions and 3 deletions
|
@ -29,6 +29,6 @@ RUN pip install -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN python -c "import constants; repos='\n'.join(['\n'.join(['', f'[{repo}]', f'Server = file:///prebuilts/\$arch/\$repo']) for repo in constants.REPOSITORIES]); print(repos)" | tee -a /etc/pacman.conf
|
RUN python -c "import constants; repos='\n'.join(['\n'.join(['', f'[{repo}]', f'Server = file://{constants.CHROOT_PATHS['packages']}/\$arch/\$repo']) for repo in constants.REPOSITORIES]); print(repos)" | tee -a /etc/pacman.conf
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
|
@ -204,9 +204,9 @@ class Chroot:
|
||||||
'-W',
|
'-W',
|
||||||
'-x',
|
'-x',
|
||||||
'--exclude',
|
'--exclude',
|
||||||
'pkgbuilds',
|
CHROOT_PATHS['pkgbuilds'].strip('/'),
|
||||||
'--exclude',
|
'--exclude',
|
||||||
'prebuilts',
|
CHROOT_PATHS['packages'].strip('/'),
|
||||||
f'{base_chroot.path}/',
|
f'{base_chroot.path}/',
|
||||||
f'{self.path}/',
|
f'{self.path}/',
|
||||||
])
|
])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue