You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd CloverBootloader and ../edksetup.sh fails (obviously)
alex@alex-desktop:~/Desktop/CloverBootloader$ ../edksetup.sh
bash: ../edksetup.sh: No such file or directory
but there is a local file named edksetup.sh, and we can execute it with ./edksetup.sh
alex@alex-desktop:~/Desktop/CloverBootloader$ ./edksetup.sh
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 87: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 63: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 64: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 65: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 66: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 63: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 64: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 65: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 66: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 71: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 72: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 73: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 74: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 75: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 76: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
/home/alex/Desktop/CloverBootloader/BaseTools/BuildEnv: line 77: /home/alex/Desktop/CloverBootloader/Conf/BuildEnv.sh: No such file or directory
WORKSPACE: /home/alex/Desktop/CloverBootloader
EDK_TOOLS_PATH: /home/alex/Desktop/CloverBootloader/BaseTools
CONF_PATH: /home/alex/Desktop/CloverBootloader/Conf
Copying $EDK_TOOLS_PATH/Conf/build_rule.template
to /home/alex/Desktop/CloverBootloader/Conf/build_rule.txt
cp: cannot create regular file '/home/alex/Desktop/CloverBootloader/Conf/build_rule.txt': No such file or directory
Copying $EDK_TOOLS_PATH/Conf/tools_def.template
to /home/alex/Desktop/CloverBootloader/Conf/tools_def.txt
cp: cannot create regular file '/home/alex/Desktop/CloverBootloader/Conf/tools_def.txt': No such file or directory
Copying $EDK_TOOLS_PATH/Conf/target.template
to /home/alex/Desktop/CloverBootloader/Conf/target.txt
cp: cannot create regular file '/home/alex/Desktop/CloverBootloader/Conf/target.txt': No such file or directory
./edksetup.sh: line 149: return: can only `return' from a function or sourced script
But it complains here is no Conf directory. So let's create it manually since the script seems to just copy files to that folder
alex@alex-desktop:~/Desktop/CloverBootloader$ ./edksetup.sh
WORKSPACE: /home/alex/Desktop/CloverBootloader
EDK_TOOLS_PATH: /home/alex/Desktop/CloverBootloader/BaseTools
CONF_PATH: /home/alex/Desktop/CloverBootloader/Conf
Copying $EDK_TOOLS_PATH/Conf/build_rule.template
to /home/alex/Desktop/CloverBootloader/Conf/build_rule.txt
Copying $EDK_TOOLS_PATH/Conf/tools_def.template
to /home/alex/Desktop/CloverBootloader/Conf/tools_def.txt
Copying $EDK_TOOLS_PATH/Conf/target.template
to /home/alex/Desktop/CloverBootloader/Conf/target.txt
./edksetup.sh: line 149: return: can only `return' from a function or sourced script
This worked.
Next to build - fails with missing python3-distutils
alex@alex-desktop:~/Desktop/CloverBootloader$ ./ebuild.sh -fr
TOOLCHAIN_DIR: /usr
NASM_PREFIX: /usr/bin/
NASM_VER: 2.14.02
Initializing workspace
recreate Conf folder
WORKSPACE: /home/alex/Desktop/CloverBootloader
EDK_TOOLS_PATH: /home/alex/Desktop/CloverBootloader/BaseTools
CONF_PATH: /home/alex/Desktop/CloverBootloader/Conf
Copying $EDK_TOOLS_PATH/Conf/build_rule.template
to /home/alex/Desktop/CloverBootloader/Conf/build_rule.txt
Copying $EDK_TOOLS_PATH/Conf/tools_def.template
to /home/alex/Desktop/CloverBootloader/Conf/tools_def.txt
Copying $EDK_TOOLS_PATH/Conf/target.template
to /home/alex/Desktop/CloverBootloader/Conf/target.txt
Building tools as they are not found
make: Entering directory '/home/alex/Desktop/CloverBootloader/BaseTools'
make -C Source/C
make[1]: Entering directory '/home/alex/Desktop/CloverBootloader/BaseTools/Source/C'
Attempting to detect HOST_ARCH from 'uname -m': x86_64
Detected HOST_ARCH of X64 using uname.
mkdir -p .
mkdir ./libs
make -C Common
make[2]: Entering directory '/home/alex/Desktop/CloverBootloader/BaseTools/Source/C/Common'
gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 BasePeCoff.c -o BasePeCoff.o
...
...
...
make[1]: Entering directory '/home/alex/Desktop/CloverBootloader/BaseTools/Tests'
Python reported: "No module named 'distutils.util"
make[1]: *** [GNUmakefile:11: test] Error 1
make[1]: Leaving directory '/home/alex/Desktop/CloverBootloader/BaseTools/Tests'
make: *** [GNUmakefile:19: Tests] Error 2
make: Leaving directory '/home/alex/Desktop/CloverBootloader/BaseTools'
Installed python3-distutils (i did using synaptic, but apt install python3-distutils would also work.
now the build was successful:
...
[NASM] boot1xalt.s -> /home/alex/Desktop/CloverBootloader/CloverPackage/CloverV2/BootSectors/boot1xalt
'Description.txt' -> '/home/alex/Desktop/CloverBootloader/CloverPackage/CloverV2/BootSectors/Description.txt'
'Installation.txt' -> '/home/alex/Desktop/CloverBootloader/CloverPackage/CloverV2/BootSectors/Installation.txt'
make: Leaving directory '/home/alex/Desktop/CloverBootloader/BootHFS'
Done!
* Clover build process took 2m12s to complete.
I am not sure if my solution is the correct one, but I can raise a PR with these changes later.
The text was updated successfully, but these errors were encountered:
Following exact instructions from the README:
Git Clone ok.
cd CloverBootloader and
../edksetup.sh
fails (obviously)but there is a local file named
edksetup.sh
, and we can execute it with./edksetup.sh
But it complains here is no
Conf
directory. So let's create it manually since the script seems to just copy files to that folderRun again
This worked.
Next to build - fails with missing
python3-distutils
Installed
python3-distutils
(i did using synaptic, butapt install python3-distutils
would also work.now the build was successful:
I am not sure if my solution is the correct one, but I can raise a PR with these changes later.
The text was updated successfully, but these errors were encountered: