Skip to content

An update script that targets pacman, paccache, flatpak and grub to update a system and reboot

Notifications You must be signed in to change notification settings

gloatoriginal/arch_update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAUTION This does remove modules related to nvidia on the current kernel running, these should load back once the new kernel/env has loaded. I did this with -f in order to work with new kernels after update as nvidia was having trouble in those instances with removing itself before kexec.

This is for people that are lazy and like to have a system that lives on the true edge, set the update.sh on a cronjob that executes that bad boy daily, weekly, monthly, or heck, even hourly, I won't judge. Some basic instructions for anyone that wants that:

Auto Install

I have attempted at setting up a "oneshot" script, bootstrap.sh that should handle everything besides setting a crontab to automatically run, that is up to you.

git clone https://github.com/gloatoriginal/arch_update && chmod +x ./arch_update/bootstrap.sh && ./arch_update/bootstrap.sh

Manual Install

  1. Copy the 3 files in some way, git is the recommended approach

git clone https://github.com/gloatoriginal/arch_update

  1. Set update.sh anywhere you like, preferably somewhere that is easy to type out

chmod +x /path/to/update.sh

  1. Install or use cronjob, on Arch I use Cronie,

sudo pacman -S cronie && sudo systemctl enable --now cronie

  1. Use https://crontab.guru/ for help with timings setup a cronjob with

crontab -e

  1. copy [email protected] and unmodeset.service to /etc/systemd/system/
  2. Enable unmodeset.service with

sudo systemctl enable unmodeset.service

About

An update script that targets pacman, paccache, flatpak and grub to update a system and reboot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages