Changeset - 97d722d462d5
[Not reviewed]
0 1 0
x - 9 hours ago 2026-02-12 14:25:58
xbr@c3l.lu
add: llvm as dependency for building
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
build_script/freifunk_root.sh
Show inline comments
 
@@ -7,25 +7,25 @@ projects_c3l_pubkey="|1|X2M4bHKf8E+plhJ6KoDZzCfw5LI=|EpHLDWOmOq4SLelYTGd8SH+7hvU
 

	
 
log() {
 
    printf "\033[33m[-] %s\033[0m\n" "$@"
 
}
 

	
 
install_packages() {
 
    log "Installing packages..."
 

	
 
    apt update && apt upgrade -y
 
    # Installing QoL packages (1) then gluon deps (2)
 
    # ! Debian 13-specific !
 
    apt install -y htop tmux vim sudo mosh \
 
                git python3 python-is-python3 python3-setuptools build-essential ecdsautils gawk unzip libncurses5-dev zlib1g-dev libssl-dev libelf-dev wget rsync time qemu-utils
 
                git python3 python-is-python3 python3-setuptools build-essential llvm ecdsautils gawk unzip libncurses5-dev zlib1g-dev libssl-dev libelf-dev wget rsync time qemu-utils
 
}
 

	
 
create_user() {
 
    log "Creating user..."
 

	
 
    # user: forcing bash, and needs (passwordless) sudo
 
    useradd -ms /bin/bash -G sudo $username
 
    # enabling passwordless sudo
 
    sed -i /etc/sudoers -re 's/^%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g'
 
}
 

	
 
put_into_file() {
0 comments (0 inline, 0 general)