[Bug 249374] ports-mgmt/pkg: 1.15.4 cannot unroll hard links to copies, and still runs pkg-install after error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Aug 2024 10:19:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249374 --- Comment #3 from Matthias Andree <mandree@FreeBSD.org> --- After receiving an email message asking what the consequence of this was, my workaround was changing the package structure and finally accepting that I needed to copy the file. In detail, I ended up breaking up the e2fsprogs port into 1. a new e2fsprogs-core port and 2. the e2fsprogs port (the existing name) where the -core port has the stuff without links, and has the former e2fsprogs-core port as a build requisite and copies two files into /sbin and packages them separately, as copies. See https://cgit.freebsd.org/ports/tree/sysutils/e2fsprogs/Makefile?id=c7d90c65422d0b64ab00ece9237c2c4431d3ee23#n16 It isn't terribly efficient, but I could not find a better copromise that ticked all of these priority boxes: [ ] 1. not break on install when the filesystem split is different than for the port [ ] 2. not claim checksum errors if I do things in post-install scripts [ ] 3. not create redundant copies. I did not manage to fix no. 3 with the existing pkg, and do not see how I can do that without assuming that there is no file system boundary between /sbin and /usr/local/whatever. -- You are receiving this mail because: You are the assignee for the bug.