-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor cleanup in the naming, remove double package installs
- Loading branch information
1 parent
46d74a5
commit 9c256ec
Showing
13 changed files
with
43 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,21 +16,19 @@ RELEASE=$1 | |
LINUXFAMILY=$2 | ||
BOARD=$3 | ||
BUILD_DESKTOP=$4 | ||
PREP_PACKAGE_LIST="avahi-daemon nginx git unzip \ | ||
python3-virtualenv virtualenv python3-dev libffi-dev build-essential \ | ||
python3-cffi python3-libxml2 libncurses-dev libusb-dev stm32flash \ | ||
libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi" | ||
PREP_PACKAGE_LIST="git unzip" | ||
ADD_PACKAGE_LIST="avahi-daemon" | ||
|
||
source /tmp/overlay/install_components/klipper.sh | ||
source /tmp/overlay/install_components/moonraker.sh | ||
source /tmp/overlay/install_components/nginx.sh | ||
source /tmp/overlay/install_components/fluidd.sh | ||
source /tmp/overlay/install_components/klipperscreen.sh | ||
source /tmp/overlay/install_components/recore_binaries.sh | ||
source /tmp/overlay/install_components/ustreamer.sh | ||
source /tmp/overlay/install_components/autohotspot.sh | ||
source /tmp/overlay/install_components/prep_install.sh | ||
source /tmp/overlay/install_components/add_overlays.sh | ||
source /tmp/overlay/install_components/fix_netplan.sh | ||
source /tmp/overlay/install_components/post_build.sh | ||
|
||
echo "🍰 Rebuild starting..." | ||
|
@@ -40,14 +38,13 @@ set -e | |
prepare_build | ||
install_klipper | ||
install_moonraker "fluidd" | ||
install_nginx "fluidd" | ||
install_fluidd | ||
install_fluidd_nginx | ||
install_klipperscreen | ||
install_ustreamer | ||
install_bins | ||
install_autohotspot | ||
add_overlays | ||
fix_netplan | ||
post_build | ||
|
||
systemctl disable [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
install_nginx(){ | ||
UI=$1 | ||
echo "🍰 install Nginx" | ||
apt install -y nginx --no-install-suggests --no-install-recommends | ||
cp /tmp/overlay/nginx/upstreams.conf /etc/nginx/conf.d/ | ||
cp /tmp/overlay/nginx/common_vars.conf /etc/nginx/conf.d/ | ||
cp /tmp/overlay/nginx/"$UI" /etc/nginx/sites-available | ||
rm /etc/nginx/sites-enabled/default | ||
ln -s /etc/nginx/sites-available/"$UI" /etc/nginx/sites-enabled/"$UI" | ||
} |
Oops, something went wrong.