mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +00:00
9f102879fb
A cross-built deb links against the target's loader and libraries, neither of which exists on the build host, so a binary that cannot run still produces a green build. The rpm side installs the package into the mock chroot and runs -V there; the deb side had no smoke at all. build_deb_in_chroot now takes an optional smoke: it installs the produced deb with apt-get inside the chroot that built it, runs the named command and matches its output. apt-get rather than dpkg -i, so a wrong or missing Depends fails here instead of on a node. --skip-install drops the smoke.