Skip to content

Commit

Permalink
sys-boot/grub: Make sed silently fail when updating sbat
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu Tortuyaux <[email protected]>
  • Loading branch information
sayanchowdhury and tormath1 committed Jan 19, 2024
1 parent d3e68b7 commit 5f79e6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ src_install() {
dostrip -x /usr/lib/grub

dodir /usr/share/grub
sed -e "s/@@UPSTREAM_VERSION@@/${PV}/" -e "s/@@VERSION@@/${PVR}/" "${FILESDIR}"/sbat.csv.in >"${ED}/usr/share/grub/sbat.csv"
sed -e "s/@@UPSTREAM_VERSION@@/${PV}/" -e "s/@@VERSION@@/${PVR}/" "${FILESDIR}"/sbat.csv.in >"${ED}/usr/share/grub/sbat.csv" || die

}

Expand Down

0 comments on commit 5f79e6c

Please sign in to comment.