mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 03:25:25 +02:00
hp820g2: fix vendorfile inject and set release=y
I believed that the compressed nature of refcode was the only non-reproducible thing, but turns out you also need to run rmodtool on the refcode to make the binary relocatable in cbfs. This is based on my reading of the coreboot Makefile. With this change, I can now provide release binaries for the HP EliteBook 820 G2. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+8
-4
@@ -84,10 +84,14 @@ check_coreboot_utils()
|
||||
|
||||
utilmode="" && [ -n "$mode" ] && utilmode="clean"
|
||||
x_ make -C "$utilsrcdir" $utilmode -j$XBMK_THREADS $makeargs
|
||||
[ -z "$mode" ] && [ ! -f "$utilelfdir/$util" ] && \
|
||||
x_ mkdir -p "$utilelfdir" && \
|
||||
x_ cp "$utilsrcdir/$util" "elf/$util/$1"
|
||||
[ -z "$mode" ] || x_ rm -Rf "$utilelfdir"; continue
|
||||
if [ -z "$mode" ] && [ ! -f "$utilelfdir/$util" ]; then
|
||||
x_ mkdir -p "$utilelfdir"
|
||||
x_ cp "$utilsrcdir/$util" "$utilelfdir"
|
||||
[ "$util" = "cbfstool" ] || continue
|
||||
x_ cp "$utilsrcdir/rmodtool" "$utilelfdir"
|
||||
elif [ -n "$mode" ]; then
|
||||
x_ rm -Rf "$utilelfdir"
|
||||
fi; continue
|
||||
done; return 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user