Gentoo Archives: gentoo-embedded

From: Natanael Copa <natanael.copa@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] include baselayout in initramfs
Date: Mon, 01 Oct 2007 06:49:30
Message-Id: 1191220777.9722.4.camel@nc.nor.wtbts.org
In Reply to: Re: [gentoo-embedded] include baselayout in initramfs by Siong-Ui Te
1 On Mon, 2007-10-01 at 11:14 +0800, Siong-Ui Te wrote:
2 > I found temporary solution to this.
3 > Here is my /init:
4 > ---
5 > #!/bin/ash
6 > umask 022
7 > exec <dev/console >dev/console 2>&1
8 > exec chroot . /sbin/init
9 >
10 > ---
11 > and I modified rootfs in /etc/fstab as following
12 > / / tmpfs noatime 0 0
13 >
14 > However, I encountered another problem.
15 > The initscripts shows the following messages:
16 > /lib/udev/modprobe.sh: /etc/init.d/functions.sh: line 10: declare: not
17 > found
18 >
19 > any suggestions?
20
21 This is a bash thing. I think you would need baselayout-2 to do this
22 without bash.
23
24 -nc
25
26
27 --
28 gentoo-embedded@g.o mailing list