feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-09-12 22:26:47 +01:00
parent 9e7c4c7ec8
commit ab7f45bc31
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
26 changed files with 53 additions and 111 deletions

View file

@ -10,15 +10,9 @@ include <tunables/global>
@{exec_path} = @{bin}/sfdisk
profile sfdisk @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/disks-write>
# Needed to avoid the following error:
# ioctl(3, BLKRRPART) = -1 EACCES (Permission denied)
#
# Checking that no-one is using this disk right now ... FAILED
# This disk is currently in use - repartitioning is probably a bad idea.
# Umount all file systems, and swapoff all swap partitions on this disk.
# Use the --no-reread flag to suppress this check.
capability sys_admin,
@{exec_path} mr,