Move --source output

此提交包含在:
2023-01-30 12:22:57 -05:00
父節點 847fd59e7c
當前提交 a7935e6888
共有 2 個檔案被更改,包括 14 行新增1 行删除

查看文件

@@ -700,10 +700,23 @@ fromSource() {
make "${make_opts[@]}" -j"$(nproc)" world
popd &>/dev/null || return 1
moveSourceImage
exit
}
# Make the output tree match Image Builder's (non-destructively)
moveSourceImage() {
declare out_file
declare -a out_files=("$THIS_BINDIR/targets/${P_ARR[target]}/"*.{img,img.gz,ubi})
for out_file in "${out_files[@]}"; do
[[ -f $out_file ]] && ln -s "$out_file" "$THIS_BINDIR/${out_file##*/}"
done
}
debug() { (( DEBUG )) && echo "Debug: $*"; }

查看文件

@@ -11,7 +11,7 @@ default_packages="\
htop \
diffutils \
tar \
iperf \
iperf3 \
bash \
rsync \
openssh-sftp-server \