User Tools

Site Tools


build

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
build [2026/08/06 10:33] – created stevebuild [2026/08/07 18:57] (current) steve
Line 1: Line 1:
-<code> +<code bash Build.sh
-sudo apt install etckeeper tig git -y +#!/usr/bin/bash 
-sudo apt update && sudo apt upgrade -y && sudo apt autoremove && sudo reboot+# Run this script twice, after initial build, and then a second time after the reboot.
  
-curl -o 10-Update 'https://wiki.cyli.org/doku.php?do=export_code&id=auto_update_without_password&codeblock=0' +LOG="~/Build.log" 
-curl -o 10-Update.rules 'https://wiki.cyli.org/doku.php?do=export_code&id=auto_update_without_password&codeblock=1' +cd ~ 
-sudo chown root:root 10-Update* + 
-sudo chmod 0440 10-Update +if [[ ! -f "${LOG}" ]]; then 
-sudo chmod 0644 10-Update.rules  +    sudo apt install etckeeper tig git -y | tee -a ${LOG} 
-sudo mv 10-Update /etc/sudoers.d/ +    sudo apt update | tee -a ${LOG} && sudo apt upgrade -y | tee -a ${LOG} && sudo apt autoremove | tee -a ${LOG} && echo "Begin stage two after reboot" >> ${LOG} 
-sudo mv 10-Update.rules /etc/polkit-1/rules.d/+    sudo reboot 
 +fi 
 + 
 +sudo curl -o /etc/sudoers.d/10-Update 'https://wiki.cyli.org/doku.php?do=export_code&id=auto_update_without_password&codeblock=0' 
 +sudo chmod 0440 /etc/sudoers.d/10-Update 
 +sudo curl -o /etc/polkit-1/rules.d/10-Update.rules 'https://wiki.cyli.org/doku.php?do=export_code&id=auto_update_without_password&codeblock=1' 
 +sudo chmod 0644 /etc/polkit-1/rules.d/10-Update.rules 
  
-cd /tmp 
 for Font in anonymous_pro roboto_mono reddit_mono ; do for Font in anonymous_pro roboto_mono reddit_mono ; do
     wget -O ${Font}.zip "https://wiki.cyli.org/lib/exe/fetch.php?media=other:${Font}.zip"     wget -O ${Font}.zip "https://wiki.cyli.org/lib/exe/fetch.php?media=other:${Font}.zip"
Line 24: Line 29:
 sudo fwupdmgr refresh sudo fwupdmgr refresh
 sudo fwupdmgr update  ## Reboot after... sudo fwupdmgr update  ## Reboot after...
 +</code>
 +<code bash>
 +curl -o ~/Build.sh "https://wiki.cyli.org/doku.php?do=export_code&id=build&codeblock=0"
 +chmod a+x ~/Build.sh
 +~/Build.sh
 </code> </code>
build.1786012388.txt.gz · Last modified: by steve