Skip to content

Commit 5176097

Browse files
authored
Merge pull request #7840 from MichaIng/dev
Beta v9.20.0
2 parents c689bcf + 7a5ec3d commit 5176097

21 files changed

+1231
-1109
lines changed

.build/images/dietpi-build

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ case $HW_MODEL in
147147
73) iname='ROCKPiS' HW_ARCH=3 partition_start=16 root_size=1200;;
148148
74) iname='RadxaZero' HW_ARCH=3 partition_start=4 root_size=1148;;
149149
75) iname='Container' HW_ARCH=${HW_ARCH:-10} root_size=700;;
150-
'76.1') iname='NanoPiR5S' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
151-
'76.2') iname='NanoPiR5C' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
152-
77) iname='ROCK3A' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
150+
'76.1') iname='NanoPiR5S' HW_ARCH=3 partition_start=16 root_size=1200;;
151+
'76.2') iname='NanoPiR5C' HW_ARCH=3 partition_start=16 root_size=1200;;
152+
77) iname='ROCK3A' HW_ARCH=3 partition_start=16 root_size=1200;;
153153
78) iname='ROCK5B' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
154154
'79.1') iname='NanoPiR6S' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
155155
'79.2') iname='NanoPiR6C' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
@@ -161,10 +161,10 @@ case $HW_MODEL in
161161
84) iname='Star64' HW_ARCH=11 root_size=800;;
162162
85) iname='ROCK5A' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
163163
86) iname='ASUSTB2' HW_ARCH=3 partition_start=16 root_size=1200;;
164-
87) iname='OrangePi3B' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
164+
87) iname='OrangePi3B' HW_ARCH=3 partition_start=16 root_size=1200;;
165165
88) iname='OrangePiZero2W' HW_ARCH=3 partition_start=4 root_size=1148;;
166166
89) iname='OrangePi3LTS' HW_ARCH=3 partition_start=4 root_size=1000;;
167-
90) iname='RadxaZERO3' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
167+
90) iname='RadxaZERO3' HW_ARCH=3 partition_start=16 root_size=1200;;
168168
91) iname='OrangePi5Max' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
169169
92) iname='NanoPiM6' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;
170170
93) iname='OrangePi5Pro' HW_ARCH=3 PTTYPE='gpt' partition_start=16 root_size=1200;;

.build/images/dietpi-imager

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,16 @@ _EOF_
670670

671671
# Clone disk
672672
G_EXEC mkdir -p tmpiso/home/partimag
673-
G_EXEC_DESC='Cloning disk with Clonezilla' G_EXEC_OUTPUT=1 G_EXEC ocs-sr -or "$PWD/tmpiso/home/partimag" -nogui -fsck-y -q2 -b -j2 -z5p -i 4096 -senc -sc savedisk "$OUTPUT_IMG_NAME" "${FP_SOURCE##*/}"
673+
# -q2: use partclone (default)
674+
# -z5p: multi-threaded xz-compression
675+
# -j2: save data between MBR and first partition, e.g. bootloader
676+
# -b: batch mode: no ocs prompts
677+
# --nogui: no partclone TUI
678+
# -fsck-y: auto check+repair source before cloning
679+
# -i 4096: split image to max 4 GiB volumes
680+
# -senc: do not encrypt image
681+
# -sc: skip check if image is restorable
682+
G_EXEC_DESC='Cloning disk with Clonezilla' G_EXEC_OUTPUT=1 G_EXEC ocs-sr -or "$PWD/tmpiso/home/partimag" --nogui -fsck-y -q2 -b -j2 -z5p -i 4096 -senc -sc savedisk "$OUTPUT_IMG_NAME" "${FP_SOURCE##*/}"
674683

675684
# Remove loop device
676685
Delete_Loopback
@@ -679,7 +688,7 @@ _EOF_
679688
G_EXEC rm -f "tmpiso/home/partimag/$OUTPUT_IMG_NAME/"{Info*txt,*list,clonezilla-img}
680689

681690
# Check image
682-
G_EXEC_DESC='Checking Clonezilla image' G_EXEC_OUTPUT=1 G_EXEC ocs-chkimg -or "$PWD/tmpiso/home/partimag" -nogui -b "$OUTPUT_IMG_NAME"
691+
G_EXEC_DESC='Checking Clonezilla image' G_EXEC_OUTPUT=1 G_EXEC ocs-chkimg -or "$PWD/tmpiso/home/partimag" --nogui -b "$OUTPUT_IMG_NAME"
683692

