raspicommrs485 - arch linux package

Make a PKGBUILD? Submit it here for user review and possible placement into the repository.

raspicommrs485 - arch linux package

Postby mdk » Mon May 05, 2014 2:54 pm

Hi,

we've developed a piggy extension board for the raspberry pi that provides (among other things) an rs485 port.
I've wrote a kernel module so that the rs485 port is available as a tty device.

I've had a pre-built .deb package available for users of the raspbian distro for some time and last week I took a look at archlinux and I was very impressed with it's online resources especially it's wiki. :)

Even better, getting the kernel module to built was straight forward, so I was able to create an arch linux package that builds the module from the source (which is hosted at github) and uploaded it to the AUR webservice: https://aur.archlinux.org/packages/raspicommrs485/

tldr;
As I am new to archlinux in general I would be glad if a regular could take a quick look at the package / PKGBUILD file and point out any obvious mistakes I made.

Thank you!

Take care,
Martin
mdk
 
Posts: 2
Joined: Mon May 05, 2014 2:20 pm

Re: raspicommrs485 - arch linux package

Postby pepedog » Mon May 05, 2014 6:14 pm

It should be provides=('raspicommrs485')
Buildarch https://github.com/archlinuxarm/PKGBUILDs too
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: raspicommrs485 - arch linux package

Postby mdk » Tue May 06, 2014 6:37 am

Hi,

thank you for your feedback!

I've updated the PKGBUILD and added:
$this->bbcode_second_pass_code('', 'buildarch=16 # ARMv6 only, as it's a raspberry pi extension')
and changed provides:
$this->bbcode_second_pass_code('', 'provides=('raspicommrs485')')

Take care,
Martin
mdk
 
Posts: 2
Joined: Mon May 05, 2014 2:20 pm

Re: raspicommrs485 - arch linux package

Postby WarheadsSE » Tue May 06, 2014 12:59 pm

I think this will likely need to stay an AUR package for the time being, as the modules are locked to the kernel sources they are built to. Perhaps a dkms package?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to User-Submitted Packages

Who is online

Users browsing this forum: No registered users and 2 guests