Skip to content

Commit

Permalink
Build: Rework zip structure
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed May 3, 2019
1 parent a5a4754 commit 7aedc29
Showing 4 changed files with 28 additions and 9 deletions.
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
OpenCore Changelog
==================

#### v0.0.1
- Initial developer preview release
Binary file modified Docs/Configuration.pdf
Binary file not shown.
8 changes: 8 additions & 0 deletions Docs/Configuration.tex
Original file line number Diff line number Diff line change
@@ -495,6 +495,14 @@ \subsection{Contribution}\label{configuration-comp}
-Wno-unused-const-variable
\end{lstlisting}

\textbf{Warning}: Tool developers modifying \texttt{config.plist} or any other OpenCore
files must ensure that their tool checks for \texttt{opencore-version} NVRAM variable
(see \hyperref[miscdebugprops]{Debug Properties} section below) and warn the user
if the version listed is unsupported or prerelease. OpenCore configuration may change
across the releases and the tool shall ensure that it carefully follows this document.
Failure to do so may result in this tool to be considered as malware and blocked with
all possible means.

\section{ACPI}\label{acpi}

\subsection{Introduction}\label{acpiintro}
24 changes: 15 additions & 9 deletions macbuild.tool
Original file line number Diff line number Diff line change
@@ -40,15 +40,21 @@ package() {
selfdir=$(pwd)
pushd "$1" || exit 1
rm -rf tmp || exit 1
mkdir -p tmp
cp OpenCore.efi tmp || exit 1
cp BOOTx64.efi tmp || exit 1
cp "${selfdir}/Docs/Configuration.pdf" tmp || exit 1
cp "${selfdir}/Docs/Sample.plist" tmp || exit 1
cp "${selfdir}/UDK/OcSupportPkg/Tools/RsaTool/RsaTool" tmp || exit 1
cp "${selfdir}/UDK/OcSupportPkg/Tools/Vault/create_vault.sh" tmp || exit 1
cp "${selfdir}/UDK/OcSupportPkg/Tools/Recovery/obtain_recovery.php" tmp || exit 1
cp "${selfdir}/UDK/OcSupportPkg/Tools/Recovery/recovery_urls.txt" tmp || exit 1
mkdir -p tmp/OC || exit 1
mkdir -p tmp/BOOT || exit 1
mkdir -p tmp/Docs/AcpiSamples || exit 1
mkdir -p tmp/Tools || exit 1
cp OpenCore.efi tmp/OC/ || exit 1
cp BOOTx64.efi tmp/BOOT/ || exit 1
cp "${selfdir}/Docs/Configuration.pdf" tmp/Docs/ || exit 1
cp "${selfdir}/Docs/Sample.plist" tmp/Docs/ || exit 1
cp "${selfdir}/Docs/SampleFull.plist" tmp/Docs/ || exit 1
cp "${selfdir}/Changelog.md" tmp/Docs/ || exit 1
cp -r "${selfdir}/Docs/AcpiSamples/" tmp/Docs/AcpiSamples/ || exit 1
cp "${selfdir}/UDK/OcSupportPkg/Tools/RsaTool/RsaTool" tmp/Tools/ || exit 1
cp "${selfdir}/UDK/OcSupportPkg/Tools/Vault/create_vault.sh" tmp/Tools/ || exit 1
cp "${selfdir}/UDK/OcSupportPkg/Tools/Recovery/obtain_recovery.php" tmp/Tools/ || exit 1
cp "${selfdir}/UDK/OcSupportPkg/Tools/Recovery/recovery_urls.txt" tmp/Tools/ || exit 1
pushd tmp || exit 1
zip -qry ../"OpenCore-v${ver}-${2}.zip" * || exit 1
popd || exit 1

0 comments on commit 7aedc29

Please sign in to comment.