archive: add /usr/sbin symlinks for UsrMerge (MR 53)

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Caleb Connolly
2024-06-18 23:59:34 +02:00
parent 81de8b438d
commit 5efdb9f170

View File

@@ -421,6 +421,7 @@ func (archive *Archive) writeCpio() error {
archive.addSymlink("/bin", "/bin")
archive.addSymlink("/sbin", "/sbin")
archive.addSymlink("/lib", "/lib")
archive.addSymlink("/usr/sbin", "/usr/sbin")
}
// having a transient function for actually adding files to the archive
// allows the deferred fd.close to run after every copy and prevent having