Commit Graph

59 Commits (16a91d2987f9c6b46818ccf71af03b36ba93d536)

Author SHA1 Message Date
Tk-Glitch 16a91d2987 linux-tkg: Set CONFIG_DEBUG_INFO=n by default on non-Arch
Debian-based distros notably create huge dbg packages otherwise
2020-08-21 10:09:10 +07:00
Koopa 453a462715
Install the TkG configuration used to the system (#49)
* linux-tkg: Install configuration used.

* linux-tkg: Document the installed config file.
2020-08-21 09:20:46 +07:00
Koopa 913245031b
linux-tkg: Accept default config w/ modprobed-db. (#47)
This alleviates Tk-Glitch/PKGBUILDS#404 by piping newlines to "make
localconfig".
2020-08-20 14:24:35 +07:00
Tk-Glitch 6eb3cf9109 linux57-tkg: 5.7.16 2020-08-19 12:20:43 +07:00
Tk-Glitch 66d595fac8 linux-tkg: Explicitly set X86_P6_NOP default (disabled) so it doesn't prompt on archs not selecting it. 2020-08-17 20:45:06 +07:00
Tk-Glitch e71dced34b linux-tkg: non-Arch: Set _misc_adds="false" for now
This breaks on other distros due to the TTY patch. Until a decision is taken regarding the patch or the best way to fix it, this will do.
2020-08-17 16:51:56 +07:00
Tk-Glitch 967331d0be linux-tkg: The double equal sign amusement continuation 2020-08-17 16:43:41 +07:00
FLGX ec0fcc15d2
Allow using upper-cased "Y" to answer questions (#45) 2020-08-15 19:18:32 +07:00
Tk-Glitch 40ca8f75e2 linux57-tkg: 5.7.15 2020-08-11 16:45:49 +07:00
Tk-Glitch 469624d1ac linux-tkg: Ask user about the CFS fallback
Can be bypassed to exit with _nofallback="true" hidden option
2020-08-11 16:19:01 +07:00
Tk-Glitch 333a3a46db linux57-tkg: Fix ck1 patchset application 2020-08-11 16:13:53 +07:00
Adel Kara Slimane c7ff176dba
linux57: add interactive prompt for _misc_adds (#42) 2020-08-10 13:52:08 +07:00
Adel Kara Slimane a278361630
linux57: extra changes to Ubuntu install script that have been forgotten (#41)
* linux57: customization.cfg: make custom_gcc_path apply to ubuntu

* linux57: install.sh: remove unneeded variable

* linux57: install.sh: uncomment kernel uninstall command line
2020-08-10 12:13:17 +07:00
Tk-Glitch 416a2c3d5f linux57-tkg: 5.7.14 2020-08-07 15:10:12 +07:00
Tk-Glitch a580414742 linux57-tkg: Simplify various ubuntu build script interactions
Untested on buntu.

Following https://github.com/Frogging-Family/linux-tkg/pull/26
2020-08-06 21:58:24 +07:00
Adel Kara Slimane 3c7fd7b2e5
Add Ubuntu install script + general-ish .config&patching script (#26)
* linux57: Add make xconfig option

* Linux57: copy PKGBUILD initial commands to _tkg_initscript()

* linux57: Update _tkg_initscript() in "tkg-config/prepare"

* linux57: Add _define_vars() function in tkg-config/prepare

* linux57: Prepend "$_where" to patch paths, in _tkg_srcprep()

This is done to be able to change the $_where in the non-Arch install script

* linux57: Add distro choice config in customization.cfg, enable "Ubuntu" as option

Show options that won't apply when target distro is Ubuntu

* linux57: Isolate Arch specific commands in _tkg_srcprep()

* linux57: make _tkg_initscript() more verbose

* WIP: linux57: Add install.sh script

The script downloads linux's source code, applies patches, and
handles the .config file after copying the one from the distribution
it's running on.

TODO: Implement install (and maybe uninstall)

* linux57: Add make xconfig option description in customization.cfg

* linux57: Fix _EXT_CONFIG_PATH usage and variable sourcing

* linux57: Add missing space in condition

* linux57: Make _EXT_CONFIG_PATH description as usable by Ubuntu install script

* linux57: Add LOCALVERSION kernel choice variable in customization.cfg

For now it won't apply for Arch, but can be implemented

* linux57: Properly delete linux source folder

* linux57: Add progress message when doing make oldconfig

* linux57: Add kernel compilation for Ubuntu

* linux57: Fix warning in if condition

* linux57: Add message when downloading CPU opt patch

* linux57: Make script exit at any error

* linux57: Move to linux (base version + subversion patch) approach

* linux57: Use git to get/reset linux sources and move between subversions

This approach has the least impact on the hard-drive given that only
the files that need to be changed get changed by git.

* linux57: Fix external config loading message

* linux57: install.sh: use latest subersion, enable reverting to older ones

* linux57: Add extra cleanup steps

* Move user_patcher() to tkg-config/prepare

* linux57: restore old patch files for old kernel subversions

Old kernel subversions are needed for Ubuntu since the latest ones
fail to build.

* linux57: Define and use script location variable

Makes folder navigation more reliable in the script

* linux57: Add install step

* linux57: install.sh: Uncomment compilation step

* linux57: install.sh: Add "config" and "install" commands

* linux57: install.sh: Add uninstall command

* linux57: Add relative path for misc-patch

* Fix leak error for CONFIG_PDS in make deb-pkg

* linux57: Define _where in _tkg_srcprep for Arch

* Revert "linux57: restore old patch files for old kernel subversions"

This reverts commit 65dcbd654c4151283189505c826903c342782d0e.

* linux57: Update shasum for pds-undead patch

* linux57: Drop support for reverting to older subversions

Latest kernel subversions should now work on other distros too

* linux57: install.sh load user given customization.cfg first

* linux57: install.sh install Ubuntu dependencies

* linux57: install.sh: add help message for available commands

* linux57: replace _misc_adds with _distro variable

* linux57: Update README.md

* linux57: README.md: fix typo

* linux57: README.md: remove "nano customization.cfg" line

* linux57: README.md: fix formatting

* Revert "linux57: Update shasum for pds-undead patch"

This reverts commit 3c6abef7993a02fc0ae97c23aab379968daa3a31.

* Revert "Fix leak error for CONFIG_PDS in make deb-pkg"

This reverts commit 40a2a002ae060b309a465d5b6c22a7b91828af0a.

* linux57: tkg-config/prepare: remove unused variable defines

* linux57: install.sh: use var for folder cleanup

* Revert "linux57: replace _misc_adds with _distro variable"

This reverts commit 9efdd31b8c0e4c34b2e2878de5bca83ea8e73018.
2020-08-06 19:59:17 +07:00
Tk-Glitch 35f5db0762 linux57-tkg: 5.7.13 2020-08-05 16:12:49 +07:00
Adel Kara Slimane 6ab568ff2a
linux57: Fix leak error for CONFIG_PDS in make deb-pkg (#36) 2020-08-04 13:18:03 +07:00
Tk-Glitch 2545ec9d24 linux57-tkg: 5.7.12 2020-07-31 23:34:32 +07:00
Tk-Glitch a3c869423d linux57/58-tkg: Add a reverting patch to restore amdgpu overdrive functionality, which has regressed recently.
https://gitlab.freedesktop.org/drm/amd/-/issues/1243
2020-07-31 23:34:13 +07:00
Tk-Glitch 3293a8338e linux57/58-tkg: Import an potential fix for some amdgpu crashes introduced with 5.7.0
https://lkml.org/lkml/2020/7/27/64
2020-07-30 16:02:48 +07:00
Tk-Glitch b5eb9af40f linux57-tkg: bump DEFAULT_MAX_MAP_COUNT. Some games such as Detroit: Become Human tend to be very crash prone with lower values.
This change is following 3a34034dba
2020-07-30 15:59:50 +07:00
Tk-Glitch 4fa26bf01f linux57-tkg: Sync config with latest Arch 2020-07-30 15:57:20 +07:00
Tk-Glitch ad5bdd132d linux57-tkg: Update Project C patchset to v5.7-r3
http://cchalpha.blogspot.com/2020/07/project-c-v575-r3-release.html
2020-07-30 15:56:03 +07:00
Tk-Glitch b1f1983b99 linux57-tkg: 5.7.11 2020-07-29 21:59:47 +07:00
Tk-Glitch 546df598cc linux57-tkg: 5.7.10 2020-07-22 10:30:42 +07:00
Tk-Glitch 3f3503f6ba linux57-tkg: 5.7.9 2020-07-16 10:02:23 +07:00
Tk-Glitch 0c64abbd46 linux57/58-tkg: Introduce the misc-additions patch and move tty device option from base to it.
That specific patchset breaks packaging on Ubuntu.
https://github.com/Frogging-Family/linux-tkg/pull/26

Also temporarily add Alessio Bonfiglio's patch to restore Killer Wireless-AC 1550i support on 5.7.
https://bugzilla.kernel.org/show_bug.cgi?id=208141#c21
2020-07-16 03:39:58 +07:00
bcvandendool 2c8f2ee804
linux57-tkg: Import hardened config and patchset (#31)
Config: https://www.archlinux.org/packages/extra/x86_64/linux-hardened/ 
Patchset: https://github.com/anthraxx/linux-hardened
2020-07-16 03:36:24 +07:00
Tk-Glitch f93dab7772 linux57/58-tkg: Sync with current Arch PKGBUILDs 2020-07-16 03:27:01 +07:00
Tk-Glitch 8c8ab455d3 linux57-tkg: 5.7.8 2020-07-09 17:55:07 +07:00
Tk-Glitch cbb406887a linux57-tkg: Update bcachefs patchset
https://github.com/koverstreet/bcachefs
2020-07-05 20:53:57 +07:00
Tk-Glitch 83f4de41b4 linux57-tkg: Update BMQ to Project C v5.7-r2
http://cchalpha.blogspot.com/2020/06/project-c-v575-r2-release.html

( + hotfix - https://gitlab.com/alfredchen/projectc/-/issues/18 )
2020-07-04 23:17:53 +07:00
Tk-Glitch 9a20348e26 linux57-tkg: 5.7.7 2020-07-01 17:27:29 +07:00
Tk-Glitch 44e2576a42 linux57-tkg: The execution of finish_cpu when offlining cores introduced with https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bf2c59fce4074e55d622089b34be3a6bc95484fb breaks suspend on our CPU schedulers. Skipping the call to fallback to idle_task_exit fixes it.
There are other issues regarding suspend upstream but that should cover our side of the coin.

https://gitlab.com/alfredchen/projectc/-/issues/17

Fixes https://github.com/Frogging-Family/linux-tkg/issues/24
2020-06-30 01:45:37 +07:00
Tk-Glitch 1f91f61694 linux57-tkg: Add a patch from Nicholas Kazlauskas to fix an amdgpu crash introduced in 5.7.6
https://gitlab.freedesktop.org/drm/amd/-/issues/1191
2020-06-29 23:21:23 +07:00
Tk-Glitch 8507c0cff9 linux57-tkg: readme: Remove deprecated and misleading note 2020-06-26 21:53:46 +07:00
Tk-Glitch 96a9634a99 linux57-tkg: 5.7.6 2020-06-24 18:06:38 +07:00
Tk-Glitch 06f18d080c linux-tkg: Move active prepare steps to an external file, in a _tkg_srcprep func.
This is in preparation for a generic/distro-agnostic script.

Discussed in
https://github.com/Frogging-Family/linux-tkg/issues/21
https://github.com/Tk-Glitch/PKGBUILDS/issues/539
2020-06-23 16:00:15 +07:00
Tk-Glitch 2c65df54fb linux57-tkg: Tweak MuQSS default yield type. The global default of 0 reportedly leads to stability issues on -at least- some AMD Ryzen platforms, so let's default to 1 (sched default) instead. 2020-06-22 23:41:02 +07:00
Tk-Glitch db6dab74c2 linux-tkg: Switch from our local cpu optimizations patchset to Graysky's
https://github.com/graysky2/kernel_gcc_patch

Fixes https://github.com/Tk-Glitch/PKGBUILDS/issues/569
2020-06-22 17:09:22 +07:00
Tk-Glitch 63be6c5384 linux57-tkg: 5.7.5 2020-06-22 14:42:53 +07:00
Koopa a16bd0e1d7
linux57/58-tkg: Add _noccache to default cfg. (#22) 2020-06-18 23:55:45 +07:00
Tk-Glitch 14df411ac5 linux57-tkg: 5.7.4 2020-06-18 15:09:16 +07:00
Tk-Glitch ed138c6441 linux57-tkg: 5.7.3 2020-06-17 17:49:45 +07:00
Koopa 7858c1e103
linux54/56/57-tkg: Fix MuQSS configuration comment (#20) 2020-06-17 17:14:23 +07:00
Tk-Glitch 7304411cbd linux57-tkg: cfg: Add missing _bcachefs option following 7143a70. 2020-06-13 18:25:17 +07:00
Jami Kettunen fdac1ef3df
linux5*-tkg: Fix finding config fragments when $_where is a symlink (#18)
I personally prefer to symlink the folder containing the kernel PKGBUILD
among other files to somewhere else for quicker access and with that
setup .myfrag config fragments were not getting found earlier.
2020-06-13 18:21:44 +07:00
Tk-Glitch 7143a7017f linux57-tkg: Import bcachefs patchset for 5.7 - https://github.com/koverstreet/bcachefs 2020-06-12 03:01:06 +07:00
Tk-Glitch b30dcd61de linux57-tkg: 5.7.2 2020-06-10 21:55:50 +07:00