瀏覽代碼

[Arch] Add postbuild script

xcbosa mbp16 5 月之前
父節點
當前提交
f377965d5a
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      postbuild.sh

+ 2 - 1
postbuild.sh

@@ -19,4 +19,5 @@ for file in `ls post_sbin`
             $GCC $filePath -o $gccout -O2
         fi
     done
-tar -vcjf output/images/rootfs.tar -C output/images/rootfs/*
+cd output/images
+tar -vcjf rootfs.tar rootfs/*