public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Updating embedded systems
@ 2007-01-20 12:51 Ed W
  2007-01-20 14:24 ` Natanael Copa
  2007-01-21 17:22 ` [gentoo-embedded] Updating embedded systems Jose Alberto
  0 siblings, 2 replies; 9+ messages in thread
From: Ed W @ 2007-01-20 12:51 UTC (permalink / raw
  To: gentoo-embedded

I'm considering building a really stripped down environment to run 
Asterisk on an epia based machine.  There are actually quite a lot of 
resources available on this box so it's not quite "embedded", but I was 
wondering what the recommended ways are of distributing updated packages 
if I went down either the GNAP route, or simply built a tiny system 
using ROOT=...?

I notice the post previously which mentioned qmerge (which I hadn't 
previously heard of).  Is this the best/only option?  How do others 
update a base system once built?

Grateful for some pointers to research further

Ed W
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] Updating embedded systems
  2007-01-20 12:51 [gentoo-embedded] Updating embedded systems Ed W
@ 2007-01-20 14:24 ` Natanael Copa
  2007-01-22  1:09   ` [gentoo-embedded] odd behavior in '$SYSROOT' Christopher Friedt
  2007-01-21 17:22 ` [gentoo-embedded] Updating embedded systems Jose Alberto
  1 sibling, 1 reply; 9+ messages in thread
From: Natanael Copa @ 2007-01-20 14:24 UTC (permalink / raw
  To: gentoo-embedded

On Sat, 2007-01-20 at 12:51 +0000, Ed W wrote:
> I'm considering building a really stripped down environment to run 
> Asterisk on an epia based machine.  There are actually quite a lot of 
> resources available on this box so it's not quite "embedded", but I was 
> wondering what the recommended ways are of distributing updated packages 
> if I went down either the GNAP route, or simply built a tiny system 
> using ROOT=...?
> 
> I notice the post previously which mentioned qmerge (which I hadn't 
> previously heard of).  Is this the best/only option?  How do others 
> update a base system once built?

I use portage only in the build system (chroot on my desktop) I make
binary packages that I convert to my own format
(http://apk-tools.sourceforge.net) That way I can append a
pre-install/post-install/pre-upgrade/post-upgrade script and easily
install/delete/upgrade packages in the runtime system.

http://alpinelinux.org

(It has packages for asterisk too btw...)

> 
> Grateful for some pointers to research further
> 
> Ed W

-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] Updating embedded systems
  2007-01-20 12:51 [gentoo-embedded] Updating embedded systems Ed W
  2007-01-20 14:24 ` Natanael Copa
@ 2007-01-21 17:22 ` Jose Alberto
  2007-01-25 17:36   ` Ed W
  1 sibling, 1 reply; 9+ messages in thread
From: Jose Alberto @ 2007-01-21 17:22 UTC (permalink / raw
  To: gentoo-embedded

I'm workin in the next version of GNAP, it will support SquasFS packages
and upgrade system :)

so i recommend you GNAP.

regards

El sáb, 20-01-2007 a las 12:51 +0000, Ed W escribió:
> I'm considering building a really stripped down environment to run 
> Asterisk on an epia based machine.  There are actually quite a lot of 
> resources available on this box so it's not quite "embedded", but I was 
> wondering what the recommended ways are of distributing updated packages 
> if I went down either the GNAP route, or simply built a tiny system 
> using ROOT=...?
> 
> I notice the post previously which mentioned qmerge (which I hadn't 
> previously heard of).  Is this the best/only option?  How do others 
> update a base system once built?
> 
> Grateful for some pointers to research further
> 
> Ed W

-- 
gentoo-embedded@gentoo.org mailing list



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

* [gentoo-embedded] odd behavior in '$SYSROOT'
  2007-01-20 14:24 ` Natanael Copa
@ 2007-01-22  1:09   ` Christopher Friedt
  0 siblings, 0 replies; 9+ messages in thread
