Should the script enforce the requirement for a case-sensitive filesystem?
While kernel build workflow already offers appropriate guidance, I would have benefited from a script-enforced check. In a rush to build the kernel, I skipped over the following.
In README.md, the Usage section already directs the user to a case-sensitive filesystem.
git clone of a linux kernel source repo. to a filesystem that is not case-sensitive will return an error or warning.
Enforcement example:
touch casE.tmp case.tmp
case_sensitivity="$(find . -name 'cas*.tm*' 2>/dev/null | wc -l)"
rm -f 'cas*.tmp' || true
if [ "$case_sensitivity" != 2 ]
then
echo "Error. File system is not case sensitive.
Please use a case-sensitive file system."
exit 1
fi
Should the script enforce the requirement for a case-sensitive filesystem?
While kernel build workflow already offers appropriate guidance, I would have benefited from a script-enforced check. In a rush to build the kernel, I skipped over the following.
Enforcement example: