public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] /sbin/functions.sh missing in baselayout-lite
@ 2006-09-22 12:47 Jakub Ladman
  2006-09-22 22:28 ` René Rhéaume
  0 siblings, 1 reply; 6+ messages in thread
From: Jakub Ladman @ 2006-09-22 12:47 UTC (permalink / raw
  To: gentoo-embedded

Hi all

I have software (allready functional) which has init.d script to start, stop, 
test, e.t.c.

But this script depends on /etc/init.d/functions which is on my pc (not my 
real target) a symlink to /sbin/functions.sh

I have copied both script and symlink to my target's filesystem, but it fails 
on non existent bash shell

I use busybox shell

Is somewhere a version of functions.sh compatible with busybox shell, or i 
need to compile real bash?

Or something completely different?

Thank you.

Jakub Ladman
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] /sbin/functions.sh missing in baselayout-lite
  2006-09-22 12:47 [gentoo-embedded] /sbin/functions.sh missing in baselayout-lite Jakub Ladman
@ 2006-09-22 22:28 ` René Rhéaume
  2006-09-23  0:15   ` Natanael Copa
  0 siblings, 1 reply; 6+ messages in thread
From: René Rhéaume @ 2006-09-22 22:28 UTC (permalink / raw
  To: gentoo-embedded

Natanael Copa develops baselayout-alpine, a busybox-based base layout
able to use the standard Gentoo init scripts, in his Gentoo
distribution fork, Alpine Embedded Linux. He is also a regular on this
mailing list.

http://www.alpinelinux.org/mediawiki/index.php/Main_Page

Should we put the baselayout-alpine in the Embedded Gentoo project
overlay? I would like to try it on embedded Gentoo.
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] /sbin/functions.sh missing in baselayout-lite
  2006-09-22 22:28 ` René Rhéaume
@ 2006-09-23  0:15   ` Natanael Copa
  2006-09-23  3:42     ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Natanael Copa @ 2006-09-23  0:15 UTC (permalink / raw
  To: gentoo-embedded

On Fri, 2006-09-22 at 18:28 -0400, René Rhéaume wrote:
> Natanael Copa develops baselayout-alpine, a busybox-based base layout
> able to use the standard Gentoo init scripts, in his Gentoo
> distribution fork, Alpine Embedded Linux. He is also a regular on this
> mailing list.

Yes I am :)

> http://www.alpinelinux.org/mediawiki/index.php/Main_Page
> 
> Should we put the baselayout-alpine in the Embedded Gentoo project
> overlay? I would like to try it on embedded Gentoo.

What alpine-baselayout (former baselayout-alpine) gives you
is /sbin/runscript that will allow you to run most gentoo init.d
scripts. Some are very bash specific, easily fixed to run in busybox
shell (I havent bothered reporting those things as bugs since my
baselayout is not in portage. Many has trivial fixes)

It will also give you some init.d scripts for busybox applets (inetd,
watchdog, syslog, etc), loading modules.

The biggest differences is the debian style /etc/network/interfaces (I
use busybox stuff rather than trying to port the zillions gentoo
gawk/bash specifics)

I also have a sysv init style links to init.d scripts to tell what
services to start rather than trying to port the dependency tracking in
gentoo init scripts.

There are some gentoo irrelevant stuff too, like loading packages during
runtime.

You have an ebuild here:
rsync://rsync.alpinelinux.org/alpine-portage/sys-apps/alpine-baselayout

And the source here:
http://dev.alpinelinux.org/alpine/alpine-baselayout/alpine-baselayout-1.0.0.tar.gz

--
Natanael Copa

-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] /sbin/functions.sh missing in baselayout-lite
  2006-09-23  0:15   ` Natanael Copa
@ 2006-09-23  3:42     ` Mike Frysinger
  2006-09-23 11:34       ` Jakub Ladman
  2006-09-23 15:22       ` Natanael Copa
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Frysinger @ 2006-09-23  3:42 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Natanael Copa

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

On Friday 22 September 2006 20:15, Natanael Copa wrote:
> The biggest differences is the debian style /etc/network/interfaces (I
> use busybox stuff rather than trying to port the zillions gentoo
> gawk/bash specifics)

i wouldnt bother with the Gentoo network stuff from baselayout ...what we have 
is very powerful, dont get me wrong ... it's just that if you're size 
conscious, then your target hardware is probably going to have a very static 
network setup which means you can just hand write the friggin stuff and be 
done
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

* Re: [gentoo-embedded] /sbin/functions.sh missing in baselayout-lite
  2006-09-23  3:42     ` Mike Frysinger
@ 2006-09-23 11:34       ` Jakub Ladman
  2006-09-23 15:22       ` Natanael Copa
  1 sibling, 0 replies; 6+ messages in thread
From: Jakub Ladman @ 2006-09-23 11:34 UTC (permalink / raw
  To: gentoo-embedded

I have found 
http://sources.gentoo.org/viewcvs.py/gentoo/src/embedded/baselayout-lite/image/sbin/functions.sh, 
but my cross-emerge baselayout-lite does not install it.

This file copied to my filesystems seems to be fully functional.

Why emerge does not install this file?

Jakub Ladman

Dne sobota 23 září 2006 05:42 Mike Frysinger napsal(a):
> On Friday 22 September 2006 20:15, Natanael Copa wrote:
> > The biggest differences is the debian style /etc/network/interfaces (I
> > use busybox stuff rather than trying to port the zillions gentoo
> > gawk/bash specifics)
>
> i wouldnt bother with the Gentoo network stuff from baselayout ...what we
> have is very powerful, dont get me wrong ... it's just that if you're size
> conscious, then your target hardware is probably going to have a very
> static network setup which means you can just hand write the friggin stuff
> and be done
> -mike

-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] /sbin/functions.sh missing in baselayout-lite
  2006-09-23  3:42     ` Mike Frysinger
  2006-09-23 11:34       ` Jakub Ladman
@ 2006-09-23 15:22       ` Natanael Copa
  1 sibling, 0 replies; 6+ messages in thread
From: Natanael Copa @ 2006-09-23 15:22 UTC (permalink / raw
  To: Mike Frysinger; +Cc: gentoo-embedded

On Fri, 2006-09-22 at 23:42 -0400, Mike Frysinger wrote:
> On Friday 22 September 2006 20:15, Natanael Copa wrote:
> > The biggest differences is the debian style /etc/network/interfaces (I
> > use busybox stuff rather than trying to port the zillions gentoo
> > gawk/bash specifics)
> 
> i wouldnt bother with the Gentoo network stuff from baselayout ...what we have 
> is very powerful, dont get me wrong ... it's just that if you're size 
> conscious, then your target hardware is probably going to have a very static 
> network setup which means you can just hand write the friggin stuff and be 
> done

Then I think alpine-baselayout would be perfect for gentoo-embedded. It
uses busybox heavily (mdev instead of udev etc).

I can submit an ebuild to bugzilla (on monday)

btw... We are building a webconf to alpine, using haser/lua. Since most
configfiles are gentoo configs, it will probably work on gentoo-embedded
too.

> -mike

-- 
gentoo-embedded@gentoo.org mailing list



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

end of thread, other threads:[~2006-09-23 15:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-22 12:47 [gentoo-embedded] /sbin/functions.sh missing in baselayout-lite Jakub Ladman
2006-09-22 22:28 ` René Rhéaume
2006-09-23  0:15   ` Natanael Copa
2006-09-23  3:42     ` Mike Frysinger
2006-09-23 11:34       ` Jakub Ladman
2006-09-23 15:22       ` Natanael Copa

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