I've updated the package build to fix the raised issues and remaining TODOs:
#1 - The AppArmor profile has been created for /usr/bin/hwctl and merged to
the master branch in the AppArmor repo. Here are the PR details:
https://gitlab.com/apparmor/apparmor/-/merge_requests/1658/
Here is the hwctl profile in AppArmor master:
https://gitlab.com/apparmor/apparmor/-/blob/master/profiles/apparmor.d/usr.bin.hwctl
#2 - The rust-hwlib:hwctl autopkg test has been added. It mocks the hwapi
server that
returns a static response, runs the hwctl tool, and compares the output
with the
expected one.
#3 and #4 - Were explained above
Also, all the cargo dependencies are up-to-date and don't have known
vulnerabilities:
$ osv-scanner scan --verbosity warn -r --format table .
No issues found
The code has been updated to use the full paths of binaries like `lsmod`,
`lsb_release`, and `dpkg`.
I had to create a new PPA for the project due to Questing becoming the new
target release that caused version conflicts for the Plucky release:
https://launchpad.net/~nhutsko/+archive/ubuntu/hwlib-ppa
Links to build log:
* questing:
https://launchpadlibrarian.net/792328895/buildlog_ubuntu-questing-amd64.rust-hwlib_0.9.0~ppa8_BUILDING.txt.gz
* plucky:
https://launchpadlibrarian.net/792332288/buildlog_ubuntu-plucky-amd64.rust-hwlib_0.9.0~25.04~ppa8_BUILDING.txt.gz
* oracular:
https://launchpadlibrarian.net/792342288/buildlog_ubuntu-oracular-amd64.rust-hwlib_0.9.0~24.10~ppa8_BUILDING.txt.gz
* noble:
https://launchpadlibrarian.net/792359943/buildlog_ubuntu-noble-amd64.rust-hwlib_0.9.0~24.04~ppa8_BUILDING.txt.gz
* jammy:
https://launchpadlibrarian.net/792357487/buildlog_ubuntu-jammy-amd64.rust-hwlib_0.9.0~22.04~ppa8_BUILDING.txt.gz
* focal:
https://launchpadlibrarian.net/792361770/buildlog_ubuntu-focal-amd64.rust-hwlib_0.9.0~20.04~ppa8_BUILDING.txt.gz
Links to test logs:
* questing:
https://autopkgtest.ubuntu.com/results/autopkgtest-questing-nhutsko-hwlib-ppa/questing/amd64/r/rust-hwlib/20250509_201510_aaf92@/log.gz
* plucky:
https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-nhutsko-hwlib-ppa/plucky/amd64/r/rust-hwlib/20250509_201313_372f0@/log.gz
* oracular:
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-nhutsko-hwlib-ppa/oracular/amd64/r/rust-hwlib/20250509_201953_b5fd5@/log.gz
* noble:
https://autopkgtest.ubuntu.com/results/autopkgtest-noble-nhutsko-hwlib-ppa/noble/amd64/r/rust-hwlib/20250510_055131_ed790@/log.gz
* jammy:
https://autopkgtest.ubuntu.com/results/autopkgtest-jammy-nhutsko-hwlib-ppa/jammy/amd64/r/rust-hwlib/20250510_055142_2fbef@/log.gz
* focal:
https://autopkgtest.ubuntu.com/results/autopkgtest-focal-nhutsko-hwlib-ppa/focal/amd64/r/rust-hwlib/20250510_055123_2275f@/log.gz
** Changed in: Ubuntu Plucky
Status: Incomplete => New
** Changed in: Ubuntu Questing
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072561
Title:
[MIR] rust-hwlib
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2072561/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
