mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-10 04:18:38 +00:00
Drop regex module from bootargs (#619)
Co-authored-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
parent
e0c1f0d96b
commit
89f59422ec
@ -1,3 +1,3 @@
|
||||
name: "grub-config"
|
||||
category: "static"
|
||||
version: "0.10"
|
||||
version: "0.11"
|
||||
|
@ -57,7 +57,7 @@ insmod all_video
|
||||
insmod loopback
|
||||
insmod squash4
|
||||
insmod serial
|
||||
insmod regexp
|
||||
|
||||
loadfont unicode
|
||||
if [ "${grub_platform}" = "efi" ]; then
|
||||
## workaround for grub2-efi bug: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1851311
|
||||
|
@ -1,4 +1,4 @@
|
||||
packages:
|
||||
- name: "kairos-overlay-files"
|
||||
category: "static"
|
||||
version: "1.1.20"
|
||||
version: "1.1.21"
|
||||
|
@ -1,7 +1,7 @@
|
||||
function setSelinux {
|
||||
source (loop0)/etc/os-release
|
||||
set baseSelinuxCmd=""
|
||||
if regexp "rockylinux|fedora|almalinux|redhat|tumbleweed" $KAIROS_ARTIFACT; then
|
||||
if test $KAIROS_FAMILY == "rhel" -o test $ID == "opensuse-tumbleweed"; then
|
||||
set baseSelinuxCmd="selinux=0"
|
||||
else
|
||||
# if not in recovery
|
||||
@ -15,11 +15,11 @@ function setExtraConsole {
|
||||
source (loop0)/etc/os-release
|
||||
set baseExtraConsole="console=ttyS0"
|
||||
# rpi
|
||||
if regexp "arm64-rpi" $KAIROS_ARTIFACT; then
|
||||
if test $KAIROS_MODEL == "rpi3" -o test $KAIROS_MODEL == "rpi4"; then
|
||||
set baseExtraConsole="console=ttyS0,115200"
|
||||
fi
|
||||
# nvidia orin
|
||||
if regexp "arm64-nvidia-jetson-agx-orin" $KAIROS_ARTIFACT; then
|
||||
if test $KAIROS_MODEL == "nvidia-jetson-agx-orin"; then
|
||||
set baseExtraConsole="console=ttyTCU0,115200"
|
||||
fi
|
||||
}
|
||||
@ -28,7 +28,7 @@ function setExtraArgs {
|
||||
source (loop0)/etc/os-release
|
||||
set baseExtraArgs=""
|
||||
# rpi
|
||||
if regexp "arm64-rpi" $KAIROS_ARTIFACT; then
|
||||
if test $KAIROS_MODEL == "rpi3" -o test $KAIROS_MODEL == "rpi4"; then
|
||||
set baseExtraArgs="modprobe.blacklist=vc4 8250.nr_uarts=1"
|
||||
fi
|
||||
}
|
||||
@ -54,7 +54,6 @@ function setKernelCmd {
|
||||
set kernelcmd="$baseExtraConsole $baseCmd $baseRootCmd $baseSelinuxCmd $baseExtraArgs"
|
||||
}
|
||||
|
||||
|
||||
# grub.cfg now ships this but during upgrades we do not update the COS_GRUB partition, so no new grub.cfg is copied over there
|
||||
# We need to keep it for upgrades to work.
|
||||
# TODO: Deprecate in v2.8-v3.0
|
||||
|
Loading…
Reference in New Issue
Block a user