summaryrefslogtreecommitdiff
path: root/resources/scripts/build/release/u-boot-libre
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2022-11-11 21:38:12 +0000
committerGogs <gogitservice@gmail.com>2022-11-11 21:38:12 +0000
commitb5c25efed46f0a9121023997c6758eda5c3f5017 (patch)
tree973bda08e84b61b8fee442a94db1bc62bd6d818a /resources/scripts/build/release/u-boot-libre
parentfbbb5bc616b08a5cd747735b0612fd0f0046c7fe (diff)
parent61ac6c3f0b26deadc2fb8355a8dd0d25b29baacd (diff)
Merge branch 'u-boot-chromebooks' of alpernebbi/lbmk into master
Diffstat (limited to 'resources/scripts/build/release/u-boot-libre')
-rwxr-xr-xresources/scripts/build/release/u-boot-libre10
1 files changed, 6 insertions, 4 deletions
diff --git a/resources/scripts/build/release/u-boot-libre b/resources/scripts/build/release/u-boot-libre
index a871aab7..8e0ce17c 100755
--- a/resources/scripts/build/release/u-boot-libre
+++ b/resources/scripts/build/release/u-boot-libre
@@ -5,6 +5,7 @@
#
# Copyright (C) 2020,2021 Leah Rowe <info@minifree.org>
# Copyright (C) 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+# Copyright (C) 2022 Alper Nebi Yasak <alpernebiyasak@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -23,10 +24,11 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-revision="r1"
+revision="r2"
supported_uboot_versions=" \
2021.07 \
+ 2022.07 \
"
topdir="$(realpath $(dirname $(realpath $0))/../../../../)"
@@ -101,7 +103,7 @@ release_deblobbed_uboot()
"${tarball}.xz"
mkdir -p "$(dirname ${tmpdir})"
- cp -R "u-boot/u-boot/" "${tmpdir}"
+ cp -R "u-boot/v${version}/" "${tmpdir}"
rm -rf ${tmpdir}/.git ${tmpdir}/.gitignore
make -C ${tmpdir} distclean
@@ -112,7 +114,7 @@ release_deblobbed_uboot()
--format=gnu \
--sort=name \
--owner=0 --group=0 --numeric-owner \
- --mtime="1970-01-01" \
+ --mtime="@${SOURCE_DATE_EPOCH:-0}" \
lzip -9 --keep -vv "${tarball}"
xz -9 --keep -vv "${tarball}"
@@ -170,7 +172,7 @@ release_uboot_deblob_script()
"${destination}.xz"
install -m 755 -d "${release_version_dir}"
- install -m 644 -T "${blobs_list}" "${destination}"
+ install -m 644 -T "${deblob_script}" "${destination}"
lzip -9 --keep -vv "${destination}"
xz -9 --keep -vv "${destination}"