684693
### Prepare custom files used by the installer when booting in UEFI mode ###
685694
# Create a GRUB theme for the main menu
@@ -706,6 +715,10 @@ _EOF_
706715
G_EXEC mv tmpiso/boot/grub/{grub,clonezilla}.cfg
707716
sed '/^menuentry /,$d' tmpiso/boot/grub/clonezilla.cfg > tmpiso/boot/grub/grub.cfg
708717
sed -n '/menuentry .*Safe graphic/,/}/s/^ //p' tmpiso/boot/grub/clonezilla.cfg >> tmpiso/boot/grub/grub.cfg
718+
# -e2: use CHS geometry info from EDD for partition creation with sfdisk
719+
# -icds: skip disk size check before creating partition table
720+
# -k1: resize partition after creation
721+
# -r: resize filesystem after partition resize
709722
# shellcheck disable=SC2016
710723
sed --follow-symlinks -i -e '/^set timeout=/c\set timeout="-1"' -e '/^set pref=/a\set theme=\$pref/theme.txt' -e '/^menuentry /c\menuentry "Install DietPi" {' \
711724
-e 's/locales= /locales=C.UTF-8 /' -e 's/keyboard-layouts= /keyboard-layouts=gb /' -e 's/ocs-live-general/ocs-live-restore/' \

.build/images/dietpi-installer

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ _EOF_
257257
# Stop, disable and remove DietPi services
258258
for i in /etc/systemd/system/dietpi-*
259259
do
260-
[[ -f $i ]] && G_EXEC systemctl disable --now "${i##*/}"
260+
[[ -f $i ]] && G_EXEC systemctl --no-reload disable --now "${i##*/}"
261261
G_EXEC rm -Rf "$i"
262262
done
263263

@@ -788,6 +788,7 @@ setenv rootuuid "true"' /boot/boot.cmd
788788
esac
789789
# Overlays
790790
case $G_HW_MODEL in
791+
80|91|94) G_CONFIG_INJECT 'overlays=' 'overlays=dwc3-host' /boot/dietpiEnv.txt;; # Switch USB-C and vertical USB 2.0 (shares controller with USB-C) to host mode by default
791792
92) G_CONFIG_INJECT 'overlays=' 'overlays=display-dsi1-yx35' /boot/dietpiEnv.txt;; # Enable builtin LCD of official case
792793
*) :;;
793794
esac
@@ -944,8 +945,8 @@ setenv rootuuid "true"' /boot/boot.cmd
944945
G_DIETPI-NOTIFY 2 'Disabling apt-daily services to prevent random APT cache lock'
945946
for i in apt-daily{,-upgrade}.{service,timer}
946947
do
947-
G_EXEC systemctl disable --now "$i"
948-
G_EXEC systemctl mask "$i"
948+
G_EXEC systemctl --no-reload disable --now "$i"
949+
G_EXEC systemctl --no-reload mask "$i"
949950
done
950951

