File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
# OSIE_DOWNLOAD_URL="https://tinkerbell-oss.s3.amazonaws.com/osie-uploads/osie-1790-23d78ea47f794d0e5c934b604579c26e5fce97f5.tar.gz"
2
- OSIE_DOWNLOAD_URL = " https://github.com/tinkerbell/hook/releases/download/5.10.57/hook-x86_64 .tar.gz"
2
+ OSIE_DOWNLOAD_URL = " https://github.com/tinkerbell/hook/releases/download/5.10.57/hook_x86_64 .tar.gz"
3
3
TINKERBELL_USE_HOOK = " true"
4
4
TINK_CLI_IMAGE = " quay.io/tinkerbell/tink-cli:sha-8ea8a0e5"
5
5
TINK_SERVER_IMAGE = " quay.io/tinkerbell/tink:sha-8ea8a0e5"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ osie_extract() {
17
17
local source_dir=" $1 "
18
18
local dest_dir=" $2 "
19
19
local filename=" $3 "
20
- tar -zxvf " ${source_dir} " /" ${filename} " .tar.gz -C " ${dest_dir} " --strip-components 1
20
+ tar -zxvf " ${source_dir} " /" ${filename} " .tar.gz -C " ${dest_dir} "
21
21
}
22
22
23
23
# osie_move_helper_scripts moves workflow helper scripts to the workflow directory
@@ -62,13 +62,12 @@ main() {
62
62
fi
63
63
64
64
if [ " ${use_hook} " == " true" ]; then
65
- if [ ! -f " ${source_dir} " /hook -x86_64-kernel ] && [ ! -f " ${source_dir} " /hook -x86_64-initrd.img ]; then
65
+ if [ ! -f " ${source_dir} " /vmlinuz -x86_64 ] && [ ! -f " ${source_dir} " /initramfs -x86_64 ]; then
66
66
echo " extracting hook..."
67
67
osie_extract " ${extract_dir} " " ${source_dir} " " ${filename} "
68
68
else
69
69
echo " hook files already exist, not extracting"
70
70
fi
71
- hook_rename_files " ${source_dir} " /hook-x86_64-kernel " ${source_dir} " /hook-x86_64-initrd.img " ${source_dir} "
72
71
else
73
72
if [ ! -f " ${source_dir} " /workflow-helper.sh ] && [ ! -f " ${source_dir} " /workflow-helper-rc ]; then
74
73
echo " extracting osie..."
You can’t perform that action at this time.
0 commit comments