Prechádzať zdrojové kódy

It seems that we need these 2 options enabled for both aufs and devicemapper drivers when running on EXT4 - so test for them

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Sven Dowideit 10 rokov pred
rodič
commit
b7259dc6d4
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      contrib/check-config.sh

+ 2 - 2
contrib/check-config.sh

@@ -153,7 +153,7 @@ check_flags "${flags[@]}"
 echo '- Storage Drivers:'
 echo '- Storage Drivers:'
 {
 {
 	echo '- "'$(wrap_color 'aufs' blue)'":'
 	echo '- "'$(wrap_color 'aufs' blue)'":'
-	check_flags AUFS_FS | sed 's/^/  /'
+	check_flags AUFS_FS EXT4_FS_POSIX_ACL EXT4_FS_SECURITY | sed 's/^/  /'
 	if ! is_set AUFS_FS && grep -q aufs /proc/filesystems; then
 	if ! is_set AUFS_FS && grep -q aufs /proc/filesystems; then
 		echo "    $(wrap_color '(note that some kernels include AUFS patches but not the AUFS_FS flag)' bold black)"
 		echo "    $(wrap_color '(note that some kernels include AUFS patches but not the AUFS_FS flag)' bold black)"
 	fi
 	fi
@@ -162,7 +162,7 @@ echo '- Storage Drivers:'
 	check_flags BTRFS_FS | sed 's/^/  /'
 	check_flags BTRFS_FS | sed 's/^/  /'
 
 
 	echo '- "'$(wrap_color 'devicemapper' blue)'":'
 	echo '- "'$(wrap_color 'devicemapper' blue)'":'
-	check_flags BLK_DEV_DM DM_THIN_PROVISIONING EXT4_FS | sed 's/^/  /'
+	check_flags BLK_DEV_DM DM_THIN_PROVISIONING EXT4_FS EXT4_FS_POSIX_ACL EXT4_FS_SECURITY | sed 's/^/  /'
 } | sed 's/^/  /'
 } | sed 's/^/  /'
 echo
 echo