Skip to content

Commit

Permalink
mkosi-initrd: Remove /var from the initrd
Browse files Browse the repository at this point in the history
Fixes #3331
  • Loading branch information
DaanDeMeyer committed Jan 7, 2025
1 parent 0a63c4b commit 97d5ce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkosi/resources/mkosi-initrd/mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ RemoveFiles=
/usr/lib/modules/*/vmlinux*
/usr/lib/modules/*/System.map

# This file is not reproducible so let's remove it to increase reproducibility of initrds.
/var/cache/ldconfig/aux-cache
# No need for /var in the initrd.
/var/

# Configure locale explicitly so that all other locale data is stripped on distros whose package manager supports it.
Locale=C.UTF-8
Expand Down

0 comments on commit 97d5ce4

Please sign in to comment.