Skip to content

Commit

Permalink
Use proposed kernel release (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhaliaw authored Aug 22, 2023
1 parent 7b2a830 commit 7d96b23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ def _on_install(self, _event: InstallEvent) -> None:

def _upgrade_kernel(self) -> None:
"""Upgrade the Linux kernel."""
# TMP: Use proposed kernel version.
execute_command(
["/usr/bin/apt-add-repository", "-y", "ppa:canonical-kernel-team/proposed"]
)

execute_command(["/usr/bin/apt-get", "update"])
execute_command(["/usr/bin/apt-get", "install", "-qy", "linux-generic"])

Expand Down

0 comments on commit 7d96b23

Please sign in to comment.