Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Acme.sh client into base image #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ It does not matter if the damage is caused by incorrect usage or a bug in the so
* All packages come from the following locations:
* Offical RaspiOS package repo
* moOde package build repo [pkgbuild](https://github.com/moode-player/pkgbuild)
* acme.sh (https://github.com/acmesh-official/acme.sh)
* The host used for the build should be connected via Ethernet for best download performance from the remote repos

## Output
Expand Down
1 change: 1 addition & 0 deletions moode-cfg/stage2_04-moode-install_01-packages
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ trx
# upmpdcli
# upmpdcli-qobuz
# upmpdcli-tidal
vim
winbind
wsdd
xfsprogs
Expand Down
14 changes: 14 additions & 0 deletions moode-cfg/stage3_00-moode-install-prereq_00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,19 @@ curl -1sLf \
'https://dl.cloudsmith.io/public/moodeaudio/m8y/setup.deb.sh' \
| sudo -E distro=raspbian codename=bookworm bash

echo "Getting acme.sh repo"

if [ -d "/root/acme.sh" ]; then
rm -rf /root/acme.sh
fi

wget -O /root/master.zip https://github.com/acmesh-official/acme.sh/archive/refs/heads/master.zip

echo "unzip acme.sh repo"
unzip /root/master.zip -d /root
mv /root/acme.sh-master /root/acme.sh

rm /root/master.zip

echo "Update package lists"
apt-get update