Run `build-image -c -a` twice, when building linux:
libudev-dev : Depends: libudev1 (= 247.3-6.stx.4) but 247.3-7 is to be installed
Parameter "-c" will clear repository deb-local-build thus all stx
binary packages been deleted. While in container pkgbuilder, its chroot
is taint that binary package libudev1 from previous build is still in
it. But all its brother packages stored in deb-local-build have been
deleted. Source package linux build depend on libudev-dev, so pkgbuilder
will try to install it into chroot. Now the only libudev-dev available
is the one from Debian upstream. Binary package libudev-dev strictly
runtime depends on binary package libudev1 with the same version, so
the upstream libudev1 is also required. But, in chroot, a higher version
libudev1 is already exist, thus cause this issue.
To workaround this issue, adjust the build order to build systemd
firstly.
Test Plan:
Pass: `build-image -c -a` twice
Story: 20082862
Task: 45154
Signed-off-by: ZhangXiao <xiao.zhang@windriver.com>
Change-Id: I7b7513ac7ffae93c8356c260218818c0aa96ba5d