Skip to content

Commit

Permalink
[packaging] Allow parsing rpm spec without installed kernel modules
Browse files Browse the repository at this point in the history
  • Loading branch information
rinigus committed Apr 30, 2021
1 parent f6b0294 commit 45425c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpm/droid-hal-device-img-dtbo.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
%define localver %(echo "%{kernelver}" | cut -d '-' -f1 | cut -d '+' -f1)
%define rel_date %(date +'%%Y%%m%%d%%H%%M')

%if "%{localver}" == ""
%define localver 0.0.1
%endif

Name: droid-hal-%{device}-img-dtbo
Summary: Device tree overlays image for %{device}
Version: %{localver}
Expand Down

0 comments on commit 45425c4

Please sign in to comment.