archlinuxcn / lilac

Lilac is the build bot for archlinuxcn
GNU General Public License v3.0
114 stars 40 forks source link

added makechrootpkg args #55

Closed petronny closed 6 years ago

petronny commented 6 years ago

如题, 为了实现

53 最后一行的

extra-x86_64-build -- -D `realpath $gitname`
lilydjwg commented 6 years ago

等号两边空格……

petronny commented 6 years ago

呃,加了。。。

lilydjwg commented 6 years ago

-D 是干嘛的呢?

petronny commented 6 years ago
-D <dir>   Bind directory into build chroot as read-only

PS. 和cargo的那个-d类似,不过-d是rw这个是ro 就是要把提前准备好的git repo和submodule bind给chroot 不然chroot以后就看不到了

petronny commented 6 years ago

这个现在是测过的了