diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 22:31:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-12 00:24:35 +0100 |
commit | 0923ee40ae59133c91a95e0727eb1ab95aca13b8 (patch) | |
tree | 08ef598967bfb7b1634652bc5164591643421d2f /meta/conf/primport.conf | |
parent | 9789ed626bc69f348b55cfa5f1a79abbdc994204 (diff) | |
download | poky-0923ee40ae59133c91a95e0727eb1ab95aca13b8.tar.gz |
package_rpm: Fix useradd preinst ordering issues1.2_M4.rc3
We were already having occasional ordering issues with package_rpm.
Fixing the ldconfig postinstall issue pushed rpm over the cliff and
totally broke rpm builds with the packages getting installed in
effectively a random order and the useradd preinstalls getting executed
out of order and breaking.
The only explanation I can find for this is that rpm is special. It will
happily run a preinst for a package without any of that package's
dependencies being present regardless of whether there are any circular
dependency issues or not. I attempted various ways of solving this such
as ordering the total_solution.manifest in creative ways but the bottom
line is RPM ignores this. It takes little account of any request to
ignore /bin/sh dependencies for the purposes of constructing the final
image.
The end result is we're having to install the base-passwd, base-files
and shadow packages first (if there is a request to install them), then
install any other packages.
It this wasn't in the middle of a release I'd be rewriting this bbclass
file, its horrible.
(From OE-Core rev: 2c136255a7db8c57ab595a9c2ee1f32aebefc480)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/primport.conf')
0 files changed, 0 insertions, 0 deletions