mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +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:
@@ -53,9 +53,9 @@ mkdir -p "${srcdir}/"
|
||||
|
||||
printf "%s" "${version}" > "${srcdir}"/version
|
||||
|
||||
modlist="coreboot flashrom grub memtest86plus seabios ich9utils"
|
||||
dirlist="resources"
|
||||
filelist="download build README.md COPYING Makefile update version versiondate projectname .gitcheck"
|
||||
modlist="coreboot flashrom grub memtest86plus seabios ich9utils me_cleaner"
|
||||
dirlist="resources" # do not add blobs directory here. it is handled below
|
||||
filelist="blobutil modify download build README.md COPYING Makefile update version versiondate projectname .gitcheck"
|
||||
|
||||
for modname in ${modlist}; do
|
||||
if [ ! -d "${modname}/" ]; then
|
||||
@@ -67,6 +67,19 @@ for dir in ${modlist} ${dirlist}; do
|
||||
cp -R "${dir}/" "${srcdir}/"
|
||||
done
|
||||
|
||||
mkdir -p "${srcdir}"/blobs
|
||||
# do not copy intel ME etc, but do copy ifd/gbe files
|
||||
for i in t440p w541 xx20 xx30; do
|
||||
for j in ifd gbe 16_ifd; do
|
||||
if [ -f "blobs/${i}/${j}.bin"]; then
|
||||
if [ ! -e "${srcdir}/blobs/${i}" ]; then
|
||||
mkdir -p "${srcdir}/blobs/${i}"
|
||||
fi
|
||||
cp blobs/${i}/${j}.bin "${srcdir}/blobs/${i}"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
for i in ${filelist}; do
|
||||
if [ ! -f "${i}" ]; then
|
||||
printf "build/release/src: ERROR: file '%s' does not exist.\n" "${i}"
|
||||
|
||||
Reference in New Issue
Block a user