mirror of https://github.com/archzfs/archzfs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
534 B
12 lines
534 B
# We need an archiso with the lts kernel used by default
|
|
test_build_archiso() {
|
|
msg "Building archiso"
|
|
cd ${test_root_dir}/../../../archiso/ &> /dev/null
|
|
if [[ -d ${packer_work_dir}/out ]] && [[ $(ls -1 | wc -l) -gt 0 ]]; then
|
|
run_cmd "rm -rf ${test_root_dir}/archiso/out/archlinux*"
|
|
fi
|
|
run_cmd "./build.sh -v"
|
|
msg2 "Copying archiso to packer_work_dir"
|
|
run_cmd "cp ${test_root_dir}/../../../archiso/out/archlinux* ${packer_work_dir} && rm -rf ${test_root_dir}/archiso/work"
|
|
cd - &> /dev/null
|
|
}
|
|
|