This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
mkdir -p /var/cache/kerneltest | |
#Make a file system image for the VM, and mount it. | |
if [[ -e /var/cache/kerneltest/fs.img ]] | |
then | |
rm /var/cache/kerneltest/fs.img | |
fi | |
truncate -s 2G /var/cache/kerneltest/fs.img | |
mkfs.ext4 /var/cache/kerneltest/fs.img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Licence GPLv2 | |
# | |
#CharsToLettersMapping.csv | |
#CharsToLettersMapping.json | |
#files are not needed for this script, but they are generated for fixed usage, if you don't want to rely on parsing files from Unicode.org to make your own variant | |
# | |
function ConvertMvpText-ToScrubText($MVPText) | |
{ | |
#Try to be efficient in using files from Unicode.org | |
if ($Global:StrangeCharsToLettersMapping -eq $Null) |