From: Christopher Friedt @ 2007-01-22  1:09 UTC (permalink / raw
  To: gentoo-embedded

I'm using the xmerge idea that was posted online, but I've noticed
something I found quite odd:

after emerging a toolchain w/ crossdev, and then using xmerge to build /
install packages, I noticed that $SYSROOT/lib and $SYSROOT/usr/lib were
linked to /usr/<toolchain>/lib and /usr/<toolchain>/usr/lib, respectively.

ls -la $SYSROOT/ $SYSROOT/usr/ | grep "lib"

lib -> ../usr/arm-9tdmi-linux-gnu/lib
lib -> ../../usr/arm-9tdmi-linux-gnu/usr/lib

It affects me quite badly in particular because I have been working on a
build system that is intended to support multiple target architectures,
multiple configurations for each target, as well as multiple profiles
for each configuration. (configurations could be client-specific, and
profiles are 'package.{use,keyword}' variant, for instance 'stable',
'devel').

Does anyone know why the libraries are set up in this manner, and not
just copied as one would expect to legitimate directories? I appreciate
that it makes cross-compilation much easier, however, wouldn't the
proper handling of it be to actually copy the files to their intended
directories (maybe add another -L / -I option in to <arch>-gcc commands?)

How would I go about fixing this? Is this something deeply engrained in 
Portage?

~/Chris

-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] Updating embedded systems
  2007-01-21 17:22 ` [gentoo-embedded] Updating embedded systems Jose Alberto
@ 2007-01-25 17:36   ` Ed W
  2007-01-25 17:48     ` Sune Kloppenborg Jeppesen
  2007-01-30  8:27     ` josé Alberto Suárez López
  0 siblings, 2 replies; 9+ messages in thread
From: Ed W @ 2007-01-25 17:36 UTC (permalink / raw
  To: gentoo-embedded

Jose Alberto wrote:
> I'm workin in the next version of GNAP, it will support SquasFS packages
> and upgrade system :)
>
> so i recommend you GNAP.
>   

Cool.  I like the idea of GNAP anyway

Have you a pointer to what a SquasFS package is?  (SquashFS?)  I'm guess 
that it's probably a unionFs arrangement of multiple SquashFS 
partitions.  Presumably you just drop the changes on top and they mask 
out the old stuff?

Actually my use is for more of a stripped down system, eg Epia box with 
a HD.  Probably I don't have such tight requirements as a truly embedded 
system, it's mainly that I like Gentoo in general, but want to avoid 
having a compiler and 800MB of portage files on my distribution box, yet 
still be able to update packages

The intended use was to host FreePbx, ie I will need Asterisk, plus some 
heavyweight webserver which supports PHP, eg Apache

Cheers

Ed W
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] Updating embedded systems
  2007-01-25 17:36   ` Ed W
@ 2007-01-25 17:48     ` Sune Kloppenborg Jeppesen
  2007-01-26 10:06       ` Ed W
  2007-01-30  8:27     ` josé Alberto Suárez López
  1 sibling, 1 reply; 9+ messages in thread
From: Sune Kloppenborg Jeppesen @ 2007-01-25 17:48 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Ed W

On Thursday 25 January 2007 18:36, Ed W wrote:
> The intended use was to host FreePbx, ie I will need Asterisk, plus some
> heavyweight webserver which supports PHP, eg Apache
I have a GNAP based image with Asterisk/Lighttpd/PHP. If you have any 
questions just as.

HTH

-- 
Sune Kloppenborg Jeppesen (Jaervosz)
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] Updating embedded systems
  2007-01-25 17:48     ` Sune Kloppenborg Jeppesen
@ 2007-01-26 10:06       ` Ed W
  2007-01-26 11:59         ` Sune Kloppenborg Jeppesen
  0 siblings, 1 reply; 9+ messages in thread
From: Ed W @ 2007-01-26 10:06 UTC (permalink / raw
  To: gentoo-embedded

Hi

> I have a GNAP based image with Asterisk/Lighttpd/PHP. If you have any 
> questions just as.
>   

OK, well lets start with "how did you do it?"...

Is it more complicated than simply asking for those packages to end up 
on the image?  If so what were the main challenges?

Just a brief overview!

Cheers

Ed W

-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] Updating embedded systems
  2007-01-26 10:06       ` Ed W
