Skip to content

Commit

Permalink
fix: fix wifi connectivity (#240)
Browse files Browse the repository at this point in the history
* fix: reenable package upgrades

Signed-off-by: Stephan Wendel <[email protected]>

* fix: fix missing packages for network_configurator

Signed-off-by: Stephan Wendel <[email protected]>

---------

Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan authored Sep 29, 2023
1 parent f02179d commit 55b253e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/armbian/default
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BASE_IMAGE_RESIZEROOT=600
# Compress not needed due compression done in workflow
BASE_RELEASE_COMPRESS=no
# Modules are valid for 32bit and 64bit images
MODULES="base,udev_fix,armbian(armbian_net,mainsailos,klipper,is_req_preinstall,moonraker,mainsail,timelapse,crowsnest,sonar)"
MODULES="base,pkgupgrade,udev_fix,armbian(armbian_net,mainsailos,klipper,is_req_preinstall,moonraker,mainsail,timelapse,crowsnest,sonar)"

# export Variables
export DOWNLOAD_BASE_URL
Expand Down
1 change: 1 addition & 0 deletions src/modules/armbian_net/config
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
[[ -n "$ARMBIAN_NET_FIRSTRUN_FILE" ]] || ARMBIAN_NET_FIRSTRUN_FILE="/boot/armbian_first_run.txt.template"
[[ -n "$ARMBIAN_NET_FIRSTRUN_SCRIPT" ]] || ARMBIAN_NET_FIRSTRUN_SCRIPT="/usr/lib/armbian/armbian-firstrun-config"
[[ -n "$ARMBIAN_NET_NC_PATH" ]] || ARMBIAN_NET_NC_PATH="/usr/local/bin/network-configurator"
[[ -n "$ARMBIAN_NET_DEPS" ]] || ARMBIAN_NET_DEPS="net-tools"
5 changes: 5 additions & 0 deletions src/modules/armbian_net/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ install_cleanup_trap
unpack filesystem/root / root
## END

## Step 1.1: Install Depedencies
### Needed to patch 'network_configurator'
# shellcheck disable=SC2086
check_install_pkgs ${ARMBIAN_NET_DEPS}

## Step 2: remove original template
if [[ -f "${ARMBIAN_NET_FIRSTRUN_FILE}" ]]; then
sudo rm -rf "${ARMBIAN_NET_FIRSTRUN_FILE}"
Expand Down

0 comments on commit 55b253e

Please sign in to comment.