* [Buildroot] make clean;make fails
@ 2008-05-08 13:01 Hodgson, Simon
2008-05-08 13:23 ` Arnar Mar Sig
2008-05-08 13:43 ` Will Wagner
0 siblings, 2 replies; 3+ messages in thread
From: Hodgson, Simon @ 2008-05-08 13:01 UTC (permalink / raw
To: buildroot
Hi There,
I'm trying to remove some packages from my buildroot to free up some diskspace.
First, I noticed if I do 'make menuconfig' remove the packages then 'make' they don't actually get removed from the rootfs disk image.
So then I thought I'd try 'make clean', 'make' but it would appear this doesn't put all the necessary stuff into project_build_arm/at91sam9260dfc/root/ (e.g. /usr/bin directory is missing, /etc/shadow file is missing amongst others)
Is this is bug in the buildroot system, or something I'm doing wrong?
Thanks
Simon
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] make clean;make fails
2008-05-08 13:01 [Buildroot] make clean;make fails Hodgson, Simon
@ 2008-05-08 13:23 ` Arnar Mar Sig
2008-05-08 13:43 ` Will Wagner
1 sibling, 0 replies; 3+ messages in thread
From: Arnar Mar Sig @ 2008-05-08 13:23 UTC (permalink / raw
To: buildroot
On May 8, 2008, at 1:01 PM, Hodgson, Simon wrote:
> Hi There,
>
> I'm trying to remove some packages from my buildroot to free up some
> diskspace.
>
> First, I noticed if I do 'make menuconfig' remove the packages then
> 'make' they don't actually get removed from the rootfs disk image.
There is no standard deinstall/remove for packages in buildroot (that
I know off), some packages have rules to remove them, but not all.
> So then I thought I'd try 'make clean', 'make' but it would appear
> this doesn't put all the necessary stuff into project_build_arm/
> at91sam9260dfc/root/ (e.g. /usr/bin directory is missing, /etc/
> shadow file is missing amongst others)
>
> Is this is bug in the buildroot system, or something I'm doing wrong?
/etc/shadow and most /etc files are installed from the target_skelaton
you are using, and that depends on the Device target you are building
for.
/usr/bin is only created if needed by packages, so if it isin't there,
no packages needed it.
Arnar Mar Sig
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] make clean;make fails
2008-05-08 13:01 [Buildroot] make clean;make fails Hodgson, Simon
2008-05-08 13:23 ` Arnar Mar Sig
@ 2008-05-08 13:43 ` Will Wagner
1 sibling, 0 replies; 3+ messages in thread
From: Will Wagner @ 2008-05-08 13:43 UTC (permalink / raw
To: buildroot
<snip>
> So then I thought I'd try 'make clean', 'make' but it would appear this doesn't put all the necessary stuff into project_build_arm/at91sam9260dfc/root/ (e.g. /usr/bin directory is missing, /etc/shadow file is missing amongst others)
>
> Is this is bug in the buildroot system, or something I'm doing wrong?
>
I have also found that this leaves you with a non-working buildroot. I
think it is a bug but have never had the time to investigate exactly
what is broken.
Doing a make dirclean as well before the make seems to get you a working
again.
Will
--
------------------------------------------------------------------------
Will Wagner will_wagner at carallon.com
Senior Project Engineer Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-08 13:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 13:01 [Buildroot] make clean;make fails Hodgson, Simon
2008-05-08 13:23 ` Arnar Mar Sig
2008-05-08 13:43 ` Will Wagner
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.