951952
G_DIETPI-NOTIFY 2 'Purging configs/data of removed packages'
@@ -1236,7 +1237,7 @@ _EOF_
12361237
87) model='orangepi3b' kernel='rockchip64';;
12371238
88) model='orangepizero2w' kernel='sunxi64';;
12381239
89) model='orangepi3-lts' kernel='sunxi64';;
1239-
90) model='radxa-zero3' kernel='rk35xx' branch='vendor';;
1240+
90) model='radxa-zero3' kernel='rockchip64';;
12401241
91) model='orangepi5-max' kernel='rk35xx' branch='vendor';;
12411242
92) model='nanopi-m6' kernel='rk35xx' branch='vendor';;
12421243
93) model='orangepi5pro' kernel='rk35xx' branch='vendor';;
@@ -1826,11 +1827,11 @@ _EOF_
18261827
for j in /etc/init.d/$i /{etc,lib,usr/lib,usr/local/lib}/systemd/system/{$i.service{,.d},*.wants/$i.service}
18271828
do
18281829
[[ -e $j || -L $j ]] || continue
1829-
[[ -f $j ]] && G_EXEC systemctl disable --now "${j##*/}"
1830+
[[ -f $j ]] && G_EXEC systemctl --no-reload disable --now "${j##*/}"
18301831
# Remove if not attached to any DEB package, else mask
18311832
if dpkg -S "$j" &> /dev/null
18321833
then
1833-
G_EXEC systemctl mask "${j##*/}"
1834+
G_EXEC systemctl --no-reload mask "${j##*/}"
18341835
else
18351836
[[ -e $j || -L $j ]] && G_EXEC rm -R "$j"
18361837
fi
@@ -1987,13 +1988,13 @@ _EOF_'
19871988
G_DIETPI-NOTIFY 2 'Configuring DNS nameserver:'
19881989
# Failsafe: Assure that /etc/resolv.conf is not a symlink and disable systemd-resolved + systemd-networkd
19891990
# - Since Bookworm, systemd-resolved is an own package.
1990-
G_EXEC systemctl disable --now systemd-networkd
1991-
(( $G_DISTRO > 6 )) || G_EXEC systemctl disable --now systemd-resolved
1991+
G_EXEC systemctl --no-reload disable --now systemd-networkd
1992+
(( $G_DISTRO > 6 )) || G_EXEC systemctl --no-reload disable --now systemd-resolved
19921993
G_EXEC rm -f /etc/resolv.conf
19931994
G_EXEC eval 'echo '\''nameserver 9.9.9.9'\'' > /etc/resolv.conf' # Apply generic functional DNS nameserver
19941995

19951996
# ifupdown starts the daemon outside of systemd, the enabled systemd unit just throws an error on boot due to missing dbus and with dbus might interfere with ifupdown
1996-
systemctl -q is-enabled wpa_supplicant 2> /dev/null && G_EXEC systemctl disable wpa_supplicant
1997+
systemctl -q is-enabled wpa_supplicant 2> /dev/null && G_EXEC systemctl --no-reload disable wpa_supplicant
19971998

19981999
# Removing all network configs: https://github.com/MichaIng/DietPi/issues/6067
19992000
G_EXEC rm -Rf /etc/network/interfaces{,.d/{,.??,.[^.]}*}
@@ -2036,7 +2037,7 @@ _EOF_'
20362037
if command -v e2scrub > /dev/null
20372038
then
20382039
G_DIETPI-NOTIFY 2 'Disabling e2scrub services which are for LVM and require lvm2/lvcreate being installed'
2039-
G_EXEC systemctl disable --now e2scrub_{all.timer,reap}
2040+
G_EXEC systemctl --no-reload disable --now e2scrub_{all.timer,reap}
20402041
fi
20412042

20422043
G_DIETPI-NOTIFY 2 'Enabling weekly TRIM'
@@ -2114,9 +2115,9 @@ _EOF_'
21142115
/boot/dietpi/func/dietpi-set_hardware serialconsole enable serial0
21152116
# Disable and mask the others explicitly to be independent of currently available serial devices
21162117
/boot/dietpi/func/dietpi-set_hardware serialconsole disable ttyAMA0
2117-
G_EXEC systemctl mask serial-getty@ttyAMA0
2118+
G_EXEC systemctl --no-reload mask serial-getty@ttyAMA0
21182119
/boot/dietpi/func/dietpi-set_hardware serialconsole disable ttyS0
2119-
G_EXEC systemctl mask serial-getty@ttyS0
2120+
G_EXEC systemctl --no-reload mask serial-getty@ttyS0
21202121

21212122
# Odroid XU4
21222123
elif (( $G_HW_MODEL == 11 ))
@@ -2169,23 +2170,23 @@ _EOF_'
21692170
(( $G_HW_MODEL == 20 || $G_HW_MODEL == 75 || $G_HW_MODEL == 70 )) || G_CONFIG_INJECT 'CONFIG_SERIAL_CONSOLE_ENABLE=' 'CONFIG_SERIAL_CONSOLE_ENABLE=1' /boot/dietpi.txt
21702171

21712172
G_DIETPI-NOTIFY 2 'Disabling static login prompts on consoles tty2 to tty6:'
2172-
G_EXEC systemctl mask --now getty-static
2173+
G_EXEC systemctl --no-reload mask --now getty-static
21732174

