Skip to content

Commit

Permalink
Enabled ARM64 packages in jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Ettinger committed Jul 13, 2023
1 parent 7618c67 commit 42b08a5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 26 deletions.
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,32 @@ Usage
-----

This PPA is signed using a GPG key, so you'll first want to include
[the signing key](gpg/net4sat.gpg.key) into your APT keyring. To do so, run the
next command on your machine:
[the signing key](gpg/net4sat.gpg.key) into your filesystem and instruct
APT to use it to check packages from this repository. To do so, start by
downloading the key to a path of your liking, for instance:

```
curl -sS https://raw.githubusercontent.com/CNES/net4sat-packages/master/gpg/net4sat.gpg.key | sudo apt-key add -
sudo mkdir /etc/apt/keyrings
curl -sS https://raw.githubusercontent.com/CNES/net4sat-packages/master/gpg/net4sat.gpg.key | gpg --dearmor | sudo dd of=/etc/apt/keyrings/net4sat.gpg
```

Next, you'll want to instruct APT that you want to fetch packages from this PPA:
Next, you'll want to instruct APT that you want to fetch packages from
this PPA. Run the following command to create the appropriate file in
the `/etc/apt/sources.list.d/` folder:

```
echo "deb https://raw.githubusercontent.com/CNES/net4sat-packages/master/ focal stable" | sudo tee /etc/apt/sources.list.d/github.net4sat.list
cat << EOF | sudo tee /etc/apt/sources.list.d/github.net4sat.sources
Types: deb
URIs: https://raw.githubusercontent.com/CNES/net4sat-packages/master/focal/
Suites: focal
Components: stable
Signed-By: /etc/apt/keyrings/net4sat.gpg
EOF
```

You can use the `dev` or `testing` component instead of `stable` depending on
your needs.
Change `focal` by `jammy` if appropriate.

You can also use the `dev` or `testing` components instead of or alongside `stable` depending on your needs.

Lastly, you want to populate APT's cache so it knows which packets are available from here:

Expand Down
17 changes: 0 additions & 17 deletions conf/distributions

This file was deleted.

1 change: 0 additions & 1 deletion conf/options

This file was deleted.

2 changes: 1 addition & 1 deletion jammy/conf/distributions
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Origin: github.com/CNES/net4sat-packages/jammy
Label: APT Repository
Codename: jammy
Architectures: amd64
Architectures: amd64 arm64
Components: stable dev testing
Description: Collection of metrology, testing and simulation tools
SignWith: 4D5BC68A7ACF6B68
Expand Down

0 comments on commit 42b08a5

Please sign in to comment.