mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
Add Kernel 6.12 headers, and set default kernel headers to 6.12 — linux_sources → 6.12,linuxheaders → 6.11 (#12846)
* Add Kernel 6.12 headers, and set default kernel headers to 6.12 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * kernel_61: Package File Update Run on linux/386 container. * Update linux_sources Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fixup hashtag logic Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6dfa30592f
commit
ea158385d2
@@ -4,7 +4,7 @@ require 'etc'
|
||||
require 'open3'
|
||||
|
||||
OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0'
|
||||
CREW_VERSION ||= '1.66.5' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
|
||||
CREW_VERSION ||= '1.66.6' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
|
||||
|
||||
# Kernel architecture.
|
||||
KERN_ARCH ||= Etc.uname[:machine]
|
||||
@@ -90,7 +90,7 @@ end
|
||||
# Use sane minimal defaults if in container and no override specified.
|
||||
CREW_KERNEL_VERSION ||=
|
||||
if CREW_IN_CONTAINER && ENV.fetch('CREW_KERNEL_VERSION', nil).nil?
|
||||
ARCH.eql?('i686') ? '3.8' : '5.10'
|
||||
ARCH.eql?('i686') ? '3.8' : '6.12'
|
||||
else
|
||||
ENV.fetch('CREW_KERNEL_VERSION', Etc.uname[:release].rpartition('.').first)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user