21742175
if (( $G_HW_MODEL == 20 ))
21752176
then
21762177
G_DIETPI-NOTIFY 2 'Assuring that logind is enabled on VM image for ACPI functionality'
2177-
G_EXEC systemctl unmask systemd-logind
2178+
G_EXEC systemctl --no-reload unmask systemd-logind
21782179
else
21792180
# - logind features are usually not needed and (aside of automatic getty spawn and ACPI) require the libpam-systemd package.
21802181
# - It will be unmasked automatically if libpam-systemd got installed during dietpi-software install, e.g. with desktops.
21812182
G_DIETPI-NOTIFY 2 'Disabling logind by default, usually not needed on physical server systems'
2182-
G_EXEC systemctl mask --now systemd-logind
2183+
G_EXEC systemctl --no-reload mask --now systemd-logind
21832184
fi
21842185

21852186
# Assure that console on TTY1 is enabled for automated first run setup, as well on headless SBCs. Disable it for container images, which usually have no virtual consoles but boot on /dev/console, triggering console-getty.service where autologin is enabled as well.
21862187
if (( $G_HW_MODEL == 75 ))
21872188
then
2188-
G_EXEC systemctl disable getty@tty1
2189+
G_EXEC systemctl --no-reload disable getty@tty1
21892190
else
21902191
G_EXEC systemctl enable getty@tty1
21912192
fi
@@ -2324,15 +2325,15 @@ _EOF_
23242325
G_CONFIG_INJECT 'CONFIG_NTP_MODE=' 'CONFIG_NTP_MODE=0' /boot/dietpi.txt
23252326
else
23262327
(( $G_DISTRO < 7 )) && G_EXEC_DESC='Enable Dropbear autostart' G_EXEC sed --follow-symlinks -i '/NO_START=1/c\NO_START=0' /etc/default/dropbear
2327-
G_EXEC systemctl unmask dropbear
2328+
G_EXEC systemctl --no-reload unmask dropbear
23282329
G_EXEC systemctl enable dropbear
23292330
fi
23302331

23312332
G_DIETPI-NOTIFY 2 'Configuring services'
23322333
/boot/dietpi/dietpi-services unmask
23332334
/boot/dietpi/dietpi-services stop
23342335
/boot/dietpi/dietpi-services enable
2335-
G_EXEC systemctl disable cron
2336+
G_EXEC systemctl --no-reload disable cron
23362337

23372338
G_DIETPI-NOTIFY 2 'Removing swapfile from image'
23382339
/boot/dietpi/func/dietpi-set_swapfile 0 /var/swap
@@ -2430,6 +2431,7 @@ _EOF_
24302431

24312432
G_EXEC_DESC='Enabling automated partition and file system resize for first boot' G_EXEC systemctl enable dietpi-fs_partition_resize
24322433
G_EXEC_DESC='Enabling first boot installation process' G_EXEC systemctl enable dietpi-firstboot
2434+
G_EXEC systemctl --no-reload mask systemd-firstboot
24332435

24342436
G_DIETPI-NOTIFY 2 'Clearing lost+found'
24352437
rm -Rfv /lost+found/{,.??,.[^.]}*

.github/workflows/dietpi-build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ jobs:
2828
if [ "${{ github.event.inputs.buildargs }}" = 'all' ]
2929
then
3030
echo buildargs=[\
31-
'"-m 1 -d 7 -e all", "-m 1 -d 8 -e all",'\
32-
'"-m 2 -d 7 -e all", "-m 2 -d 8 -e all", "-m 2 -d 9 -e all",'\
33-
'"-m 4 -d 7 -e all", "-m 4 -d 8 -e all", "-m 4 -d 9 -e all",'\
34-
'"-m 5 -d 7 -e all", "-m 5 -d 8 -e all", "-m 5 -d 9 -e all",'\
3531
'"-m 10 -d 7", "-m 10 -d 8", "-m 10 -d 9",'\
3632
'"-m 11 -d 7", "-m 11 -d 8", "-m 11 -d 9",'\
3733
'"-m 12 -d 7", "-m 12 -d 8", "-m 12 -d 9",'\
@@ -99,7 +95,7 @@ jobs:
9995
'"-m 87 -d 7", "-m 87 -d 8", "-m 87 -d 9",'\
10096
'"-m 88 -d 7", "-m 88 -d 8", "-m 88 -d 9",'\
10197
'"-m 89 -d 7", "-m 89 -d 8", "-m 89 -d 9",'\
102-
'"-m 90 -d 7", "-m 90 -d 8", "-m 90 -d 9", "-m 90 -d 8 --rk35xx-mainline",'\
98+
'"-m 90 -d 7", "-m 90 -d 8", "-m 90 -d 9",'\
10399
'"-m 91 -d 7", "-m 91 -d 8", "-m 91 -d 9", "-m 91 -d 8 --rk35xx-mainline",'\
104100
'"-m 92 -d 7", "-m 92 -d 8", "-m 92 -d 9", "-m 92 -d 8 --rk35xx-mainline",'\
105101
'"-m 93 -d 7", "-m 93 -d 8", "-m 93 -d 9", "-m 93 -d 8 --rk35xx-mainline",'\

.github/workflows/dietpi-software.bash

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Process_Software()
116116
9) aCOMMANDS[i]='node -v';;
117117
10) aCOMMANDS[i]='amiberry-lite -h | grep '\''^\$VER: Amiberry-Lite '\';;
118118
11) aCOMMANDS[i]='gzdoom -norun | grep '\''^GZDoom version '\';;
119+
12) aSERVICES[i]='rustdesksignal rustdeskrelay' aTCP[i]='21115 21116 21117 21118 21119' aUDP[i]='21116';;
119120
#16) aSERVICES[i]='microblog-pub' aTCP[i]='8007';; Service enters a CPU-intense internal error loop until it has been configured interactively via "microblog-pub configure", hence it is not enabled and started anymore after install but instead as part of "microblog-pub configure"
120121
17) aCOMMANDS[i]='git --version';; # from Bookworm on, the shorthand "-v" is supported
121122
#22) QuiteRSS: has no CLI
@@ -425,23 +426,6 @@ G_EXEC eval 'echo '\''infocmp "$TERM" > /dev/null 2>&1 || { echo "[ INFO ] Unsup
425426
# Enable automated setup
426427
G_CONFIG_INJECT 'AUTO_SETUP_AUTOMATED=' 'AUTO_SETUP_AUTOMATED=1' rootfs/boot/dietpi.txt
427428

428-
# Workaround for failing systemd services in emulated container: https://gitlab.com/qemu-project/qemu/-/issues/1962, https://github.com/systemd/systemd/issues/31219
429-
if (( $emulation ))
430-
then
431-
for i in rootfs/lib/systemd/system/*.service
432-
do
433-
[[ -f $i ]] || continue
434-
grep -Eq '^(Load|Import)Credential=' "$i" || continue
435-
G_EXEC mkdir "${i/lib/etc}.d"
436-
if [[ $DISTRO == 'bullseye' || $DISTRO == 'bookworm' ]]
437-
then
438-
G_EXEC eval "echo -e '[Service]\nLoadCredential=' > \"${i/lib/etc}.d/dietpi-no-credentials.conf\""
439-
else
440-
G_EXEC eval "echo -e '[Service]\nImportCredential=' > \"${i/lib/etc}.d/dietpi-no-credentials.conf\""
441-
fi
442-
done
443-
fi
444-
445429
# ARMv6/7 Trixie: Workaround failing chpasswd, which tries to access /proc/sys/vm/mmap_min_addr, but fails as of AppArmor on the host
446430
if (( $arch < 3 && $dist > 7 )) && systemctl -q is-active apparmor
447431
then
@@ -484,17 +468,34 @@ then
484468
G_EXEC touch rootfs/mnt/dietpi_userdata/papermc/plugins/Geyser-Spigot.jar
485469
fi
486470

487-
# Workarounds for QEMU-emulated RISC-V and 32-bit ARM containers
488-
if (( ( $arch < 3 || $arch == 11 ) && $emulation ))
471+
# Workarounds for QEMU-emulated containers
472+
if (( $emulation ))
489473
then
490-
# Failing services as PrivateUsers=true leads to "Failed to set up user namespacing", and AmbientCapabilities to "Failed to apply ambient capabilities (before UID change): Operation not permitted"
491-
G_EXEC mkdir rootfs/etc/systemd/system/{redis-server,raspotify,navidrome,homebridge}.service.d
474+
# Failing systemd services: https://gitlab.com/qemu-project/qemu/-/issues/1962, https://github.com/systemd/systemd/issues/31219
475+
for i in rootfs/lib/systemd/system/*.service
476+
do
477+
[[ -f $i ]] || continue
478+
grep -Eq '^(Import|Load)Credential=' "$i" || continue
479+
G_EXEC mkdir "${i/lib/etc}.d"
480+
G_EXEC eval "echo -e '[Service]\nImportCredential=\nLoadCredential=' > \"${i/lib/etc}.d/dietpi-no-credentials.conf\""
481+
done
482+
483+
# Failing services as PrivateUsers leads to "Failed to set up user namespacing", and AmbientCapabilities to "Failed to apply ambient capabilities (before UID change): Operation not permitted"
484+
G_EXEC mkdir rootfs/etc/systemd/system/{redis-server,raspotify,navidrome,homebridge,mariadb,systemd-logind,apache2,mpd}.service.d
492485
G_EXEC eval 'echo -e '\''[Service]\nPrivateUsers=0'\'' > rootfs/etc/systemd/system/redis-server.service.d/dietpi-container.conf'
493486
G_EXEC eval 'echo -e '\''[Service]\nPrivateUsers=0'\'' > rootfs/etc/systemd/system/raspotify.service.d/dietpi-container.conf'
494487
G_EXEC eval 'echo -e '\''[Service]\nPrivateUsers=0'\'' > rootfs/etc/systemd/system/navidrome.service.d/dietpi-container.conf'
495488
G_EXEC eval 'echo -e '\''[Service]\nAmbientCapabilities='\'' > rootfs/etc/systemd/system/homebridge.service.d/dietpi-container.conf'
489+
# Forky: ProtectHome/ProtectSystem/PrivateTmp/...: "Failed to set up mount namespacing: Invalid argument": https://github.com/systemd/systemd/issues/39951
490+
if (( $dist > 8 ))
491+
then
492+
G_EXEC eval 'echo -e '\''[Service]\nProtectHome=0\nProtectSystem=0'\'' > rootfs/etc/systemd/system/mariadb.service.d/dietpi-container.conf'
493+
G_EXEC eval 'echo -e '\''[Service]\nProtectHome=0\nProtectSystem=0\nPrivateTmp=0\nReadWritePaths=\nProtectKernelModules=0\nProtectControlGroups=0\nProtectKernelLogs=0'\'' > rootfs/etc/systemd/system/systemd-logind.service.d/dietpi-container.conf'
494+
G_EXEC eval 'echo -e '\''[Service]\nPrivateTmp=0'\'' > rootfs/etc/systemd/system/apache2.service.d/dietpi-container.conf'
495+
G_EXEC eval 'echo -e '\''[Service]\nProtectSystem=0\nProtectKernelTunables=0\nProtectControlGroups=0\nProtectKernelModules=0'\'' > rootfs/etc/systemd/system/mpd.service.d/dietpi-container.conf'
496+
fi
496497

497-
# Failing 32-bit ARM Rust builds on ext4 in QEMU emulated container on 64-bit host: https://github.com/rust-lang/cargo/issues/9545
498+
# Failing 32-bit ARM Rust builds on ext4 with 64-bit host: https://github.com/rust-lang/cargo/issues/9545
498499
if (( $arch < 3 ))
499500
then
500501
G_EXEC eval 'echo -e '\''tmpfs /mnt/dietpi_userdata tmpfs size=3G,noatime,lazytime\ntmpfs /root tmpfs size=3G,noatime,lazytime'\'' >> rootfs/etc/fstab'
@@ -529,7 +530,7 @@ then
529530
G_EXEC sed --follow-symlinks -i "/# Start DietPi-Software/i\sed -i 's/192\.168\.42\./$(G_GET_NET ip | sed 's/[0-9]*$//')/g' /boot/dietpi/dietpi-software" rootfs/boot/dietpi/dietpi-login
530531
fi
531532

532-
# Workaround for Apache2 on emulated RISC-V system
533+
# Workaround for Apache on emulated RISC-V system
533534
if (( ${aINSTALL[83]} )) && (( $emulation && $arch == 11 ))
534535
then
535536
G_EXEC sed --follow-symlinks -i '/# Start DietPi-Software/i\sed -i '\''/^DocumentRoot/a\Mutex posixsem'\'' /boot/dietpi/dietpi-software' rootfs/boot/dietpi/dietpi-login

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login != github.event.pull_request.base.repo.owner.login
1111
runs-on: ubuntu-24.04
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
- name: Setup DietPi-Globals
1515
run: |
1616
sudo mkdir -p /boot/dietpi/func

0 commit comments

Comments
 (0)