From 8193f94969988d847ede1a5080e59f9c41c679a9 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 3 Nov 2023 07:49:56 +0100 Subject: [PATCH] v2.5.1 Signed-off-by: Jeroen Oudshoorn --- builder/raspberrypi32.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/builder/raspberrypi32.yml b/builder/raspberrypi32.yml index a3f97e7d..c5b00856 100644 --- a/builder/raspberrypi32.yml +++ b/builder/raspberrypi32.yml @@ -322,11 +322,6 @@ state: absent path: /usr/local/src/nexmon/ - - name: make wheel staging dir - file: - state: directory - path: "{{ staging }}/wheels" - - name: clone pwnagotchi repository git: repo: https://github.com/Sniffleupagus/pwnagotchi-snflpgs.git @@ -346,20 +341,14 @@ pip: name: - "{{ lookup('fileglob', '/usr/local/src/pwnagotchi/dist/pwnagotchi*.whl') }}" - - "{{ staging }}/wheels/{{ packages.torch.url | basename }}" - - "{{ staging }}/wheels/{{ packages.torchvision.url | basename }}" - - "stable-baselines3==1.8.0" + - "{{ packages.torch.url | basename }}" + - "{{ packages.torchvision.url | basename }}" extra_args: "--no-cache-dir" environment: #QEMU_CPU: arm1176 QEMU_UNAME: "{{ kernel.full }}" when: (pwnagotchigit.changed) or (pip_packages['pwnagotchi'] is undefined) or (pip_packages['pwnagotchi'] != pwnagotchi_version) - - name: copy pwnagotchi wheel to staging dir - ansible.builtin.copy: - src: "{{ lookup('fileglob', '/usr/local/src/pwnagotchi/dist/pwnagotchi*.whl') }}" - dest: "{{ staging }}/wheels" - - name: create /usr/local/share/pwnagotchi/ folder file: path: /usr/local/share/pwnagotchi/