@ 2007-01-26 11:59         ` Sune Kloppenborg Jeppesen
  0 siblings, 0 replies; 9+ messages in thread
From: Sune Kloppenborg Jeppesen @ 2007-01-26 11:59 UTC (permalink / raw
  To: gentoo-embedded

On Friday 26 January 2007 11:06, Ed W wrote:
> Hi
>
> > I have a GNAP based image with Asterisk/Lighttpd/PHP. If you have any
> > questions just as.
>
> OK, well lets start with "how did you do it?"...
>
> Is it more complicated than simply asking for those packages to end up
> on the image?  If so what were the main challenges?
>
> Just a brief overview!
Well most of the issues I've had have been fixed upstream now. However I still 
have a few problems with asterisk-addons not compiling against uclibc. I have 
a patch that I don't think is in Portage for the latest version. Poke me if 
that is a problem for you.

Also note that some of the packages depends on the kernel so you have to put 
them in boot/kernel/gentoo/packages: in livecd.conf

Otherwise it's pretty straightforward unless I'm forgetting something.

Just ask if you need any help.
-- 
Sune Kloppenborg Jeppesen (Jaervosz)
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] Updating embedded systems
  2007-01-25 17:36   ` Ed W
  2007-01-25 17:48     ` Sune Kloppenborg Jeppesen
@ 2007-01-30  8:27     ` josé Alberto Suárez López
  1 sibling, 0 replies; 9+ messages in thread
From: josé Alberto Suárez López @ 2007-01-30  8:27 UTC (permalink / raw
  To: gentoo-embedded

El jue, 25-01-2007 a las 17:36 +0000, Ed W escribió:
> Jose Alberto wrote:
> > I'm workin in the next version of GNAP, it will support SquasFS packages
> > and upgrade system :)
> >
> > so i recommend you GNAP.
> >   
> 
> Cool.  I like the idea of GNAP anyway
> 
> Have you a pointer to what a SquasFS package is?  (SquashFS?)  I'm guess 
> that it's probably a unionFs arrangement of multiple SquashFS 
> partitions.  Presumably you just drop the changes on top and they mask 
> out the old stuff?
sorry, i mean SquashFS packages :) Are precompiled pkgs, you just drop
it in a rw partition of the CF or HD and them will expand itself in the
init of the system. So will be very easy to upgrade only some parts of
the system

> 
> Actually my use is for more of a stripped down system, eg Epia box with 
> a HD.  Probably I don't have such tight requirements as a truly embedded 
> system, it's mainly that I like Gentoo in general, but want to avoid 
> having a compiler and 800MB of portage files on my distribution box, yet 
> still be able to update packages
> 
> The intended use was to host FreePbx, ie I will need Asterisk, plus some 
> heavyweight webserver which supports PHP, eg Apache
> 
> Cheers
> 
> Ed W


-- 
gentoo-embedded@gentoo.org mailing list



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

end of thread, other threads:[~2007-01-30 12:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-20 12:51 [gentoo-embedded] Updating embedded systems Ed W
2007-01-20 14:24 ` Natanael Copa
2007-01-22  1:09   ` [gentoo-embedded] odd behavior in '$SYSROOT' Christopher Friedt
2007-01-21 17:22 ` [gentoo-embedded] Updating embedded systems Jose Alberto
2007-01-25 17:36   ` Ed W
2007-01-25 17:48     ` Sune Kloppenborg Jeppesen
2007-01-26 10:06       ` Ed W
2007-01-26 11:59         ` Sune Kloppenborg Jeppesen
2007-01-30  8:27     ` josé Alberto Suárez López

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