Skip to content

Commit

Permalink
UBUNTU: [Packaging] quiet (nomially) benign errors in BUILD script
Browse files Browse the repository at this point in the history
Though the assembly errors we see in the linux-restricted-modules builds
themselves are benign (the .ko checksums are validated) the same erroneous
commands are not (always) benign in the final end-user installations.
Eliminate these extra commands in the final end-user BUILD script.

BugLink: https://bugs.launchpad.net/bugs/1919315
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
  • Loading branch information
Andy Whitcroft authored and Kleber Sacilotto de Souza committed Mar 17, 2021
1 parent 5f24fd5 commit bbe0901
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/scripts/dkms-build--nvidia-N
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ grep /usr/bin/ld.bfd "$log" | sed -e "s@$build/@@g" \
cp "$base/signatures/$package/"*".ko.sig" "$pkgdir/bits"
sha256sum -c "$base/signatures/$package/SHA256SUMS" || exit 1
sh ./CLEAN

sed -i '/objdump/d' ./BUILD

else
# We are in the main kernel, put the .kos together as we will
# on the users machine, sign them, and keep just the signature.
Expand Down

0 comments on commit bbe0901

Please sign in to comment.