Commit Graph

13 Commits (858ff2902146f017176f4ea8aa3299d3fa428add)

Author SHA1 Message Date
Tk-Glitch 90a34f9904 linux54-tkg: Use -O2 by default instead of -O3. It's been reportedly problematic lately - possibly limited to some distros - and all newer kernel versions defaulted to -O2 for some time now. 2020-09-21 13:48:17 +07:00
Tk-Glitch aeac14d114 linux54-tkg: Comment out the sync with 16a91d2987
linux54-tkg is unaffected currently since the non-Arch path wasn't merged
2020-08-21 16:19:52 +07:00
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 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 4804b9129f linux54/58-tkg: Config sync 2020-08-20 14:07:03 +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
FLGX ec0fcc15d2
Allow using upper-cased "Y" to answer questions (#45) 2020-08-15 19:18:32 +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
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 ad2cdb9e3f linux54-tkg: Allow for 100Hz timer frequency from .cfg 2020-06-29 23:20:10 +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 f0f7c029f3 Add a simple post transaction hook to clean remnant dir/files
Since the move to the new hooking mechanisms, we got remnant files after package upgrade.
They aren't part of the package and get generated by the depmod hook.
This addresses the issue by checking for tkg kernels module dirs and removing the ones missing a vmlinuz file (which is part of the package).
Due to the way it works, it'll also get rid of all past remnants to stay transparent for users.
2020-05-01 00:22:00 +07:00
Tk-Glitch 9042fcad49 linux55-tkg: 5.5.13 - previous index was here: https://github.com/Tk-Glitch/PKGBUILDS 2020-03-26 13:41:24 +07:00