-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e27892
commit d333a86
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ if [ $installed = 'false' ]; then | |
fi | ||
|
||
: 'Running the build' | ||
cargo build | ||
cargo build --target x86_64-unknown-linux-gnu -p inputmodule-control | ||
|
||
: "Packaging" | ||
fpm \ | ||
|
@@ -22,11 +22,11 @@ fpm \ | |
--description "framework-inputmodule-rs runs Framework Laptop 16 input modules and keeps their firmware up to date" \ | ||
--url "https://frame.work" \ | ||
--maintainer "Framework <[email protected]>" \ | ||
--deb-systemd ./framework-inputmodule-rs.service \ | ||
--deb-systemd ./release/framework-inputmodule-rs.service \ | ||
--deb-systemd-enable \ | ||
--deb-systemd-auto-start \ | ||
--deb-systemd-restart-after-upgrade \ | ||
--after-install postinstall.sh \ | ||
--after-install ./release/postinstall.sh \ | ||
target/x86_64-unknown-linux-gnu/debug/inputmodule-control=/usr/bin/framework-inputmodule-rs | ||
|
||
: 'Packaging successful, install with "sudo dpkg -i <pkg-name>.deb"' |