Skip to content
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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ build-barebone
build-mainsail
build-fluidd
build-octoprint
images
images

# Personal first-boot customization scripts - not meant to be shared/committed.
user_scripts/
2 changes: 2 additions & 0 deletions armbian/customize-image-fluidd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ 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/plymouth.sh
source /tmp/overlay/install_components/recore_binaries.sh
source /tmp/overlay/install_components/ustreamer.sh
source /tmp/overlay/install_components/autohotspot.sh
Expand All @@ -45,6 +46,7 @@ install_moonraker "fluidd"
install_nginx "fluidd"
install_fluidd
install_klipperscreen
install_plymouth
install_ustreamer
install_bins
install_autohotspot
Expand Down
2 changes: 2 additions & 0 deletions armbian/customize-image-mainsail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ source /tmp/overlay/install_components/moonraker.sh
source /tmp/overlay/install_components/nginx.sh
source /tmp/overlay/install_components/mainsail.sh
source /tmp/overlay/install_components/klipperscreen.sh
source /tmp/overlay/install_components/plymouth.sh
source /tmp/overlay/install_components/recore_binaries.sh
source /tmp/overlay/install_components/ustreamer.sh
source /tmp/overlay/install_components/autohotspot.sh
Expand All @@ -44,6 +45,7 @@ install_moonraker "mainsail"
install_nginx "mainsail"
install_mainsail
install_klipperscreen
install_plymouth
install_ustreamer
install_bins
install_autohotspot
Expand Down
2 changes: 2 additions & 0 deletions armbian/customize-image-octoprint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ HOMEDIR="/home/${USER}"
source /tmp/overlay/install_components/klipper.sh
source /tmp/overlay/install_components/octoprint.sh
source /tmp/overlay/install_components/toggle.sh
source /tmp/overlay/install_components/plymouth.sh
source /tmp/overlay/install_components/recore_binaries.sh
source /tmp/overlay/install_components/autohotspot.sh
source /tmp/overlay/install_components/auto_disable_ssh.sh
Expand All @@ -42,6 +43,7 @@ install_klipper
install_octoprint
install_weston
install_toggle
install_plymouth
install_ustreamer
install_bins
install_autohotspot
Expand Down
5 changes: 0 additions & 5 deletions armbian/recore.csc
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,3 @@ function format_partitions__make_boot_ro() {
sed -i -E 's:/boot ext4 defaults,commit=[0-9]+,errors=remount-ro:/boot ext4 ro,defaults:' $SDCARD/etc/fstab
}

#function extension_finish_config__enable_plymouth() {
# echo "🍰Enable Plymouth on minimal build"
# PLYMOUTH=yes
#}

2 changes: 0 additions & 2 deletions rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ cp armbian/customize-image-"${VERSION}".sh "${BUILD_DIR}"/userpatches/customize-
cp armbian/recore.csc "${BUILD_DIR}"/config/boards
rm -f "${BUILD_DIR}/patch/u-boot/u-boot-sunxi/allwinner-boot-splash.patch"

cp armbian/watermark.png "${BUILD_DIR}"/packages/plymouth-theme-armbian/watermark.png

mkdir -p "${BUILD_DIR}"/userpatches/overlay/rebuild/
echo "${NAME}" >"${BUILD_DIR}"/userpatches/overlay/rebuild/rebuild-version
echo "${TAG}" >"${BUILD_DIR}"/userpatches/overlay/rebuild/rebuild-tag
Expand Down
14 changes: 14 additions & 0 deletions userpatches/overlay/install_components/plymouth.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

install_plymouth() {
echo "🍰 install Plymouth"
apt install -y plymouth plymouth-themes

# Use Recore's own watermark as the spinner theme's logo. The
# theme's default WatermarkVerticalAlignment (.96) puts it right
# near the bottom of the screen - center it instead.
cp /tmp/overlay/plymouth/watermark.png /usr/share/plymouth/themes/spinner/watermark.png
sed -i 's/^WatermarkVerticalAlignment=.*/WatermarkVerticalAlignment=.5/' /usr/share/plymouth/themes/spinner/spinner.plymouth

plymouth-set-default-theme -R spinner
}
1 change: 1 addition & 0 deletions userpatches/overlay/install_components/toggle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ EOF
cat > /etc/systemd/system/weston.service <<EOF
[Unit]
Description=Weston Wayland Compositor
After=plymouth-quit-wait.service

[Service]
Environment="XDG_RUNTIME_DIR=/tmp"
Expand Down
File renamed without changes