On Wed, Feb 27, 2019 at 09:06:38PM +0100, Jean-Christian de Rivaz wrote: > Thank you very much Tom for help. Here is my complete method: > > git clone git://git.yoctoproject.org/poky -b thud > cd poky > cat << EOF > meta-poky/conf/distro/poky-ng.conf > require conf/distro/poky.conf > DISTRO = "poky-ng" > > # Switch to systemd > DISTRO_FEATURES += "systemd" > VIRTUAL-RUNTIME_init_manager = "systemd" > VIRTUAL-RUNTIME_initscripts = "" > VIRTUAL-RUNTIME_syslog = "" > VIRTUAL-RUNTIME_login_manager = "shadow-base" > DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" > > # Replace busybox > PREFERRED_PROVIDER_virtual/base-utils = "coreutils" > VIRTUAL-RUNTIME_base-utils = "coreutils" > VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock" > VIRTUAL-RUNTIME_base-utils-syslog = "" > EOF > source oe-init-build-env > sed -i 's/^DISTRO.*/DISTRO = "poky-ng"/' conf/local.conf > bitbake core-image-minimal > runqemu core-image-minimal kvm > > So as expected systemd is there and busybox is not. But there is a lot of > useful commands missing on the resulting QEMU image: > > root@qemux86:~# ps > ~sh: ps: command not found > root@qemux86:~# w > ~sh: w: command not found > root@qemux86:~# find > ~sh: find: command not found > root@qemux86:~# grep > ~sh: grep: command not found > root@qemux86:~# ip addr > ~sh: ip: command not found > > I expected that all the limited busybox commands would be replaced by > the full > featured commands. How to fix that ?
Correct, you're missing a lot of stuff. Somewhere on my (and other folks too) TODO list is a packagegroup that includes procps and psmisc and grep and tar and various network packages and less and more and... -- Tom
signature.asc
Description: PGP signature
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto