[Clfs-support] Clfs-support Digest, Vol 109, Issue 1

akhiezer lfs65 at cruziero.com
Sat Jul 1 11:36:11 PDT 2017


> From: Alessandro Pistocchi <apukfreelance at gmail.com>
> Date: Sat, 1 Jul 2017 18:28:40 +0200
>


Don't top-post.


> Well, the fact is that to me netplug doesn't seem to work. Shouldn't it work pretty much outside of the box?
>
> I thought it could be related to not having those scripts...
>
> Also, during make install I get a couple of errors "abort: no repository found in ...". They seem harmless but are they supposed to happen?
>
[...]
> > 
> > Message: 1
> > Date: Sat, 1 Jul 2017 13:31:13 +0200
> > From: Alessandro Pistocchi <apukfreelance at gmail.com>
[...]
> > 
> > I am going through CLFS embedded for ARM.
> > 
> > Everything is fine so far with the exception of section 8.5.2
> > 
> > In the clfs-bootscripts package there does not seem to be anything related to netplug.
> > 
> > I looked online and someone asked the same question years ago.
> > The netplug script was actually missing.
> > There was a link to a git commit where it was added but the link is dead.
> > 
> > Can anyone help?
> > 
[...]
> > ------------------------------
> > 
> > Message: 2
> > Date: Sat, 01 Jul 2017 14:54:11 +0100
> > From: lfs65 at cruziero.com (akhiezer)
[...]
> > 
> > AIUI, there isn't one in the book.
> > 
> > 
> > Re links not working: try changing the 'cross-lfs' to 'clfs'; domains
> > changes a while back.
> > 
> > E.g. (re the mailing-list thread from ca '2014-09-20 00:46:38 UTC') :
> > ==
> > *  trac.cross-lfs.org/ticket/984
> >   ->
> >   trac.clfs.org/ticket/984
> > 
> > * http://git.cross-lfs.org/?p=clfs-embedded.git;a=commit;h=2864f08d4d162e71e87ce7ef0c2e2439cf06dd8f
> >  ->
> >  http://git.clfs.org/?p=clfs-embedded.git;a=commit;h=2864f08d4d162e71e87ce7ef0c2e2439cf06dd8f
> > ==
> > 
[...]
> > ------------------------------
> > 
> > Message: 3
> > Date: Sat, 01 Jul 2017 15:10:28 +0100
> > From: lfs65 at cruziero.com (akhiezer)
[...]
> > 
> > Further to other reply: are the scripts in the package, usable or at
> > least adaptable for you?
> > ---
> >  netplug-1.2.9.2/scripts/netplug
> >  netplug-1.2.9.2/scripts/rc.netplugd
> > ---
> > 
> > 
> > netplug-1.2.9.2/Makefile :
> > ===
> >    .
> >    .
> >    install $(install_opts) -m 755 scripts/netplug $(DESTDIR)/$(scriptdir)
> >    install $(install_opts) -m 755 scripts/rc.netplugd $(DESTDIR)/$(initdir)/netplugd
> >    .
> >    .
> > ===
> > 


Re the 'abort: no repo...' msgs: they're likely seen for 'make' too,
and are of the form:
---
  abort: no repository found in '____________/netplug-1.2.9.2' (.hg not found)!
---


They arise from the Makefile lines:
==
hg_root := $(shell hg root)
	.
	.
tar_file := $(hg_root)/$(tar_root).tar.bz2
files := $(shell hg manifest)
	.
	.
==
Those lines are basically for the 'tarball' ('make a tarball') target.


I guess for clfs-embedded they could be ifdef'd or otherwise adjusted,
or simply commented-out.


Meantime, they can be just commented-out - e.g. :
========
#hg_root := $(shell hg root)
#tar_root := netplug-$(version)
#tar_file := $(hg_root)/$(tar_root).tar.bz2
#files := $(shell hg manifest)
#
#tarball: $(tar_file)
#
#$(tar_file): $(files)
#       mkdir -p $(hg_root)/$(tar_root)
#       echo $(files) | tr ' ' '\n' | \
#         xargs -i cp -a --parents {} $(hg_root)/$(tar_root)
#       tar -C $(hg_root) -c -f - $(tar_root) | bzip2 -9 > $(tar_file)
#       rm -rf $(hg_root)/$(tar_root)
========


Re 'the fact is that to me netplug doesn't seem to work': what _do_
you see; what commands are you issuing; and what messages &/or behaviour
are you getting.



akh





--



More information about the Clfs-support mailing list