I had a slight issue with overloads during build()
I created a small patch to resolve
https://gist.github.com/envolution/b56eb3686c188397c3935fb41151f33b
Git Clone URL: | https://aur.archlinux.org/sedutil.git (read-only, click to copy) |
---|---|
Package Base: | sedutil |
Description: | TCG OPAL 2.00 SED Management Program |
Upstream URL: | https://github.com/Drive-Trust-Alliance/sedutil |
Keywords: | tcg |
Licenses: | GPL3 |
Submitter: | R00KIE |
Maintainer: | 2bluesc (ozz) |
Last Packager: | 2bluesc |
Votes: | 46 |
Popularity: | 0.41 |
First Submitted: | 2015-10-18 14:02 (UTC) |
Last Updated: | 2025-03-02 19:58 (UTC) |
I had a slight issue with overloads during build()
I created a small patch to resolve
https://gist.github.com/envolution/b56eb3686c188397c3935fb41151f33b
mkinitcpio
, linux
, and linux-lts
probably should be listed as other optional dependencies, as these (well, one of the kernels, the point being that custom ones won't work) are needed in order to build own PBA image. Not sure what's the situation with AMD ucode either...
I'm going to disown this project at least for some time because I may have limited access to a computer at times.
Option --loadPBAimage
is unfortunately broken on current version. It would be nice if you'd include a patch to fix it: https://patch-diff.githubusercontent.com/raw/Drive-Trust-Alliance/sedutil/pull/486.patch. Thanks!
@frazar0 Thanks! libnvme added as a regular dependency. It looks like your method of just using it as a make dependency is better but I'll wait until I feel better so I can think clearly. :)
It seems like the sedutil
1.49.4-1 package fails to build in a clean chroot with
linux/DtaLinux.cpp:42:10: fatal error: nvme/types.h: No such file or directory
42 | #include <nvme/types.h>
| ^~~~~~~~~~~~~~
I've observed that the nvme/types.h
file belongs to the libnvme
package.
$ pacman -Qo /usr/include/nvme/types.h
/usr/include/nvme/types.h is owned by libnvme 1.10-1
Adding said package as a build-time dependency fixes the build:
--- PKGBUILD.bak 2024-09-14 10:21:28.000000000 +0200
+++ PKGBUILD 2024-09-14 15:17:06.379914241 +0200
@@ -8,6 +8,7 @@
arch=('i686' 'x86_64')
url="https://github.com/Drive-Trust-Alliance/sedutil"
license=('GPL3')
+makedepends=('libnvme')
optdepends=('syslinux: to create a bootable PBA disk image'
'gptfdisk: to create a bootable PBA disk image'
'parted: to create a bootable PBA disk image'
@otherego I went ahead and took over as maintainer at least for now. I'm currently in a bit of a COVID fog so let me know if problems exist. It looks like possibly some of the disk image creation scripts may need modification.
@ozz it looks like the url into your PKGBUILD isn't available anymore
@Misaka13514 Building seems to somehow be broken on the release tarball, let me get this to build and I'll push an updated package
@alexdelorenzo They are not docs, I haven't gotten around to write some documentation and I need to retest all the steps to make sure everything still works, but a first approach is described here: https://aur.archlinux.org/packages/sedutil?O=30#comment-530790
One thing I think will "fail" is that luks now defaults to the luks2 format and will use more space and as a result the pba image would need to be larger. i will need to review all this and make sure it still works with the latest and greatest versions of everything.
Pinned Comments
R00KIE commented on 2016-08-27 21:39 (UTC)