Commit Graph

26 Commits (09b5e06b5cee80a9a25ef71cd64ed2774cd14009)

Author SHA1 Message Date
Adel Kara Slimane 86defefe99
Fix DKMS for RPM distros (#233)
* install.sh: RPM distros: Install the correct headers RPM for DKMS to work

Closes: #230
Closes: #229

* install.sh: remove trailing whitespaces

They came from reverting a commit that actually removed them x)

* install.sh: Add note in uninstall-help for Suse about kernel-headers
2021-04-22 12:42:42 +07:00
Adel Kara Slimane e7d97fc497
install.sh: improve git fetching and stop producing source code packages (#222)
* install.sh: improve git source code fetching

* install.sh: add install dependency for Fedora 33+

* install.sh, customization.cfg: cosmetic improvements

* install.sh: DEB, RMP: do not create devel packages.

They are not needed for DKMS
and that was the only point to why they were there to begin with
2021-04-16 21:09:21 +07:00
Bringas4You 8d174cf225
Fix Debian / Ubuntu compile due to .config (#217)
* Update install.sh

* Update prepare
2021-04-05 08:17:58 +07:00
Adel Kara Slimane b595006ffb
Some extra features for convenience (#209)
* Enable setting modprobed-db database path

This enables using different dbs and be able to build the kernel for others,  with modprobed-db

* Save generated .config file back to user's git folder, for eventual re-use

* Set local version for all distros

* install.sh: handle user provided .config files

Update dosctring for the _configfile var in customization.cfg

* install.sh: fix kernel version prompt broken newlines

* Copy final config file as kernelconfig.new
2021-04-03 17:38:48 +07:00
Bringas4You f39f82cef0
Fix GraySky2 patch link from Install.sh (#214) 2021-03-30 13:33:07 +07:00
Bringas4You 444fd4341d
Fix compilation on Ubuntu due canonical-certs (#207)
Apparently in the new versions of the kernel or some configuration that I do not know but with this it is solved, almost very similar to Debian.
2021-03-22 20:25:03 +07:00
Tk-Glitch 01f9622fbf install.sh: Fix wrong path taken for graysky's cpu opt patches 2021-03-09 17:52:40 +07:00
Adel Kara Slimane 9e81e3bd1d
install.sh: add git mirror and code cleanup (#192)
Closes #181
2021-03-09 16:58:59 +07:00
Tk-Glitch b95ba7d6c3 Adapt to new names/paths for graysky2's cpu opt patchsets
Again 🐸

Fixes https://github.com/Frogging-Family/linux-tkg/issues/196
2021-03-09 16:04:19 +07:00
Tk-Glitch dfd20aefa2 Fix some graysky2's cpu opt patch urls following more movements in their repo. 2021-03-09 01:08:45 +07:00
Tk-Glitch 9d6de7dac5 5.4.103, 5.10.21, 5.11.4 2021-03-07 15:14:39 +07:00
Tk-Glitch f4de77e7d3 Initial 5.12 RC1 support 2021-03-01 21:54:04 +07:00
Tk-Glitch 6999b37993 install.sh: Add 5.11 handling for Graysky's CPU optimizations patchset
Fixes https://github.com/Frogging-Family/linux-tkg/issues/180
2021-02-16 20:32:53 +07:00
Tk-Glitch 960f5ec009 install.sh: Handle initial releases git tags differenty (_sub=0)
Fixes https://github.com/Frogging-Family/linux-tkg/issues/178
2021-02-16 11:37:17 +07:00
Adel Kara Slimane c12754f5ae
install.sh: unified linux git folder across kernel versions (#127)
* Prompt _distro if undefined when using "uninstall-help" in install.sh

* Unified linux source code git folder

* Update README

* Fix "defaulting to arch" by prompting distro earlier

* Move variable definitions at the correct position in script

* Remove unneeded Ubuntu dependency

* Fix typo

* RPM distros: Move only tkg related RPMs and leave the ~/rpmbuild folder as-is

* Fix defaulting to _distro=Arch when using ./install.sh config

* Use custom location for rpmbuild folder

* Fix _topdir for make bin-rpm

* Move rpmbuild folder cleanup to exit_cleanup function

* Revert folder naming in Arch specific NUKR=false cleanup

* Revert Void Linux changes

* Shallow clone a longer time window for stable releases

depth=1 had issues if the kernel release
is newer than the tag in the git repo

* Move functions to install.sh

* Fix cpuopts patch file naming

* Improve install.sh help message
2021-02-03 14:17:01 +07:00
Tk-Glitch 72e3d2de49 Get rid of the customizable TTY devices number patch. This breaks on some non-Arch distros and is only interesting to a very limited number of users that aren't necessarily our core target userbase. 2021-01-13 15:39:35 +07:00
iWeaker4you 89f3c1f4b3
Debian UEFI cert compile problem (#126) 2020-11-21 16:10:49 +07:00
Seth Jones b13cbf0e32
Fedora 33. (#105)
* Fedora 33.

* Update install.sh

* Fix syntax error.
2020-11-20 10:43:03 +07:00
Tk-Glitch 734e72186a install.sh: If current config isn't found in /boot/config-*, try /proc/config.gz 2020-11-19 17:22:45 +07:00
Tk-Glitch 3451dd8d51 install.sh: Protect custom compiler paths 2020-11-19 17:21:57 +07:00
termac 9ac7fd64e1
source 'customization.cfg' earlier in 'install.sh' (#109)
source 'customization.cfg' before '_tkg_initscript' is run in
'install.sh'. Otherwise some variables set in 'customization.cfg' are
empty when '_tkg_initscript' is run and have to be supplied again on the
prompt.
2020-11-04 17:25:44 +07:00
termac eb42478f79
update Debian build dependencies in "install.sh" (#108)
Split Debian and Ubuntu build dependencies, as "kernel-package" is not
available, but also not needed in newer Debian releases.
Add some other dependencies dpkg-buildpackage was complaining about.
With these dependencies the tkg kernel builds in a freshly bootstrapped
Debian "Buster" container.
2020-11-04 16:36:12 +07:00
Tony 8476633083
Add custom LLVM compiler path support (#102) 2020-10-27 21:55:39 +07:00
Tony dfbb291d5d
install.sh: Fix LLVM build restart config (#101)
Fix MuQSS illegal character uppercase in source package name
Fix _cpusched not being sourced for package name
Fix llvm not in package name when using llvm
2020-10-27 21:44:15 +07:00
Tony 191febe4e8
Add back #62 Add initial -rc support to the install.sh script. (#100)
was merged after starting the work on the unified build script
add 5.10 RC to opt_ver case
2020-10-27 18:42:39 +07:00
Tk-Glitch e9fb606121 Move to unified builder as default
The previous building scripts and patches will be moved to legacy
2020-10-26 22:46:56 +07:00