diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-19 14:44:45 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-19 14:44:45 -0600 |
| commit | 1e8f47ab558a289eb261c00ed535e4bbecafdecc (patch) | |
| tree | 1cdf71836aec6af546bdf06bf204f6efe3d45dcb | |
| parent | a99bf31a90f215b0d53b06b0982cf0bd2951ccdd (diff) | |
fix(archsetup): fix npm global install and add wireless-regdb
- Run npm install -g as root (global install requires root perms)
- Add wireless-regdb to prerequisites (prevents kernel regulatory warnings)
| -rwxr-xr-x | archsetup | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -483,6 +483,7 @@ install_gpu_drivers() { prerequisites() { # why these software packages are 'required' # linux-firmware - ensuring hardware can be detected properly + # wireless-regdb - regulatory database for wireless (prevents kernel warnings) # base_devel - required tools to compile # ca_certificates - for validation of keyrings, etc. # coreutils - comparing package lists @@ -514,7 +515,7 @@ prerequisites() { display "subtitle" "Required Software" - for software in linux-firmware base-devel ca-certificates \ + for software in linux-firmware wireless-regdb base-devel ca-certificates \ coreutils curl git go ntp openssh python \ stow tar vi zsh; do pacman_install "$software" @@ -1368,9 +1369,9 @@ developer_workstation () { pacman_install npm # Node-js package manager aur_install nvm # Node-js version manager - # AI coding assistant + # AI coding assistant (global install requires root) action="installing claude-code via npm" && display "task" "$action" - (sudo -u "$username" npm install -g @anthropic-ai/claude-code >> "$logfile" 2>&1) || \ + (npm install -g @anthropic-ai/claude-code >> "$logfile" 2>&1) || \ error "error" "$action" "$?" # HTML |
