You are not logged in.
I'm running a custom patch on the kernel (linux-ck), and I also compile for my native CPU.
Each time a kernel upgrade comes along, I edit the pkgbuild and add 'nconfig' to set up my CPU, and add the custom patch.
This works well, but it's a bit tedious.
What is a good way to handle this more automatically?
Offline
By far the simplest would be to use Graysky's linux-ck repo with various builds optimized for a range of different processors.
Next to that, if you're willing (or wanting to) compile it yourself, just keep your own PKGBUILD rather than starting from scratch every time.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
By far the simplest would be to use Graysky's linux-ck repo with various builds optimized for a range of different processors.
What is that?
Next to that, if you're willing (or wanting to) compile it yourself, just keep your own PKGBUILD rather than starting from scratch every time.
I'm already compiling every time (I need a custom patch). But "my" pkgbuild is only setting 'y' on two options, adding the custom patch and finally, manually, setting the correct CPU.
Having my own pkgbuild means I'll have to run a diff each time which probably is the same amount of work.
Offline
What is that?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
simendsjo wrote:What is that?
Haha Thanks. I'll try it later. Right now it seems like a problem with the server: "transfer closed with xxx bytes remaining to read"
Offline
Did you read https://wiki.archlinux.org/index.php/Repo-ck ?
Offline
Did you read https://wiki.archlinux.org/index.php/Repo-ck ?
EDIT: Never mind. Using pacman rather than yaourt worked.
Yes. I get the following error:
resolving dependencies...
looking for inter-conflicts...
:: linux-ck-sandybridge and linux-ck are in conflict. Remove linux-ck? [y/N] Y
:: virtualbox-ck-guest-modules-sandybridge and virtualbox-ck-guest-modules are in conflict. Remove virtualbox-ck-guest-modules? [y/N] y
:: virtualbox-ck-host-modules-sandybridge and virtualbox-ck-host-modules are in conflict. Remove virtualbox-ck-host-modules? [y/N] y
Packages (6): linux-ck-3.15.8-1 [removal]
virtualbox-ck-guest-modules-4.3.14-3 [removal]
virtualbox-ck-host-modules-4.3.14-3 [removal]
linux-ck-sandybridge-3.15.8-1
virtualbox-ck-guest-modules-sandybridge-4.3.14-3
virtualbox-ck-host-modules-sandybridge-4.3.14-3
Total Download Size: 54.21 MiB
Total Installed Size: 70.87 MiB
Net Upgrade Size: 45.73 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
error: failed retrieving file 'linux-ck-sandybridge-3.15.8-1-x86_64.pkg.tar.xz' from repo-ck.com : transfer closed with 14770681 bytes remaining to read
warning: failed to retrieve some files
virtualbox-ck-guest-... 126.5 KiB 277K/s 00:00 [###########################] 100%
virtualbox-ck-host-m... 166.6 KiB 527K/s 00:00 [###########################] 100%
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Last edited by simendsjo (2014-08-04 17:43:15)
Offline
Just try it again a few times until it works, Graysky's having problems with his hosting provider at the moment.
Edit - Why are you installing both the host and guest virtualbox modules? There's no reason you should have both.
Last edited by Slithery (2014-08-04 18:55:48)
Offline
The wiki page has a troubleshooting section, maybe there's something worth trying out.
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline
Learning
You can you up,no can no BB!
Offline
Learning
Offline