mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
fix packaging
- make deb fails with dh: error: Unknown sequence --with (options should not come before the sequence) - fix deb build deps - add missing rpm files Signed-off-by: Alexander Fougner <fougner89@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
b44629a3db
commit
4c5dcb018d
10
.github/workflows/build-packages.yml
vendored
10
.github/workflows/build-packages.yml
vendored
@ -18,11 +18,11 @@ jobs:
|
|||||||
run: sudo rm -f /var/lib/man-db/auto-update
|
run: sudo rm -f /var/lib/man-db/auto-update
|
||||||
- name: Install build-deps
|
- name: Install build-deps
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update && sudo apt-get -y --no-install-recommends install pkg-config libaio-dev libblkid-dev \
|
sudo apt-get update && sudo apt-get -y --no-install-recommends install \
|
||||||
libkeyutils-dev liblz4-dev libsodium-dev liburcu-dev libzstd-dev \
|
valgrind \
|
||||||
uuid-dev zlib1g-dev valgrind libudev-dev python3-docutils \
|
equivs devscripts
|
||||||
debhelper llvm clang libclang-dev rustc cargo \
|
mk-build-deps
|
||||||
devscripts udev
|
sudo apt install ./bcachefs-tools-build-deps_*.deb
|
||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
run: |
|
run: |
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
|
||||||
|
4
debian/control
vendored
4
debian/control
vendored
@ -3,10 +3,10 @@ Maintainer: Kent Overstreet <kent.overstreet@gmail.com>
|
|||||||
Section: utils
|
Section: utils
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.5
|
||||||
Build-Depends: debhelper (>= 9), pkg-config, libaio-dev, libblkid-dev,
|
Build-Depends: debhelper (>= 9), dh-python, pkg-config, libaio-dev, libblkid-dev,
|
||||||
libkeyutils-dev, liblz4-dev, libsodium-dev, liburcu-dev, libudev-dev,
|
libkeyutils-dev, liblz4-dev, libsodium-dev, liburcu-dev, libudev-dev,
|
||||||
libzstd-dev, uuid-dev, zlib1g-dev, python3, python3-docutils,
|
libzstd-dev, uuid-dev, zlib1g-dev, python3, python3-docutils,
|
||||||
rustc, cargo, llvm, clang, libclang-dev, systemd
|
rustc, cargo, llvm, clang, libclang-dev, systemd, udev
|
||||||
Homepage: https://bcachefs.org/
|
Homepage: https://bcachefs.org/
|
||||||
|
|
||||||
Package: bcachefs-tools
|
Package: bcachefs-tools
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -3,7 +3,7 @@
|
|||||||
PREFIX := /usr
|
PREFIX := /usr
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh --with python3 $@
|
dh $@ --with python3
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- "PREFIX=$(PREFIX)"
|
dh_auto_install -- "PREFIX=$(PREFIX)"
|
||||||
|
1
fsck/.gitignore
vendored
1
fsck/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
*.service
|
*.service
|
||||||
|
bcachefsck_all
|
@ -20,6 +20,7 @@ BuildRequires: libuuid-devel
|
|||||||
BuildRequires: libzstd-devel
|
BuildRequires: libzstd-devel
|
||||||
BuildRequires: lz4-devel
|
BuildRequires: lz4-devel
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: udev
|
BuildRequires: udev
|
||||||
BuildRequires: userspace-rcu-devel
|
BuildRequires: userspace-rcu-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -55,6 +56,9 @@ rm -f %{buildroot}/usr/lib/libbcachefs.so
|
|||||||
%{_sbindir}/mkfs.fuse.bcachefs
|
%{_sbindir}/mkfs.fuse.bcachefs
|
||||||
%{_mandir}/man8/bcachefs.8.gz
|
%{_mandir}/man8/bcachefs.8.gz
|
||||||
%{_udevrulesdir}/64-bcachefs.rules
|
%{_udevrulesdir}/64-bcachefs.rules
|
||||||
|
%{_unitdir}/bcachefsck*
|
||||||
|
%{_unitdir}/system-bcachefsck.slice
|
||||||
|
%{_prefix}/lib/bcachefsck*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Nov 15 2022 Eric Sandeen <sandeen@sandeen.net> - 2022.11.15-1
|
* Tue Nov 15 2022 Eric Sandeen <sandeen@sandeen.net> - 2022.11.15-1
|
||||||
|
Loading…
Reference in New Issue
Block a user