Skip to content

Commit 8a48bae

Browse files
committed
hiding_ci: remove support for everything but .patch files
We are not using the .lore/.mbox options, and I dont see us doing so again in the future either. Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
1 parent c78e03f commit 8a48bae

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

resources/hiding_ci/build_and_install_kernel.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,24 +68,9 @@ apply_patch_file() {
6868
git apply $1
6969
}
7070

71-
apply_series_mbox() {
72-
git am $1 --empty=drop
73-
}
74-
75-
apply_series_link() {
76-
patch_url=$(cat $1)
77-
echo "Fetching mbox from:" $patch_url
78-
curl --output lore.mbox.gz "$patch_url/t.mbox.gz"
79-
gunzip lore.mbox
80-
apply_series_mbox lore.mbox
81-
rm lore.mbox
82-
}
83-
8471
apply_patch_or_series() {
8572
case "$1" in
8673
*.patch) apply_patch_file $1 ;;
87-
*.mbox) apply_series_mbox $1 ;;
88-
*.lore) apply_series_link $1 ;;
8974
*) echo "Skipping non-patch file" $1 ;;
9075
esac
9176
}

0 commit comments

Comments
 (0)