Further fix package building
This commit is contained in:
parent
fe52671e06
commit
c22b509347
2 changed files with 5 additions and 1 deletions
|
@ -43,6 +43,10 @@ def create_chroot(chroot_name: str,
|
|||
'-q',
|
||||
'-W',
|
||||
'-x',
|
||||
'--exclude',
|
||||
'pkgbuilds',
|
||||
'--exclude',
|
||||
'prebuilts',
|
||||
f'{base_chroot_path}/',
|
||||
f'{chroot_path}/',
|
||||
])
|
||||
|
|
|
@ -82,7 +82,7 @@ class Package:
|
|||
self.names = list(set(names))
|
||||
self.depends = list(set(depends))
|
||||
|
||||
self.repo = self.path.split('/')[0]
|
||||
self.repo = self.path.split('/')[2]
|
||||
|
||||
mode = ''
|
||||
with open(os.path.join(self.path, 'PKGBUILD'), 'r') as file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue