[ELDK] Just starting - ipkg errors
Wolfgang Denk
wd at denx.de
Mon Aug 5 12:39:14 CEST 2013
Dear Larry,
In message <AD13F680-3F58-44AD-B0A5-6CFA6D187BE1 at usgs.gov> you wrote:
>
> I have installed the ELDK-5.3 basic rootfs for armv5te. I wrote it to a
> USB stick, and it boots fine on my hardware. Great so far. Now, I want
> to customize the installed packages and configure the services.
>
> 1) I tried the command given in the FAQ
> (http://www.denx.de/wiki/view/ELDK-5/FrequentlyAskedQuestionsAndAnswers)
> to list the packages in the rootfs. I get nothing.
I guess by "basic rootfs" you refer to the core-image-basic image?
Well, the "basic" in the name really means what it says: this is a
root file system which contains just the very basic tools needed to
run a system. Package management is not considered such a basic tool,
so it is not included here. And without a package database you cannot
get any package information.
> I also get nothing when I leave out the -o option to list what is on the
> host.
Ditto - there is simply no information there that could be listed.
> 2) How do I start/stop services and enable/disable services? On CentOS,
> the "service" command starts/stops services, the "chkconfig" command
> enables/disables services. On Arch, it seems to all be done by the
> "systemctl" command. What are the ELDK equivalent procedures?
This depends which type of init system you install in your root file
system. For example, the core-image-basic image uses a SystemV style
init, so to start a service you would use "sh /etc/init.d/<name> start";
to enable the service for a specific runlevel you would create a S*
symlink in the respective /etc/rcX.d/ directory (i. e. do manually
what "chkconfig" resp. "service" would do).
> 3) Relating to my question 2, can/are either or both of these done on
> the host (chkconfig only on the host, not service, of course), or the
> target (both)? I would like to be able to configure the services on the
> host, and both configure and control the services on the target.
Both "chkconfig" and "service" are very simple tools. "chkconfig" is
part of the chkconfig package; if you want it included with your root
file system, you can add the chkconfig recipy to your machine
configuration. "service" is but a shell script...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How many seconds are there in a year? If I tell you there are 3.155 x
10^7, you won't even try to remember it. On the other hand, who could
forget that, to within half a percent, pi seconds is a nanocentury.
- Tom Duff, Bell Labs
More information about the eldk
mailing list