Skip to content

Commit

Permalink
Changelog:
Browse files Browse the repository at this point in the history
- Fix issue with VMs not starting on ChromeOS r126
- Further review kernel config
  • Loading branch information
sebanc committed Jun 10, 2024
1 parent fb17e53 commit f539b6e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 34 deletions.
10 changes: 10 additions & 0 deletions brunch-patches/40-patchpanel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This patch adjusts the "cap_bpf" in patchpanel service according to the selected kernel (cap_bpf is only available on 5.10+ kernels).

if [ -f /roota/etc/init/patchpanel.conf ]; then
if [ "$(cat /proc/cmdline | cut -d' ' -f1 | cut -d'/' -f2)" == "chromebook-4.19" ] || [ "$(cat /proc/cmdline | cut -d' ' -f1 | cut -d'/' -f2)" == "chromebook-5.4" ]; then
sed -i 's@caps="${caps},cap_bpf"@# caps="${caps},cap_bpf"@g' /roota/etc/init/patchpanel.conf
else
sed -i 's@# caps="${caps},cap_bpf"@caps="${caps},cap_bpf"@g' /roota/etc/init/patchpanel.conf
fi
fi

42 changes: 8 additions & 34 deletions kernel-patches/brunch_configs
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,27 @@ CONFIG_VT_CONSOLE=y
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_SLAVE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_I2C_DESIGNWARE_AMDPSP=y
CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
CONFIG_I2C_DESIGNWARE_PCI=y
CONFIG_PINCTRL_AMD=y
CONFIG_PINCTRL_MCP23S08=y
CONFIG_PINCTRL_SX150X=y
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_CHERRYVIEW=y
CONFIG_PINCTRL_LYNXPOINT=y
CONFIG_PINCTRL_INTEL=y
CONFIG_PINCTRL_ALDERLAKE=y
CONFIG_PINCTRL_BROXTON=y
CONFIG_PINCTRL_CANNONLAKE=y
CONFIG_PINCTRL_CEDARFORK=y
CONFIG_PINCTRL_DENVERTON=y
CONFIG_PINCTRL_ELKHARTLAKE=y
CONFIG_PINCTRL_EMMITSBURG=y
CONFIG_PINCTRL_GEMINILAKE=y
CONFIG_PINCTRL_ICELAKE=y
CONFIG_PINCTRL_JASPERLAKE=y
CONFIG_PINCTRL_LAKEFIELD=y
CONFIG_PINCTRL_LEWISBURG=y
CONFIG_PINCTRL_METEORLAKE=y
CONFIG_PINCTRL_SUNRISEPOINT=y
CONFIG_PINCTRL_TIGERLAKE=y
CONFIG_HID_SENSOR_HUB=m
Expand Down Expand Up @@ -160,18 +166,12 @@ CONFIG_RTW89_8852A=m
CONFIG_RTW89_8852C=m
CONFIG_RTW89_8852AE=m
CONFIG_RTW89_8852CE=m
CONFIG_BCMA=m
CONFIG_6LOWPAN=m
CONFIG_BT=y
CONFIG_BT_CMTP=m
# CONFIG_BT_HS is not set
CONFIG_BT_6LOWPAN=m
CONFIG_BT_INTEL=m
CONFIG_BT_BCM=m
CONFIG_BT_RTL=m
CONFIG_BT_QCA=m
CONFIG_BT_MTK=m
CONFIG_BT_HCIUART_BCM=y
CONFIG_WIREGUARD=y
CONFIG_USB_DWC3_DUAL_ROLE=y
CONFIG_VMD=y
Expand Down Expand Up @@ -243,32 +243,6 @@ CONFIG_TCG_VIRTIO_VTPM=y
# CONFIG_TCG_TIS_ST33ZP24 is not set
# CONFIG_TCG_TIS_ST33ZP24_I2C is not set
# CONFIG_TCG_TIS_ST33ZP24_SPI is not set
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_SLAVE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_I2C_DESIGNWARE_AMDPSP=y
CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
CONFIG_I2C_DESIGNWARE_PCI=y
CONFIG_PINCTRL_AMD=y
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_CHERRYVIEW=y
CONFIG_PINCTRL_LYNXPOINT=y
CONFIG_PINCTRL_INTEL=y
CONFIG_PINCTRL_ALDERLAKE=y
CONFIG_PINCTRL_BROXTON=y
CONFIG_PINCTRL_CANNONLAKE=y
CONFIG_PINCTRL_CEDARFORK=y
CONFIG_PINCTRL_DENVERTON=y
CONFIG_PINCTRL_ELKHARTLAKE=y
CONFIG_PINCTRL_EMMITSBURG=y
CONFIG_PINCTRL_GEMINILAKE=y
CONFIG_PINCTRL_ICELAKE=y
CONFIG_PINCTRL_JASPERLAKE=y
CONFIG_PINCTRL_LAKEFIELD=y
CONFIG_PINCTRL_LEWISBURG=y
CONFIG_PINCTRL_METEORLAKE=y
CONFIG_PINCTRL_SUNRISEPOINT=y
CONFIG_PINCTRL_TIGERLAKE=y
CONFIG_HID=y
CONFIG_HID_GENERIC=y
CONFIG_HID_MULTITOUCH=y
Expand Down

0 comments on commit f539b6e

Please sign in to comment.