ios-xr / gisobuild

Golden ISO build tool for ios-xr
Other
28 stars 14 forks source link

chroot: failed to run command No such file or directory\n" #7

Open IvyIvy100 opened 3 years ago

IvyIvy100 commented 3 years ago

('\n', 'Exception:', <type 'exceptions.RuntimeError'>, RuntimeError("Error CMD=chroot /mnt/hgfs/aaa/tmpfMc211 rpm -qp --qf '%{NAME};%{VERSION};%{RELEASE};%{ARCH};%{PACKAGETYPE};%{PACKAGEPRESENCE};%{PIPD};%{CISCOHW};%{CARDTYPE};%{BUILDTIME};%{GROUP};%{VMTYPE};%{SUPPCARDS};%{PREFIXES};%{XRRELEASE};' asr9k-bng-x64-1.0.0.0-r702.x86_64.rpm returned --->chroot: failed to run command \xe2\x80\x98rpm\xe2\x80\x99: No such file or directory\n",)) Detail logs: /mnt/hgfs/aaa/Giso_build.log-2020-07-27:17:17:50.748757

Anyone knows how to solve this issue?

AlainMoretti commented 3 years ago

chroot requires root privileges If you run this script as root this issue is no longer seen