mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
jool: T5499: fix AttributeError: 'int' object has no attribute 'strip'
This fixes an error introduced by commit 3d5445d8f7c0 ("T5499: arm64: build
jool with correct depends").
This commit is contained in:
parent
6bafde7f8a
commit
28e63c2dca
1
packages/linux-kernel/.gitignore
vendored
1
packages/linux-kernel/.gitignore
vendored
@ -5,6 +5,7 @@
|
||||
/intel-qat
|
||||
/linux-firmware
|
||||
/ovpn-dco
|
||||
/jool*
|
||||
/qat*
|
||||
/QAT*
|
||||
*.tar.xz
|
||||
|
||||
@ -6,9 +6,8 @@ from pathlib import Path
|
||||
from subprocess import run
|
||||
|
||||
def find_arch() -> str:
|
||||
import os
|
||||
arch = os.system("dpkg-architecture -q DEB_HOST_ARCH").strip()
|
||||
return arch
|
||||
tmp=run(['dpkg-architecture', '-q', 'DEB_HOST_ARCH'], capture_output=True)
|
||||
return tmp.stdout.decode().strip()
|
||||
|
||||
# dependency modifier
|
||||
def add_depends(package_dir: str, package_name: str,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user