Commit aa97228a authored by Lucas Sulzbach's avatar Lucas Sulzbach

Fix relative paths

parent 87b5001f
Pipeline #18332 passed with stage
in 2 minutes and 21 seconds
......@@ -60,7 +60,7 @@ reprepro --basedir "${PREFIX}/repo/" includedeb "${REPO}" \
create_iso_logger --message "Unable to include package in local repository" \
--tag "reprepro"
cp --recursive repo/{dists,pool} "${TMP}/image/" || \
cp --recursive "${PREFIX}"/repo/{dists,pool} "${TMP}/image/" || \
create_iso_logger --message "Unable to move local repository to image" \
--tag "mv"
rm --recursive --force "${PREFIX:?}/repo/"
......
......@@ -92,7 +92,7 @@ popd || create_iso_logger --message "Unable to change directory" --tag "popd"
rm --recursive --force "${PREFIX:?}/initrd" || \
create_iso_logger --message "Unable to remove dir \"${PREFIX}/initrd\"" --tag \
"rm"
mv initrd.lz "${TMP}/image/casper/initrd.lz" || \
mv "${PREFIX}/initrd.lz" "${TMP}/image/casper/initrd.lz" || \
create_iso_logger --message "Unable to move initrd to image" --tag "mv"
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment