summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-09 06:28:58 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-09 06:28:58 (EST)
commit7b35d96e2b33a144d9d3e301372cf9cb4fda1b28 (patch)
treed86f2800e56bc4e4f8d27def31020ae290aaae74
parent2d9a925796baabff4c77be986de2df5c5ea1c165 (diff)
downloadlibreboot-7b35d96e2b33a144d9d3e301372cf9cb4fda1b28.zip
libreboot-7b35d96e2b33a144d9d3e301372cf9cb4fda1b28.tar.gz
libreboot-7b35d96e2b33a144d9d3e301372cf9cb4fda1b28.tar.bz2
build-release: Separate ROM images into individual archives
ROM images are no longer included in libreboot_util.tar.xz (formerly libreboot_bin.tar.xz), but are now instead distributed in separate archives for each board configuration.
-rw-r--r--.gitignore13
-rwxr-xr-xbuild-release17
2 files changed, 24 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index f3fc71e..5ca1194 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,7 +9,18 @@
/seabios/
/powertop/
/libreboot_src.tar.xz
-/libreboot_bin.tar.xz
+/libreboot_util.tar.xz
+/libreboot_macbook21.tar.xz
+/libreboot_qemu_i440fx_piix4.tar.xz
+/libreboot_qemu_q35_ich9.tar.xz
+/libreboot_r400_4mb.tar.xz
+/libreboot_r400_8mb.tar.xz
+/libreboot_t60.tar.xz
+/libreboot_x200_4mb.tar.xz
+/libreboot_x200_8mb.tar.xz
+/libreboot_x60.tar.xz
+/libreboot_util/
+/libreboot_src/
/resources/utilities/ich9deblob/factory.rom
/resources/utilities/ich9deblob/deblobbed_descriptor.bin
/resources/utilities/ich9deblob/libreboot.rom
diff --git a/build-release b/build-release
index 4828359..0cdcb97 100755
--- a/build-release
+++ b/build-release
@@ -46,6 +46,7 @@ fi
echo "Deleting old release archives"
rm -f libreboot_*.tar.xz
+rm -f tobuild.tar.xz
# Get manifest which will be used to copy everything
find -maxdepth 1 > releasefilelist
@@ -122,6 +123,17 @@ cd ../
cd ../
+# ### Prepare ROM archives ready for release
+# ----------------------------------------------------------------------------------------------------------------------------
+
+cd bin/
+for board in $(ls)
+do
+ # create lzma compressed src archive
+ tar cfJ ../libreboot_"$board".tar.xz "$board"
+done
+cd ../
+
# ### Prepare libreboot_util archive ready for release
# ----------------------------------------------------------------------------------------------------------------------------
@@ -129,11 +141,6 @@ echo "Preparing libreboot_util release archive"
mkdir libreboot_util
-# ---------------------------------------
-# Include the ROM's in the binary archive
-# ---------------------------------------
-cp -r bin libreboot_util/
-
# ---------------
# SeaBIOS related
# ---------------