File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [ $installed = 'false' ]; then
10
10
fi
11
11
12
12
: ' Running the build'
13
- cargo build
13
+ cargo build --target x86_64-unknown-linux-gnu -p inputmodule-control
14
14
15
15
: " Packaging"
16
16
fpm \
@@ -22,11 +22,11 @@ fpm \
22
22
--description " framework-inputmodule-rs runs Framework Laptop 16 input modules and keeps their firmware up to date" \
23
23
--url " https://frame.work" \
24
24
--maintainer
" Framework <[email protected] >" \
25
- --deb-systemd ./framework-inputmodule-rs.service \
25
+ --deb-systemd ./release/ framework-inputmodule-rs.service \
26
26
--deb-systemd-enable \
27
27
--deb-systemd-auto-start \
28
28
--deb-systemd-restart-after-upgrade \
29
- --after-install postinstall.sh \
29
+ --after-install ./release/ postinstall.sh \
30
30
target/x86_64-unknown-linux-gnu/debug/inputmodule-control=/usr/bin/framework-inputmodule-rs
31
31
32
32
: ' Packaging successful, install with "sudo dpkg -i <pkg-name>.deb"'
You can’t perform that action at this time.
0 commit comments