Skip to content

Commit

Permalink
feat: Update firmware
Browse files Browse the repository at this point in the history
Updates existing firmware to the latest tag in the kernel tree.

Co-authored-by: axtloss <[email protected]>
  • Loading branch information
matbme and axtloss authored May 31, 2024
1 parent 1918feb commit 31cf412
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 18 deletions.
51 changes: 35 additions & 16 deletions modules/05-firmware.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
name: input-and-locale
type: apt
source:
packages:
- firmware-linux
- firmware-linux-nonfree
- firmware-linux-free
- firmware-iwlwifi
- firmware-realtek
- firmware-atheros
- intel-microcode
- amd64-microcode
- b43-fwcutter
- firmware-b43-installer
- firmware-brcm80211
- firmware-sof-signed
name: divert-originals
type: shell
commands:
- find /usr/lib/firmware -type f -exec dpkg-divert --add --rename --divert '{}-old' '{}' \;
modules:
- name: dependencies
type: apt
source:
packages:
- curl
- rsync
- name: install-firmware
type: apt
source:
packages:
- firmware-linux
- firmware-linux-nonfree
- firmware-linux-free
- firmware-iwlwifi
- firmware-realtek
- firmware-atheros
- intel-microcode
- amd64-microcode
- b43-fwcutter
- firmware-b43-installer
- firmware-brcm80211
- firmware-sof-signed
- name: firmware-update
type: shell
commands:
- curl -O https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20240513.tar.gz
- tar xzf linux-firmware-20240513.tar.gz
- rsync -avHAX --existing linux-firmware-20240513/ /usr/lib/firmware/
- rm linux-firmware-20240513.tar.gz
- rm -rf linux-firmware-20240513
2 changes: 0 additions & 2 deletions modules/30-utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ source:
packages:
- nano
- zsync
- rsync
- dialog
- less
- curl
- tracker
- bash-completion
- libnss-myhostname

0 comments on commit 31cf412

Please sign in to comment.