5 Commits

Author SHA256 Message Date
Chris Bradbury
b940c69862 Accepting request 1086840 from home:chrBrd:branches:hardware
Change version to match upstream.

The upstream source doesn't have published releases, but it does include
a changelog for the accompanying Debian package. Using the version
specified in there is better than using the commit hash.

The version in the spec file and the source code filename have been
amended to match.

OBS-URL: https://build.opensuse.org/request/show/1086840
OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=6
2023-05-12 22:38:17 +00:00
Chris Bradbury
a9d3d65196 Accepting request 1086820 from home:chrBrd:branches:hardware
Amend services so package can be accepted into Factory.

In order for packages to be accepted into Factory:
> Services are only allowed if their mode is one of localonly, disabled,
> buildtime, manual. Please change the mode of obs_scm and use `osc service
> localrun/disabledrun`.

Therefore all services involved with retrieving source files from the
internet have had their mode set to `localonly`, and the relevant source
files have been added directly to this package.

OBS-URL: https://build.opensuse.org/request/show/1086820
OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=4
2023-05-12 20:54:02 +00:00
Chris Bradbury
cfbc2aae74 Accepting request 1086620 from home:chrBrd:branches:hardware
Add patch to enable successful builds for Leap 15.5.

The dma-buf symbols used by this driver were moved into their own `DMA_BUF`
module namespace in kernel 5.16. Consequently, the upstream source conditionally
imports the `DMA_BUF` module namespace if the kernel version is >= 5.16.

However, the `DMA_BUF` module namespace changes have been backported to the
5.14 kernel used in Leap 15.5, causing unpatched source builds to fail.

This change incorporates a patch that removes the conditional check in the
upstream source, importing the `DMA_BUF` module namespace regardless of kernel
version, and applies that patch when `sle_version` is equal to "150500"
(ie. is Leap 15.5 or greater).

The patch is taken from the PR at:
https://github.com/google/gasket-driver/pull/10

OBS-URL: https://build.opensuse.org/request/show/1086620
OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=3
2023-05-11 19:51:02 +00:00
Chris Bradbury
2cdcf2af12 Accepting request 1086606 from home:chrBrd:branches:hardware
Improve comments and make minor tidies.

OBS-URL: https://build.opensuse.org/request/show/1086606
OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=2
2023-05-11 19:08:36 +00:00
Michal Suchanek
353fe31252 Accepting request 1086510 from home:chrBrd
I want to maintain gasket-driver in Factory and would like to use "hardware" as the devel/feeder project.

OBS-URL: https://build.opensuse.org/request/show/1086510
OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=1
2023-05-11 13:12:19 +00:00