Skip to content

Commit

Permalink
v9.10
Browse files Browse the repository at this point in the history
- CI | DietPi-Software test: Test other approach to fix failing services and hence missing login prompts in QEMU-emulated Trixie containers
  • Loading branch information
MichaIng committed Jan 8, 2025
1 parent 585989e commit edeba1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dietpi-software.bash
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,12 @@ G_CONFIG_INJECT 'AUTO_SETUP_AUTOMATED=' 'AUTO_SETUP_AUTOMATED=1' rootfs/boot/die
# - Set HOME path, required e.g. go builds, which is otherwise missing when started from a systemd unit.
if [[ $DISTRO == 'trixie' ]] && (( $G_HW_ARCH != $arch && ( $G_HW_ARCH > 9 || $G_HW_ARCH < $arch ) ))
then
for i in rootfs/usr/lib/systemd/system/*.service
do
grep -q '^ImportCredential=' "$i" || continue
G_EXEC mkdir "${i/usr\/lib/etc}.d"
G_EXEC eval "echo -e '[Service]\nImportCredential=' > ${i/usr\/lib/etc}.d/dietpi-no-ImportCredential.conf"
done
cat << '_EOF_' > rootfs/etc/systemd/system/dietpi-automation.service
[Unit]
Description=DietPi-Automation
Expand Down

0 comments on commit edeba1e

Please sign in to comment.