mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
pragmatic system distribution guideline compliance
osboot is now part of libreboot, and will soon shut down. libreboot now conforms to osboot policy.
This commit is contained in:
@@ -23,46 +23,10 @@
|
||||
[ "x${DEBUG+set}" = 'xset' ] && set -v
|
||||
set -u -e
|
||||
|
||||
usage()
|
||||
{
|
||||
progname="./download memtest86plus"
|
||||
printf "Usage:\n"
|
||||
printf "\t%s # %s\n" \
|
||||
"${progname}" \
|
||||
"Download MemTest86+"
|
||||
printf "\t%s --help # %s\n" \
|
||||
"${progname}" \
|
||||
"Prints this help"
|
||||
}
|
||||
|
||||
if [ $# -ne 0 ] ; then
|
||||
usage
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Get the last version of MemTest86+ used, apply patches, build it.
|
||||
|
||||
# Remove the old version that may exist
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
printf "Downloading MemTest86+\n"
|
||||
|
||||
rm -Rf "memtest86plus/"
|
||||
|
||||
git clone https://review.coreboot.org/memtest86plus.git
|
||||
|
||||
(
|
||||
cd "memtest86plus/"
|
||||
git reset --hard a78401b9704cfdd49c89bfb31d2df08f60521d0b
|
||||
|
||||
for patchfile in ../resources/memtest86plus/patch/*; do
|
||||
if [ ! -f "${patchfile}" ]; then
|
||||
continue
|
||||
fi
|
||||
git am "${patchfile}"
|
||||
done
|
||||
|
||||
rm -Rf .git*
|
||||
)
|
||||
|
||||
printf "\n\n"
|
||||
./download gitmodule memtest86plus
|
||||
|
||||
Reference in New Issue
Block a user