Package Details: backports-patched 4.4.2_1-7

Git Clone URL: https://aur.archlinux.org/backports-patched.git (read-only)
Package Base: backports-patched
Description: Backports provides drivers released on newer kernels backported for usage on older kernels. Patched flavor
Upstream URL: https://backports.wiki.kernel.org/index.php/Main_Page
Licenses: GPL
Submitter: swiftgeek
Maintainer: swiftgeek
Last Packager: swiftgeek
Votes: 13
Popularity: 0.177474
First Submitted: 2013-06-13 11:52
Last Updated: 2016-03-29 04:34

Latest Comments

swiftgeek commented on 2016-03-29 04:34

TODO: Add signature checking

rbellamy commented on 2015-12-11 17:51

backports-frag+ack does not exist and is therefore not a valid dependency, optional or otherwise.

swiftgeek commented on 2015-11-22 00:45

@Durag
_kernelname is a good idea indeed, but linux isn't providing linux-ARCH. I made some assocative array stub to work with that, from googled `uname -r` results for grsec and ck, so not sure if they are actually proper ones.
Also read/bookmark this: http://tldp.org/LDP/abs/html/string-manipulation.html

As for the patch - just make another package providing this patch just like https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=backports-patches-git , though please pick some better name for package like backports-patch-whatever , and include googleable patch name in description.

Durag commented on 2015-11-16 00:46

I'm using a customized version of the linux-grsec kernel and had some problems to compile this package.

I had to fix the name for the linux-headers and extramodules and add add a patch for backport-includes/linux/debugfs.h

The patch for debugfs.h is by Hauke Mehrtens (maintainer of the Linux Backports Project). I found it on the OpenWrt dev site: https://dev.openwrt.org/browser/trunk/package/kernel/mac80211/patches/020-backports-do-not-add-debugfs_create_devm_seqfile-on-.patch?rev=46492

You can find my patchfile for the PKGBUILD it at http://pastebin.com/WAHDzTRB

t3kk3n commented on 2015-05-15 06:40

Just a heads up for those interested, I have created a PKGBUILD for the working patch set that I use with backports-patched, located here - https://aur.archlinux.org/packages/backports-patches-git/

swiftgeek commented on 2015-04-29 23:01

Looks like the RSS page broke itself, though it 4.x backports have been released just yesterday
https://www.kernel.org/pub/linux/kernel/projects/backports/stable/
(Please write something like that in future when status/dl page changes)

swiftgeek commented on 2015-01-14 03:58

Added an error message in case of somebody forgetting about how `dialog` works

swiftgeek commented on 2015-01-14 02:57

In `dialog` you select menu option with space and accept whole dialog with enter…

I guess i need to also add such basic information to PKGBUILD if "" is detected -.-

TheProgramm3r commented on 2015-01-13 23:33

During the build process, the build() fails with:

==> Starting build()...
==> WARNING: Config undetected
Press [i] to start interactive config in 10 second(s)
-> Chosen to configure with ""
Break out from the PKGBUILD
==> ERROR: A failure occurred in build().
Aborting...

Any idea?

swiftgeek commented on 2014-09-07 17:51

This in makedeps » "linux-headers>=$_shortkernver" « seems to be a bug … but not sure. Can anyone confirm (on older/lts kernel) ?

swiftgeek commented on 2014-09-07 17:50

This in makedeps » "linux-headers>=$_shortkernver" « seems to be a bug … but not sure. Can anyone confirm (on older/lts kernel)

swiftgeek commented on 2014-09-07 17:45

Providing URL to eg. https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.16.2/sha256sums.asc is the best way to do it

t3kk3n commented on 2014-09-05 12:43

Updated PKGBUILD for 3.16 - https://gist.github.com/t3kk3n/bf2544fe7efc79519da9

(Only the version number and checksum are different, did it for ease of use this way)

t3kk3n commented on 2014-06-20 08:39

