Comments (10)
try https://salsa.debian.org/debian/olsrd
from olsrd.
Thanks for the link.
I have a fork of OLSRd, so I tried the following. Unfortunately it didn't work.
git clone <myForkedRepo.git>
cd olsrd
git checkout <myBranch>
mkdir debbuild
cd debbuild
git clone https://salsa.debian.org/debian/olsrd.git
mv olsrd/debian ..
cd ..
echo "1.0" > debian/source/format
vi debian/changelog # update to my version number
dpkg-buildpackage -uc -us
now instead of just making the debian packages, it seems to want to install olsrd. That is not what I want. Here is the error:
========= C O N F I G U R A T I O N - F I L E ============
olsrd uses the configfile /etc/olsrd/olsrd.conf
a default configfile. A sample RFC-compliance aimed
configfile can be found in olsrd.conf.default.rfc.
However none of the larger OLSRD using networks use that
so install a configfile with activated link quality exstensions
per default.
can be found at files/olsrd.conf.default.lq
==========================================================
mkdir -p /etc/olsrd
mkdir: cannot create directory ‘/etc/olsrd’: Permission denied
Makefile:168: recipe for target 'install_olsrd' failed
make[2]: *** [install_olsrd] Error 1
make[2]: Leaving directory '/home/pmelange/src/olsrd'
debian/rules:27: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 2
make[1]: Leaving directory '/home/pmelange/src/olsrd'
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 2
The only files generated are olsrd_<version>.dsc
and olsrd_<version>.tar.gz
Can you help any further? Would it make more sense to add the debian directoy to this repo?
from olsrd.
mkdir: cannot create directory ‘/etc/olsrd’: Permission denied
had this problem too, thus made a PR: Fix Makefiles not to create files in root dir when building packages
but for building debian packages i considered not to do everything by hand and found this neat software debian-jenkins-glue to be very handy for this task.
from olsrd.
jenkins-glue seems to be quite cool, but since my feature is in production, I don't really need it. I just need to make the packages once.
Also, as per the install instructions, I need sudo permission. This should not be a requirement to build debian packages.
I have added the Makefile changes from #63 in my branch, and it works. Thanks for the tip. I look forward to seeing that PR get merged.
But still, README-Debian-package is out of date. Would you say that the instructions above are ok? Or is there some git magic to just get the debian directory from https://salsa.debian.org/debian/olsrd.git and put it directly in my forked olsrd directory structure.
Or, would it be better to have the debian directory in the main olsrd repo?
@fhuberts what do you think?
from olsrd.
Or, would it be better to have the debian directory in the main olsrd repo?
i thought about that too, but since there is a debian catalog "maintained" on salsa.debian.org, i would say its better to use this, so i use that git repo for packaging. a copy of that here would make hassles in having them both sync i guess.
its fairly recent on 0.9.6.1, i forked it and copied changes from github-olsrd repo over into upstream branch, added tag 0.9.6.2 and actually am using my forked repo for building packages.
one could do that too on the salsa-olsrd repo to update it...
from olsrd.
I Cherry-picked your commit in #63 to my feature branch.
Also, I figured out how to get the debian directory with git magic. I think these instructions are better.
git clone <url to olsrd repo>
cd olsrd
git checkout <you branch> # This step is optional
git add remote debbuild https://salsa.debian.org/debian/olsrd.git
git fetch debbuild
git checkout debbuild/master debian
echo "1.0" > debian/source/format
vi debian/changelog # Set the version number on top line
dpkg-buildpackage -uc -us
ls-l ../olsrd*.*
I would make the change to README-Debian-package. What do you think?
from olsrd.
echo "1.0" > debian/source/format
this is often made i noticed but not really a good idea, see this link for details: https://wiki.debian.org/Projects/DebSrc3.0
in my opinion, better to let it on "3.0 (quilt)" and make everything around work with it, instead using hacks for quick&dirty fix.
from olsrd.
Leaving it as "3.0 (quilt)" gave me the following error:
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../olsrd_0.9.6.1.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b olsrd gave error exit status 255
I would say that incompatibility with "3.0 (quilt)" should be it's own issue.
from olsrd.
that error just tells you, it wants to build from a (previously created) tar file.
create that tarball beforehand and it should work.
from olsrd.
resolved 7e33556
from olsrd.
Related Issues (20)
- dh_installdocs: Cannot find (any matches for) "lib/mdns/README" (tried in .) HOT 1
- Update or migrate to new libgps versions required? HOT 4
- AREDN network storms: What they look like, how they happen, and how to prevent them HOT 10
- OLSR Mailinglist Down HOT 12
- Memory leak in remove_interface function?
- crash on shutdown (on OpenWrt) HOT 1
- Nameservice, Scheduler: Jitter-option can postpone actions a *very* long time
- request a new release HOT 2
- supporting gpsd 3.25 HOT 2
- PacketHistory.c:157: PacketCrc32: Assertion `len > 0' failed
- OLSRd exits on Redhat. HOT 7
- useless 'continue;' in mpr.c? HOT 1
- Running multiple instances of OLSRD??? to handle different latency cutoffs, on RF vs ISP hop links. HOT 6
- fails to add tunnel as it already exists - Smartgateway fails HOT 6
- olsrd_gyn_gw: possible memory leak in finish function
- gpsdclient.c:373:20: error: 'struct gps_fix_t' has no member named 'status'; HOT 3
- olsr.org - 0.9.8-git_0000000-hash_10144e50aca230a4127a3772519ad24e detaching from the current process... HOT 4
- Cannot get hops to show using traceroute - Running on Raspberry Pi HOT 3
- Compiling Warning
- Compiling with glibc results in error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from olsrd.