diff --git a/builder/pwnagotchi.json b/builder/pwnagotchi.json index 7f6eb1ea..76a18d5f 100644 --- a/builder/pwnagotchi.json +++ b/builder/pwnagotchi.json @@ -105,8 +105,7 @@ "inline": [ "apt-get -y --allow-releaseinfo-change update", "apt-get -y dist-upgrade", - "apt-get install -y ansible", - "ansible-galaxy collection install community.general" + "apt-get install -y ansible" ] }, { diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml index d10edc49..2b343ee7 100644 --- a/builder/pwnagotchi.yml +++ b/builder/pwnagotchi.yml @@ -330,11 +330,8 @@ src: /usr/local/src/nexmon/patches/driver/brcmfmac_6.1.y-nexmon/brcmfmac.ko dest: /usr/lib/modules/6.1.21-v8+/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko - - name: Add the brcmfmac module - community.general.modprobe: - name: brcmfmac - state: present - persistent: present + - name : load brcmfmac drivers + command: "/sbin/depmod -A -b -F System.map 6.1.21-v8+" # To shrink the final image, remove the nexmon directory (takes 2.5G of space) post build and installation - name: Delete nexmon content & directory