Skip to content

Commit

Permalink
Fixed the scripting error setting the swap size to 512M
Browse files Browse the repository at this point in the history
  • Loading branch information
aluminum-ice committed Dec 25, 2022
1 parent 293adb1 commit 21e641a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
26 changes: 17 additions & 9 deletions builder/pwnagotchi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,16 @@
name: "{{ packages.apt.install }}"
state: present

# - name: configure dphys-swapfile
# file:
# path: /etc/dphys-swapfile
# content: "CONF_SWAPSIZE=1024"

- name: configure dphys-swapfile
file:
lineinfile:
path: /etc/dphys-swapfile
content: "CONF_SWAPSIZE=1024"
regexp: "^CONF_SWAPSIZE=.*$"
line: "CONF_SWAPSIZE=512"

- name: clone papirus repository
git:
Expand Down Expand Up @@ -324,16 +330,18 @@
- name: link libmpfr
command: ln -s /usr/local/lib/libmpfr.so /usr/lib/arm-linux-gnueabihf/libmpfr.so.4

- name: make firemware
shell: "cd /usr/local/src/nexmon/ && source ./setup_env.sh && make"
args:
executable: /bin/bash
### OBSOLETE CODE ###
# - name: make firmware
# shell: "cd /usr/local/src/nexmon/ && source ./setup_env.sh && make"
# args:
# executable: /bin/bash

# - name: make firemware patch
# - name: make firmware patch
# command: chdir=/usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/ make
### OBSOLETE CODE ###

# - name: make firemware patch
# shell: "cd /usr/local/src/nexmon/ && source ./setup_env.sh && cd /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/ && make"
# - name: make firmware and firmware patch
# shell: "cd /usr/local/src/nexmon/ && source ./setup_env.sh && make && cd /usr/local/src/nexmon/patches/bcm43436b0/9_88_4_65/nexmon/ && make"
# args:
# executable: /bin/bash

Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.6.0'
__version__ = '1.6.1'

0 comments on commit 21e641a

Please sign in to comment.