Skip to content

Commit

Permalink
contrib: add genpkglist improvements from FFAC
Browse files Browse the repository at this point in the history
- add package for zyxel-nwa55axe
- aAdd qemu-ga to x86-64 target
- add sftp server (for OpenSSH 9+)
- add qemu-ga to x86 targets
- remove usb for ex3700

Co-authored-by: Florian Maurer <f.maurer@outlook.de>
  • Loading branch information
grische and maurerle committed Dec 19, 2023
1 parent d67474d commit 4465b56
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions contrib/genpkglist.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,13 @@ def render(self):
])
pkglists.append(PKGS_PCI_NET)

PKGS_VIRT = PackageList('VIRT', ['qemu-ga'])
pkglists.append(PKGS_VIRT)

PKGS_TLS = PackageList('TLS', [
'ca-bundle',
'libustream-openssl'
'libustream-openssl',
'openssh-sftp-server'
])
pkglists.append(PKGS_TLS)

Expand All @@ -203,7 +207,8 @@ def render(self):
'tp-link-archer-c7-v5',
'tp-link-archer-c59-v1',
'tp-link-tl-wr842n-v3',
'tp-link-tl-wr1043nd-v4'
'tp-link-tl-wr1043nd-v4',
'tp-link-tl-wr1043n-v5'
], pkglists=[PKGS_USB, PKGS_USB_NET, PKGS_USB_SERIAL, PKGS_USB_STORAGE]). \
exclude([
'd-link-dir825b1',
Expand Down Expand Up @@ -261,13 +266,13 @@ def render(self):
'ubiquiti-edgerouter-x-sfp'], pkglists=[PKGS_USB, PKGS_USB_NET, PKGS_USB_SERIAL, PKGS_USB_STORAGE])

targets.get('ramips-mt7620'). \
add_pkglist(PKGS_USB). \
add_pkglist(PKGS_USB_NET). \
add_pkglist(PKGS_USB_SERIAL). \
add_pkglist(PKGS_USB_STORAGE). \
add_pkglist(PKGS_TLS). \
exclude([ # devices without usb ports
'netgear-ex3700'], pkglists=[PKGS_USB, PKGS_USB_NET, PKGS_USB_SERIAL, PKGS_USB_STORAGE])
add_pkglist(PKGS_USB). \
add_pkglist(PKGS_USB_NET). \
add_pkglist(PKGS_USB_SERIAL). \
add_pkglist(PKGS_USB_STORAGE). \
add_pkglist(PKGS_TLS). \
exclude([ # devices without usb ports
'netgear-ex3700'], pkglists=[PKGS_USB, PKGS_USB_NET, PKGS_USB_SERIAL, PKGS_USB_STORAGE])

targets.get('ramips-mt76x8'). \
add_pkglist(PKGS_TLS). \
Expand All @@ -290,6 +295,7 @@ def render(self):
add_pkglist(PKGS_PCI_NET). \
add_pkglist(PKGS_TLS)

targets.get('x86-64').add_pkglist(PKGS_VIRT)
targets.get('x86-legacy').add_pkglist(PKGS_TLS)

if __name__ == '__main__':
Expand Down

0 comments on commit 4465b56

Please sign in to comment.