| Summary: | [rpm] On-device rpm postinsts don't say where they came from | ||
|---|---|---|---|
| Product: | [Runtime] Package Management Issues | Reporter: | Ross Burton <ross.burton> |
| Component: | RPM | Assignee: | Kai Kang <kai.kang> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | kai.kang, meta.mr.watcher, meta.watcher, yi.zhao |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M5 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
Name the post-install script file name with its package name. Merged in Yocto b7cb3809309d2093990f8b6f930e96c7db827cee Verified with master branch: 4da406cd50cf02a63ed76810a670aba1eb561c79 |
The first-boot post install scripts are numbered instead of named after the package that installed them, which is troublesome when there's a bug: Running postinst /etc/rpm-postinsts/100... Running postinst /etc/rpm-postinsts/101... usage: update-rc.d [-n] [-f] [-r <root>] <basename> remove update-rc.d [-n] [-r <root>] [-s] <basename> defaults [NN | sNN kNN] update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] . -n: not really -f: force -v: verbose -r: alternate root path (default is /) -s: invoke start methods if appropriate to current runlevel ERROR: postinst /etc/rpm-postinsts/101 failed. Running postinst /etc/rpm-postinsts/102... (gtk-update-icon-cache:1220): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.1 0.0/loaders.cache': No such file or directory ... 101 is actually busybox-hwclock and that's a known problem. I just wish I knew what 102 was without digging into the rootfs.