Change order of tarIncludes in tar command

This commit is contained in:
Eric Renfro 2024-08-03 16:34:41 -04:00
parent fbf5621221
commit b0e4144ccf
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -288,7 +288,7 @@ fi
# start stage4 creation:
if $optQuiet; then
#echo "Would've worked"
tar "${tarOptions[@]}" "${tarExcludes[@]/#/--exclude=}" -f "${stage4Filename}.${stage4Ext}" "${targetPath}" "${tarIncludes[@]}"
tar "${tarOptions[@]}" "${tarIncludes[@]}" "${tarExcludes[@]/#/--exclude=}" -f "${stage4Filename}.${stage4Ext}" "${targetPath}"
if [[ "$optSeperateKernel" ]]
then
tar "${tarOptions[@]}" -f "${stage4Filename}.ksrc.${stage4Ext}" "${targetPath}usr/src/linux-$(uname -r)"