QA tweaks - use a single os type source mainly (drop get_os, use HOST_OS)

This commit is contained in:
fsgqa
2004-06-16 06:08:04 +00:00
parent 4237cdb1c1
commit 562962e6b1
7 changed files with 5 additions and 78 deletions
-9
View File
@@ -157,9 +157,6 @@ timestamp=${TIMESTAMP:=false}
[ -f check.time ] || touch check.time
_get_os
if [ $os == "linux" ]; then
FULL_FSTYP_DETAILS=`_full_fstyp_details`
FULL_HOST_DETAILS=`_full_platform_details`
FULL_MKFS_OPTIONS=`_scratch_mkfs_options`
@@ -172,12 +169,6 @@ MKFS_OPTIONS -- $FULL_MKFS_OPTIONS
MOUNT_OPTIONS -- $FULL_MOUNT_OPTIONS
EOF
fi
#Linux specific flag '-f'
if [ $os == "linux" ]; then
flag='-f'
fi
umount $SCRATCH_DEV 2>/dev/null
# call the overridden mkfs.xfs - make sure the FS is built