Skip to content

Commit

Permalink
test: debug dns resolve on armbian based images
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan committed Aug 5, 2024
1 parent 0d951e4 commit b1fd2c9
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflow_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@

buildtest:
# armbian based images
- armbian/bananapim2zero
- armbian/orangepi3lts
# - armbian/bananapim2zero
# - armbian/orangepi3lts
- armbian/orangepi4lts
- armbian/orangepi_zero2
# - armbian/orangepi_zero2
# Orange Pi OS based images
# Raspberry Pi OS based images
- raspberry/rpi32
- raspberry/rpi64
# - raspberry/rpi32
# - raspberry/rpi64
# rpi 64 with KS
- raspberry/rpi64-ks
# - raspberry/rpi64-ks

# This is used to setup release build chain.
# Each entry will be used in setup matrix for releases
Expand Down
3 changes: 2 additions & 1 deletion config/armbian/default
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ 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(pkgupgrade,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))"
MODULES="base(debug)"

# export Variables
export DOWNLOAD_BASE_URL
Expand Down
1 change: 1 addition & 0 deletions src/modules/debug/config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Intentionally left blank
31 changes: 31 additions & 0 deletions src/modules/debug/start_chroot_script
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env bash

## Source error handling, leave this in place
set -Eex

## Set LC_ALL to prevent errors
export LC_ALL=C

# Set DEBIAN_FRONTEND to noninteractive
if [[ "${DEBIAN_FRONTEND}" != "noninteractive" ]]; then
export DEBIAN_FRONTEND=noninteractive
fi

## Source CustomPIOS common.sh
# shellcheck disable=SC1091
source /common.sh
install_cleanup_trap


echo_red "DEBUG: -------------------------------------------------"
cd /
ls -al /run/systemd/resolve/stub-resolv.conf

echo_red "--------------------------------------------------------"

systemctl status systemd-resolved




echo_red "DEBUG: --------------------------------------------------"

0 comments on commit b1fd2c9

Please sign in to comment.