From 78a4e96015af5fb81ffd26e4e338a1957934a905 Mon Sep 17 00:00:00 2001 From: Vendula Poncova Date: Fri, 6 Oct 2017 11:24:42 +0200 Subject: [PATCH] Add swaplabel command It is required by libblockdev. --- share/templates.d/99-generic/runtime-cleanup.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl index 0a6d9825..ee66b64d 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -314,7 +314,7 @@ removefrom util-linux --allbut \ /usr/bin/{dmesg,getopt,kill,login,lsblk,more,mount,umount,mountpoint,findmnt} \ /etc/mtab /etc/pam.d/login /etc/pam.d/remote \ /usr/sbin/{agetty,blkid,blockdev,clock,fdisk,fsck,fstrim,hwclock,losetup} \ - /usr/sbin/{mkswap,nologin,sfdisk,swapoff,swapon,wipefs,partx,fsfreeze} \ + /usr/sbin/{mkswap,swaplabel,nologin,sfdisk,swapoff,swapon,wipefs,partx,fsfreeze} \ /usr/bin/{logger,hexdump,flock} removefrom volume_key-libs /usr/share/locale/* removefrom wget /etc/* /usr/share/locale/*