A bug in the pkg-diff.sh script that compares the RPM packages: the script ignores missing rpm utilities (rpm, rpm2cpio) and reports false identical packages. The script works as expected when the rpm utilities are present but the number of different packages between 2 builds is very large. Script's location: bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/pkg-diff.sh An rcpl5 build, generates 3000 odd packages and then when followed by a rcpl 13 build the number of packages increase to 7000. (i-e always almost twice number of rpm packages) The expected behavior is that between rcpl 5 and 13, the number of rpm packages that changed are few.
1. You first need a managed build project Follow the instruction from "Wind River Linux Toolchain and Build System User's Guide, 8.0" 2. Configure a wrlinux-8.0.0.5 platform project using the script ./scripts/configure-project.sh --enable-board=qemuppc --enable-kernel=standard --enable-rootfs=glibc-small --enable-bootimage=cpio.gz.u-boot --enable-rm-oldimgs=yes --with-template=feature/mbp-project --enable-internet-download=yes --with-rcpl-version=0005 --enable-reconfig 3. build make -C project 4. Deploy ./scripts/deploy-project.sh 5. create commit ./scripts/commit-project.sh "managed build rcpl0005" 6. distclean the kernel cd project/ make -C build linux-windriver.distclean 7. Save the feed (to be compared with the one after upgrading) cd - cd deploy/feed/ tree . > feed_rcpl5.txt 8. Upgrade to RCPL 11 or 13 ./scripts/upgrade-project.sh --enable-board=qemuppc --enable-kernel=standard --enable-rootfs=glibc-small --enable-bootimage=cpio.gz.u-boot --enable-rm-oldimgs=yes --with-template=feature/mbp-project --enable-internet-download=yes --with-rcpl-version=0013 9. build wrl-8.0.0.11 (or 13) make -C project 10. Save the feed cd deploy/feed/ tree . > feed_rcpl13.txt 11. Deploy ./scripts/deploy-project.sh 12.create commit ./scripts/commit-project.sh "managed build rcpl0013"