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
Contributor

At the moment _use_current can cause the defconfig to become malformed due to changes done by the prepare() function.

Skip them all entirely when _use_current is used, but add a check for the major version, warn the user if major version was updated, but _use_current was still set.

At the moment _use_current can cause the defconfig to become malformed due to changes done by the prepare() function. Skip them all entirely when _use_current is used, but add a check for the major version, warn the user if major version was updated, but _use_current was still set.
yarost12 added 2 commits 2024-11-19 01:23:50 +01:00
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.
It might be a good idea to regen the defconfig
if the major version was updated
yarost12 requested review from JeremyStarTM 2024-11-19 01:24:09 +01:00
Owner

lgtm

lgtm
Owner

won't merge it tho as it's still marked as a draft.

edit: just noticed your emails. i'll try fixing the compilation error:

patching file mm/mmap.c
Hunk #1 FAILED at 1881.
1 out of 1 hunk FAILED -- saving rejects to file mm/mmap.c.rej
won't merge it tho as it's still marked as a draft. edit: just noticed your emails. i'll try fixing the compilation error: ```plain patching file mm/mmap.c Hunk #1 FAILED at 1881. 1 out of 1 hunk FAILED -- saving rejects to file mm/mmap.c.rej ```
JeremyStarTM self-assigned this 2024-11-19 01:38:38 +01:00
JeremyStarTM added 1 commit 2024-11-19 01:55:11 +01:00
JeremyStarTM changed title from [Draft] Proposed changes to the _use_current functionality to Proposed changes to the _use_current functionality 2024-11-19 01:55:21 +01:00
Owner

We can safely ignore patching errors. These most commonly occur when the kernel version and clr patches version differ. The kernel however still compiles fine (at least for the first minutes). Added some nice comments to all methods though, always good to have them.

We can safely ignore patching errors. These most commonly occur when the kernel version and clr patches version differ. The kernel however still compiles fine (at least for the first minutes). Added some nice comments to all methods though, always good to have them.
JeremyStarTM merged commit 200949718f into master 2024-11-19 01:57:27 +01:00
JeremyStarTM approved these changes 2024-11-19 02:16:09 +01:00
Owner

missed that review part completely wow

missed that review part completely wow
Author
Contributor

Awesome, thanks for the updates and merge.

Awesome, thanks for the updates and merge.
Owner

No problem. PR is good, especially for being your first one on this repo. Good job :)

No problem. PR is good, especially for being your first one on this repo. Good job :)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: JeremyStarTM/aur-linux-clear#1
No description provided.