mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #437] Using mkdeb to build firejail #317
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#317
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Fred-Barclay on GitHub (Apr 14, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/437
G'day netblue30. This isn't an issue per se, at least not yet--I just need more info on building a firejail.deb package.
After downloading the source code and cd-ing into the directory, how do I build the .deb? Do I immediately run
./mkdeb.sh? Do I./configurefirst? Are there any intermediate steps?When installing the .deb, is it prefixed to /usr/local? I noticed that building from source does this, but I'd definitely not prefer this behavior if I
dpkg -i firejail.deb. (In another words, does it build a .deb that behaves the same as one I download from your repo on SourceForge? Ignoring changes/updates, of course.)Thanks!
Fred
@netblue30 commented on GitHub (Apr 15, 2016):
First you configure it, than you do make deb:
The package is prefixed automatically to /usr.
@Fred-Barclay commented on GitHub (Apr 15, 2016):
Thanks, mate.
Would it be possible to avoid prefixing to /usr? Or is that a really bad idea?
(EDIT: Sorry, didn't mean to close it just yet.)
@netblue30 commented on GitHub (Apr 16, 2016):
Usually packages you compile yourself end up in /usr/local/bin, and .deb or .rpm packages you download are placed under /usr/bin. These are old rules, you can get around them as you like, I don't think it matters.
You can modify mkdeb.sh:
You need to change "./configure --prefix=/usr" to "./configure".
@Fred-Barclay commented on GitHub (Apr 16, 2016):
...which would explain why
./configure --prefix=seemed to have no effect on the .deb.Thanks!