Skip to content

Fix debuild instructions in software-sources.adoc #4129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion documentation/asciidoc/computers/software-sources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ At Raspberry Pi we're trying to open source as much of our code as possible to m

== Finding software sources in Raspberry Pi OS

When looking for software which is distributed with Raspberry Pi OS, there are often upstream software sources that we patch to create our downstream packages (those tagged with `pass:[+rpt]`). To view the source for those packages it is usually easier to fetch through apt. To do this, you first need to edit your apt lists to include the source packages. The following files should be edited to remove the leading `pass:[#]` from each line:
When looking for software which is distributed with Raspberry Pi OS, there are often upstream software sources that we patch to create our downstream packages (those tagged with `pass:[+rpt]`). To view the source for those packages it is usually easier to fetch through apt. To do this, you first need to edit your apt lists to include the source packages. The following files should be edited to remove the leading `pass:[#]` from each `deb-src` line:

* `+/etc/apt/sources.list+`
* `+/etc/apt/sources.list.d/raspi.list+`
Expand All @@ -21,11 +21,19 @@ Now you can fetch the package source, for example:
$ apt source labwc
----

Next you need to install a helper package:

[source,console]
----
$ sudo apt install devscripts
----

Finally you can build the package using the standard Debian building process.

[source,console]
----
$ sudo apt build-dep labwc
$ cd labwc-0.8.4
$ debuild -uc -us
----

Expand Down