From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ceresoli Date: Tue, 12 Feb 2013 14:25:18 +0100 Subject: [Buildroot] [RFC] Removing CLEAN_CMDS and UNINSTALL_(STAGING|TARGET)_CMDS In-Reply-To: <1360363083-28747-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1360363083-28747-1-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: <511A42BE.8060506@lucaceresoli.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas Petazzoni wrote: > Hello, > > This is an RFC patch set to discuss whether or not we should keep the > _CLEAN_CMDS, _UNINSTALL_TARGET_CMDS and > _UNINSTALL_STAGING_CMDS. It is a topic that has been discussed at > various times in the past months/years. > > A lot of packages don't implement them, we generally don't ask for > them to be implemented when reviewing packages, and the uninstall > commands are generally never updated when a package version is bumped, > which means that they are probably bitrotting pretty quickly. We also > have no automated way of testing these commands. > > That said, it is true that the -clean target might be useful for > some use cases. However, is -uninstall really useful, considering > that it doesn't take into account the removal of the reverse > dependencies? > > Again, this patch set is not meant to be applied as is, it is here to > get the discussion started. Sending the patches with it is simply a > way to ensure that the discussion is considered seriously :-) Never used this feature. For development it is not necessary to have a perfectly stripped down rootfs. For releases, as well as after important package bumps, i just do: git clean -xdf ; make foo_defconfig ; make With ccache the build time is reasonable. Acked-by: Luca Ceresoli Tested-by: Luca Ceresoli Luca