root@WRL6:/# zgrep -q CONFIG_X86_32=y /proc/config.gz /usr/bin/zgrep: line 230: /usr/bin/grep: No such file or directory root@WRL6:/# which grep /bin/grep
Create a link (/usr/bin/grep) to /bin/grep for the "zgrep" command
1. Build KVM host kernel and rootfs
/wrlinux60/dvd_install/lx25_13fa/wrlinux-6/wrlinux/configure \
--enable-board=intel-x86-64 \
--enable-kernel=standard \
--enable-rootfs=glibc_std \
--with-template=feature/kvm \
--with-layer=/buildarea2/lliu2/wr-testing/virtualization \
--enable-jobs=18 \
--enable-parallel-pkgbuilds=18
make fs
2. Load images to the target (barcode:20990)
3. Run the command of "zgrep"