Remove all static references to /prebuilts

This commit is contained in:
InsanePrawn 2022-01-26 15:56:38 +01:00
parent b65823bc10
commit 8ead5c9542
2 changed files with 3 additions and 3 deletions

View file

@ -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 /

View file

@ -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}/',
]) ])