Openembedded Core Discussions
 help / color / mirror / Atom feed
* meta/lib/oe/rootfs.py: dont' remove any packages by default
@ 2015-07-31  6:56 Robert Yang
  2015-07-31 10:46 ` Paul Eggleton
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Yang @ 2015-07-31  6:56 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Currently, the rootfs.py removes base-passwd, shadow, update-rc.d,
update-alternatives and run-postinsts when package-management not
in IMAGE_FEATURES, this causes two problems:

1) This makes we can't install the removed pkgs to rootfs, such as
    IMAGE_INSTALL_append = " shadow", the shadow can't installed (first
    installed, then removed)

2) The base-passwd has been removed, but the /etc/passwd and /etc/group
    are still existed since they are generated by preinst, this would
    confuse the user, and we can't add a postuninst to remove /etc/passwd
    and /etc/group since they are required when runtime.

I think that we should not remove any pkgs by default, we can add some
interfaces/ways to let the user decide whether to remove them or any
other pkgs, for example, add a REMOVE_PACKAGS variable, leave it as NULL
or only add run-postinsts to it by default.

-- 
Thanks

Robert


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

end of thread, other threads:[~2015-08-05 10:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31  6:56 meta/lib/oe/rootfs.py: dont' remove any packages by default Robert Yang
2015-07-31 10:46 ` Paul Eggleton
2015-07-31 11:05   ` Jack Mitchell
2015-07-31 11:09   ` Nicolas Dechesne
2015-07-31 11:12     ` Paul Eggleton
2015-07-31 12:01       ` Nicolas Dechesne
2015-08-01  3:57   ` Robert Yang
2015-08-05 10:23     ` Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox