Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC] Avoid make distclean to remove packages from rootfs
@ 2008-10-22 12:06 Roberto A. Foglietta
  2008-10-22 12:20 ` [Buildroot] [RFC] Avoid make distclean to remove packages fromrootfs John Schimandle
  2008-10-22 12:52 ` [Buildroot] [RFC] Avoid make distclean to remove packages from rootfs Bernhard Reutner-Fischer
  0 siblings, 2 replies; 11+ messages in thread
From: Roberto A. Foglietta @ 2008-10-22 12:06 UTC (permalink / raw)
  To: buildroot

2008/10/21 Roberto A. Foglietta <roberto.foglietta@gmail.com>:
> 2008/10/21 Roberto A. Foglietta <roberto.foglietta@gmail.com>:
>> Hi to all,
>>
>>  I never used buildroot before 5 days ago but it seems to me that once
>> a package has been activated in menuconfig a way to remove it from
>> rootfs is saving .configs, make distclean; make (i.e.: I compiled Xorg
>> modular and then I move on tinyx but tinyx keyboard was not working
>> because some incompatible craps remained on the rootfs).

 [cut]

>  A solution could be:
>
>  1) make checks for previous .config and un-install all removed packages (*)
>  2) make saves the current .config into
> project_build_$ARCH/$project_name/previous.config
>  3) people who lose some rootfs customization do it because they
> choose to remove packages (their fault)
>
>  (*) supposing all packages have a make uninstall which correctly work
> otherwise N patches would be delivered to achieve this result.
>

 A proof of concept of the proposed general solution is attached as
solution for bug report n.5564

 http://busybox.net/bugs/view.php?id=5564

 as you can see checkconfig.sh could be expanded to work on .config
changes and acts accordingly

 Cheers,
-- 
/roberto

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

end of thread, other threads:[~2008-10-28  6:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 12:06 [Buildroot] [RFC] Avoid make distclean to remove packages from rootfs Roberto A. Foglietta
2008-10-22 12:20 ` [Buildroot] [RFC] Avoid make distclean to remove packages fromrootfs John Schimandle
2008-10-22 12:48   ` Roberto A. Foglietta
2008-10-27 20:42   ` [Buildroot] [PATCH] " Roberto A. Foglietta
2008-10-27 20:49     ` Bernhard Reutner-Fischer
2008-10-27 21:11       ` Roberto A. Foglietta
2008-10-27 21:28         ` Bernhard Reutner-Fischer
2008-10-27 22:19           ` Roberto A. Foglietta
2008-10-28  1:04         ` Hamish Moffatt
2008-10-28  6:47           ` Roberto A. Foglietta
2008-10-22 12:52 ` [Buildroot] [RFC] Avoid make distclean to remove packages from rootfs Bernhard Reutner-Fischer

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