Skip to content

Commit

Permalink
v9.10
Browse files Browse the repository at this point in the history
- DietPi-Build | Link Raspbian key to active place, when apt-key is missing, else DietPi-Installer fails on first APT update. It creates the symlink later.
  • Loading branch information
MichaIng committed Dec 25, 2024
1 parent 749da78 commit ab7c1f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .build/images/dietpi-build
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,9 @@ G_EXEC mount -o X-mount.mkdir -t tmpfs tmpfs rootfs/var/log
# Workaround for missing apt-key on Trixie, used by raspbian-archive-keyring
if (( $HW_ARCH == 1 && $DISTRO == 8 ))
then
G_EXEC mkdir -p rootfs/usr/bin
G_EXEC mkdir -p rootfs/usr/bin rootfs/etc/apt/trusted.gpg.d
G_EXEC ln -s true rootfs/usr/bin/apt-key
G_EXEC ln -s /usr/share/keyrings/raspbian-archive-keyring.gpg rootfs/etc/apt/trusted.gpg.d/raspbian-archive-keyring.gpg
fi
packages='apt,bash-completion,bzip2,ca-certificates,cron,curl,fdisk,gpg,htop,iputils-ping,locales,mawk,nano,parted,procps,psmisc,sudo,systemd-sysv,tzdata,udev,unzip,wget,whiptail,'
(( $DISTRO > 7 )) && packages+='7zip,' || packages+='p7zip,'
Expand Down

0 comments on commit ab7c1f0

Please sign in to comment.