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 11# 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"
33TINKERBELL_USE_HOOK = " true"
44TINK_CLI_IMAGE = " quay.io/tinkerbell/tink-cli:sha-8ea8a0e5"
55TINK_SERVER_IMAGE = " quay.io/tinkerbell/tink:sha-8ea8a0e5"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ osie_extract() {
1717 local source_dir=" $1 "
1818 local dest_dir=" $2 "
1919 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} "
2121}
2222
2323# osie_move_helper_scripts moves workflow helper scripts to the workflow directory
@@ -62,13 +62,12 @@ main() {
6262 fi
6363
6464 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
6666 echo " extracting hook..."
6767 osie_extract " ${extract_dir} " " ${source_dir} " " ${filename} "
6868 else
6969 echo " hook files already exist, not extracting"
7070 fi
71- hook_rename_files " ${source_dir} " /hook-x86_64-kernel " ${source_dir} " /hook-x86_64-initrd.img " ${source_dir} "
7271 else
7372 if [ ! -f " ${source_dir} " /workflow-helper.sh ] && [ ! -f " ${source_dir} " /workflow-helper-rc ]; then
7473 echo " extracting osie..."
You can’t perform that action at this time.
0 commit comments