Skip to content

Commit

Permalink
Update pre.rhai
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Sep 19, 2023
1 parent acd8d0e commit 48912b0
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions anda/others/kernel-fyra/pre.rhai
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
print("kernel-fyra: running pre.rhai");

// Install the kernel dependencies first
sh("sudo dnf5 builddep kernel");
print(" $ sudo dnf5 builddep kernel > $OUT 2>&1");
sh("sudo dnf5 builddep kernel > $OUT 2>&1");
print(env("OUT"));

// Install git for source and patchset retrieval
sh("sudo dnf5 install git");
print(" $ sudo dnf5 install git > $OUT 2>&1");
sh("sudo dnf5 install git > $OUT 2>&1");
print(env("OUT"));

// Run the actual build script
sh("build.sh");
print(" $ ./build.sh");
sh("./build.sh > $OUT 2>&1");
print(env("OUT"));

print("kernel-fyra: finished running pre.rhai");

0 comments on commit 48912b0

Please sign in to comment.