mirror of
https://github.com/dev-sec/linux-baseline
synced 2025-02-16 09:48:25 +00:00
only disable SquashFS if it's not needed
Ubuntu Snaps need SquashFS so we cannot disable it easily. Instead we check for running Snap Service. Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
This commit is contained in:
parent
81ce2ab60c
commit
92cedeb529
1 changed files with 4 additions and 1 deletions
|
@ -254,7 +254,10 @@ control 'os-10' do
|
|||
its(:content) { should match 'install jffs2 /bin/true' }
|
||||
its(:content) { should match 'install hfs /bin/true' }
|
||||
its(:content) { should match 'install hfsplus /bin/true' }
|
||||
its(:content) { should match 'install squashfs /bin/true' }
|
||||
# Ubuntu Snaps need SquashFS to function
|
||||
unless service('snapd').running?
|
||||
its(:content) { should match 'install squashfs /bin/true' }
|
||||
end
|
||||
its(:content) { should match 'install udf /bin/true' }
|
||||
# if efi is active, do not disable vfat. otherwise the system
|
||||
# won't boot anymore
|
||||
|
|
Loading…
Add table
Reference in a new issue