Re: [OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

2015-08-05 Thread Paul Eggleton
On Saturday 01 August 2015 11:57:58 Robert Yang wrote: > On 07/31/2015 06:46 PM, Paul Eggleton wrote: > > Hi Robert, > > > > On Friday 31 July 2015 14:56:15 Robert Yang wrote: > >> Currently, the rootfs.py removes base-passwd, shadow, update-rc.d, > >> update-alternatives and run-postinsts when pa

Re: [OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

2015-07-31 Thread Robert Yang
On 07/31/2015 06:46 PM, Paul Eggleton wrote: Hi Robert, On Friday 31 July 2015 14:56:15 Robert Yang wrote: 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

Re: [OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

2015-07-31 Thread Nicolas Dechesne
On Fri, Jul 31, 2015 at 1:12 PM, Paul Eggleton wrote: >> I am not sure to understand the relationship between runtime package >> management, and adding/removing users? Why would no runtime package >> management, imply no need to add/remove users? > > I guess the underlying assumption is that if yo

Re: [OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

2015-07-31 Thread Paul Eggleton
Hi Nicolas, On Friday 31 July 2015 13:09:29 Nicolas Dechesne wrote: > On Fri, Jul 31, 2015 at 12:46 PM, Paul Eggleton > > wrote: > >> 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,

Re: [OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

2015-07-31 Thread Nicolas Dechesne
On Fri, Jul 31, 2015 at 12:46 PM, Paul Eggleton wrote: >> 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-po

Re: [OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

2015-07-31 Thread Jack Mitchell
On 31/07/15 11:46, Paul Eggleton wrote: Hi Robert, On Friday 31 July 2015 14:56:15 Robert Yang wrote: 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

Re: [OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

2015-07-31 Thread Paul Eggleton
Hi Robert, On Friday 31 July 2015 14:56:15 Robert Yang wrote: > 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

[OE-core] meta/lib/oe/rootfs.py: dont' remove any packages by default

2015-07-30 Thread Robert Yang
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'