The udev directory has been removed from the 3.15.1 backports branch, I updated the PKGBUILD to reflect the changes: https://gist.github.com/t3kk3n/9a2f1afd561b34669be4 (not sure if this is permanent)

The patch for Makefile.real had to be modified, as well as removing the three entries in the install section.

swiftgeek commented on 2014-06-20 07:25

v3.16-rc1 is now available

honestly commented on 2014-06-05 10:55

I just realised I think I misread 3.14.5 as 3.15.

honestly commented on 2014-06-05 10:45

Thanks for responding - I tried to use 3.15-rc1, but I don't know how to fix the patchsets. Patching fails for the first patch for Makefile.real.

swiftgeek commented on 2014-06-05 06:50

3.15 have not came out yet, though rc1 is available http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.15-rc1/

honestly commented on 2014-06-05 06:38

This package needs to be updated for kernel 3.15.

swiftgeek commented on 2014-04-16 21:59

I guess it should work now, with responsibility on the user - checking for conflicting defconfigs is beyond my knowledge about KConfig (again i think this is more of an upstream bug)

swiftgeek commented on 2014-04-16 21:04

There is also either upstream error with interpreting multiple defconfigs or i have no idea how to pass this to make …

I could always cat chosen defconfigs … maybe this will help but definitely this seems to be an upstream error

swiftgeek commented on 2014-04-16 19:24

I plan on getting out "/etc/makepkg.d/*" to separate package with common functions for all pkgbuilds and then documenting it… also it will be working more similar to gen2/emerge and its flags
————
Confirming major fail in my PKGBUILD, missing pair of "()" so output of dialog wasn't considered as array

swiftgeek commented on 2014-04-16 19:23

I plan on getting out "/etc/makepkg.d/*" to separate package with common functions for all pkgbuilds and then documenting it… also it will be working more similar to gen2/emerge and its flags
————
Confirming mayor fail in my PKGBUILD, missing pair of "()" so output of dialog wasn't considered as array

bl4rk commented on 2014-04-16 19:02

Ahh, thanks for the pointer. Maybe that should be put in as a comment in the PKGBUILD? Or perhaps even a dependency?

Also, building fails if you select more than one driver for some reason. I've got a few cards I'd like to build this for...

swiftgeek commented on 2014-04-16 06:51

Yes, if there is no config You can always enter interactive mode as long as you have "dialog" package installed

bl4rk commented on 2014-04-16 03:49

This is not building for me, is there some config I need to do first?

When I try to enter interactive mode it just fails to build.

swiftgeek commented on 2014-04-15 13:18

Soon to be updated (just version bump)

swiftgeek commented on 2013-12-27 22:06

Fixed dialog issues in interactive part (keep-tite)

swiftgeek commented on 2013-11-14 21:55

swiftgeek commented on 2013-11-14 21:51

3.12-1 is just out http://drvbp1.linux-foundation.org/~mcgrof/rel-html/backports/

swiftgeek commented on 2013-08-23 10:01

Only the interactive part which is optional

Anonymous comment on 2013-08-23 08:59

Package build has depended also on "dialog" package

swiftgeek commented on 2013-08-20 09:34

>i hope that makefile.real is fixed now…
nope :<

swiftgeek commented on 2013-07-30 17:55

New backports version was (3.11) just released … i hope that makefile.real is fixed now…

swiftgeek commented on 2013-07-28 00:39

TODO: Some readme1st as a preface to interactive w8 or option in menu
TODO: Permanent config save after interactive config

swiftgeek commented on 2013-07-14 00:11

Patch for Makefile.real will be probably needed cuz without lines below modules_install install passes gracefully

swiftgeek commented on 2013-07-13 23:39

Install stage and permanent config (now oldconfig and defconfig) are still on my TODO :<

But you are welcome to test&&debug stages earlier than install / fix install for me :D

swiftgeek commented on 2013-07-13 21:47

// no release for 3.10 - stable 3.10 is almost only renamed rc1 -.- //

Fixed in http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.10/backports-3.10-2.tar.xz , almost all defconfigs are here

swiftgeek commented on 2013-07-13 11:41

no release for 3.10 - stable 3.10 is almost only renamed rc1 -.-

swiftgeek commented on 2013-07-13 11:30

http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.10/backports-3.10-1.tar.bz2

Finally released -.-

swiftgeek commented on 2013-07-01 19:12

@d3x it's written in comments below that it doesn't work and needs dev's help :<
why spamming ?

backports still haven't released new stable/rc (it would include fix-ups described in comments below)
I will try to package it preliminary (no udev scripts etc) on weekend from latest snapshot

d3x commented on 2013-07-01 17:43

[root@hotspot backports-patched]# makepkg --asroot -s
==> Making package: backports-patched 3.10_rc1_2-4 (Mon Jul 1 10:40:46 PDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading backports-3.10-rc1-2.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 178 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 9367k 100 9367k 0 0 204k 0 0:00:45 0:00:45 --:--:-- 349k
==> Validating source files with sha256sums...
backports-3.10-rc1-2.tar.xz ... Passed
==> Extracting sources...
-> Extracting backports-3.10-rc1-2.tar.xz with bsdtar
==> Starting prepare()...
==> Starting build()...
Generating local configuration database from kernel ... done.
/--------------
| Your backport package isn't configured, please configure it
| using one of the following options:
| To configure manually:
| make oldconfig
| make menuconfig
|
| To get defaults for certain drivers:
| make defconfig-drm
| make defconfig-iwlwifi
| make defconfig-media
| make defconfig-nfc
| make defconfig-regulator
| make defconfig-rtlwifi
\--
make[2]: *** [.config] Error 1
make[1]: *** [modules] Error 2
make: *** [default] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[root@hotspot backports-patched]#

swiftgeek commented on 2013-06-22 16:47

make defconfig-<driver name> based on ENV or /etc/makepkg.d/$pkgname/something instead of make menuconfig or older scripts/driver-select (this works on version never than rc1 --- rc1 contains only very few of those options, but it will be better than driver-select in future ;) )

"Thirdly, Makefile.real needs to be patched (specifically the install: modules section) to remove the execution of the scripts as pacman does that on install."
this is going to be usefull

"Ok. I have been trying to figure this out literally all afternoon, and I think I’ve finally gotten it to work. Firstly, a few of the scripts to be installed (enable,disable,modlib.sh etc) no longer exist in the backports scripts/ directory so they should be removed from package(). "

I know that, but is it safe to remove? (i mean is functionality of this package going to be the same/comparable as of compat-drivers? )

zoqaeski commented on 2013-06-22 14:56

Ok. I have been trying to figure this out literally all afternoon, and I think I’ve finally gotten it to work. Firstly, a few of the scripts to be installed (enable,disable,modlib.sh etc) no longer exist in the backports scripts/ directory so they should be removed from package(). Secondly, build() needs to call `make menuconfig` or similar so you can select what drivers to build, as backports no longer contains scripts/driver-select, and copying it into the scripts dir from another version doesn’t quite work (I got various errors). Thirdly, Makefile.real needs to be patched (specifically the install: modules section) to remove the execution of the scripts as pacman does that on install.

There’s probably a few more issues to be sorted out but that’s the gist of it.

swiftgeek commented on 2013-06-13 12:26

"""Hauke> there is make defconfig-<driver name> which can be automated, but there are not def config for all driver, I hope this will change in the future"""

swiftgeek commented on 2013-06-13 12:24

"""Hauke> there is make defconfig-<driver name> which can be automated, but there are not def config for all driver, I hope this will change in the future"""

swiftgeek commented on 2013-06-13 12:05

Does anybody have an idea how to automate this thing?

Now we only have this:
| To get defaults for certain drivers:
| make defconfig-drm
| make defconfig-iwlwifi
| make defconfig-media
| make defconfig-nfc
| make defconfig-regulator
| make defconfig-rtlwifi

:(

swiftgeek commented on 2013-06-13 11:55

Still in packaging process - don't try it until this message disappears — unless u want to help ;)