Skip to content

Commit dcf08bb

Browse files
bchaliosroypat
authored andcommitted
fix: test_hiding_kernel.py
Add an 'apt update' before `apt install`. Otherwise, we might hold an old view of the package versions and installation might fail. Signed-off-by: Babis Chalios <bchalios@amazon.es>
1 parent b410770 commit dcf08bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration_tests/build/test_hiding_kernel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ def test_build_hiding_kernel():
1414
In the test we will run our kernel build script to check it succeeds and builds the hidden kernel
1515
"""
1616

17-
# We have some extra deps for building the kernel that are not in the dev contaner
17+
# We have some extra deps for building the kernel that are not in the dev container
18+
utils.check_output("apt update")
1819
utils.check_output(
1920
"apt install -y build-essential libncurses-dev bison flex libssl-dev libelf-dev bc dwarves libncurses5-dev kmod fakeroot"
2021
)

0 commit comments

Comments
 (0)