-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: madomado <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |