Proposed changes to the _use_current functionality #1

Merged
JeremyStarTM merged 3 commits from yarost12/aur-linux-clear:YF-use-current-update into master 2024-11-19 01:57:27 +01:00

3 commits

Author SHA1 Message Date
200949718f
Add comments + rename create_defconfig method 2024-11-19 01:52:26 +01:00
0d4fdeb204 Warn the user if the major version was upgraded when _use_current is set
It might be a good idea to regen the defconfig
if the major version was updated
2024-11-19 02:18:24 +02:00
7e8818327b Separate defconfig creation from re-use logic
At the moment when _use_current=y is passed to the package
compilation - the script still re-creates the defconfig which can
cause errors and cause the menuconfig to show up outta nowhere.

Fix this by bypassing the logic completely, I think that
anyone using the _use_current=y knows what they're doing
so we should be fine.
2024-11-19 02:00:33 +02:00