Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: xone-git #4222

Closed
wants to merge 3 commits into from
Closed

add: xone-git #4222

wants to merge 3 commits into from

Conversation

FelisDiligens
Copy link

Progress

  • Edit packagelist
  • Add initial pacscript
  • Contact devs
  • Add maintainer to pacscript

Description

xone is a Linux kernel driver (dkms) for Xbox One and Xbox Series X|S accessories. It makes it possible to use the official Xbox wireless adapter.

I tried to mostly replicate the behavior of the installation/uninstallation scripts from the original project, see:

See also:

I tested it locally on my Ubuntu 23.04 installation. (pacstall -I and -R)

First commit here, I hope I'm doing this right. ^^

@github-actions github-actions bot added the Package Add Use this to request a package to be added label Aug 15, 2023
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
packages/xone-git/xone-git.pacscript Outdated Show resolved Hide resolved
@FelisDiligens
Copy link
Author

Hi, it seems like the tests are failing, because it doesn't install the right kernel headers (linux-headers-generic)...

Error! Your kernel headers for kernel 5.15.0-1042-azure cannot be found.

Please install the linux-headers-5.15.0-1042-azure package or use the --kernelsourcedir option to tell DKMS where it's located.

dpkg: error processing package xone-git (--configure):
 installed xone-git package post-installation script subprocess returned error exit status 1

Should I add "linux-headers-$(uname -r)" to depends or optdepends?

@Elsie19
Copy link
Member

Elsie19 commented Aug 15, 2023

I've never had anyone package a kernel module so I don't really know 👀. Try either I guess..

@FelisDiligens
Copy link
Author

Sadly, the kernel headers for Azure aren't in most apt repositories:

 [*] WARNING: linux-headers-5.15.0-1042-azure does not exist in apt repositories

So the pacscript still fails to install in 10 out of 12 test cases. dkms stops dead in it's tracks.

I presume, this is because the tests run on Azure with custom Linux kernels instead of the generic (ubuntu) or common (debian) ones that come with a normal installation of these distros...

Sorry for the mess.
I'm not entirely sure what to do about it. :/
What do you think?

@Elsie19
Copy link
Member

Elsie19 commented Aug 19, 2023

Again, I've never dealt with kernel module pacscripts, so your guess is as good as mine.

@FelisDiligens
Copy link
Author

Hmm, ok. Well, since it doesn't seem to be possible to pass the tests (see also: community/discussions/28607), I'll close this PR now.
Thank you for your time! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package Add Use this to request a package to be added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants