Skip to content

Commit

Permalink
v9.7
Browse files Browse the repository at this point in the history
- DietPi-Software | Node.js: Re-add libatomic1 dependency. It is still needed for ARMv6/7 and RISC-V. It comes pre-installed with ARMv6 Bookworm and Trixie images, but we do not want to rely on this.
  • Loading branch information
MichaIng committed Jul 11, 2024
1 parent 028148f commit 042edd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -3009,6 +3009,9 @@ unix_socket_directories = '/run/postgresql'" > "$i/00dietpi.conf"

if To_Install 9 # Node.js
then
# ARMv6/7/RISC-V deps (verified 2024-07-11): https://github.com/MichaIng/DietPi/issues/3614
(( $G_HW_ARCH < 3 || $G_HW_ARCH == 11 )) && aDEPS=('libatomic1')

# Download installer
Download_Install 'https://github.com/raw/MichaIng/nodejs-linux-installer/master/node-install.sh'
G_EXEC chmod +x node-install.sh
Expand Down

0 comments on commit 042edd1

Please sign in to comment.