deb repo: actually provide usable instructions in README

Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
This commit is contained in:
Roman Lebedev 2025-09-18 01:53:05 +03:00
parent 2303fad2be
commit 1b560a9a35
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0

View File

@ -141,17 +141,26 @@ jobs:
To add this repository to your computer, do:
wget -qO- https://apt.bcachefs.org/apt.bcachefs.org.asc | sudo tee /etc/apt/trusted.gpg.d/apt.bcachefs.org.asc
# Fingerprint: ${{ secrets.GPG_SIGNING_SUBKEY_FINGERPRINT }}
sudo cat > "/etc/apt/sources.list.d/apt.bcachefs.org.sources" <<EOF
Types: deb deb-src
URIs: https://apt.bcachefs.org/unstable/
Suites: bcachefs-tools-snapshot # or -release
Components: main
Signed-By: /etc/apt/trusted.gpg.d/apt.bcachefs.org.asc
EOF
sudo apt update
sudo apt install bcachefs-tools
wget -qO- https://apt.bcachefs.org/apt.bcachefs.org.asc | sudo tee /etc/apt/trusted.gpg.d/apt.bcachefs.org.asc
# Fingerprint: ${{ secrets.GPG_SIGNING_SUBKEY_FINGERPRINT }}
sudo cat > "/etc/apt/sources.list.d/apt.bcachefs.org.sources" <<EOF
Types: deb deb-src
URIs: https://apt.bcachefs.org/unstable/
# Or replace unstable with your distro's release name
Suites: bcachefs-tools-snapshot
# or:
# Suites: bcachefs-tools-release
Components: main
Signed-By: /etc/apt/trusted.gpg.d/apt.bcachefs.org.asc
EOF
sudo apt update
sudo apt install bcachefs-tools
Or you can use add-apt-repository tool:
sudo add-apt-repository "deb https://apt.bcachefs.org/unstable bcachefs-tools-snapshot main"