All of lore.kernel.org
 help / color / mirror / Atom feed
* Installation order question with RPM backend
@ 2012-04-11 15:14 Xu, Dongxiao
  2012-04-11 15:25 ` Mark Hatle
  0 siblings, 1 reply; 8+ messages in thread
From: Xu, Dongxiao @ 2012-04-11 15:14 UTC (permalink / raw)
  To: Mark Hatle; +Cc: yocto, scott.a.garman

Hi Mark,

I met a strange issue while using RPM to generate the rootfs.

In the installation list, if we have 2 RPM packages, say A.rpm and
B.rpm. package A RDEPENDS on package B. While installing the two
packages? Does RPM ensures to install B first and then install A?

The real issue is: we have certain packages that need to run
useradd/groupadd at rootfs time, for example, the dbus. However the
useradd/groupadd bbclass RDEPENDS on base-files, which provides
the /etc/group file. While installing the final image, sometimes we saw
it installs dbus firstly and then base-files, causing the
useradd/groupadd script error since it could not find /etc/group file.

I tried ipk and it doesn't have problem since it ensures to install
base-files firstly.

Any comment is welcome.

Thanks,
Dongxiao



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-11 16:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 15:14 Installation order question with RPM backend Xu, Dongxiao
2012-04-11 15:25 ` Mark Hatle
2012-04-11 15:37   ` Xu, Dongxiao
2012-04-11 15:45     ` Mark Hatle
2012-04-11 15:51       ` Xu, Dongxiao
2012-04-11 15:56         ` Mark Hatle
2012-04-11 16:04           ` Xu, Dongxiao
2012-04-11 16:06           ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.