archive: add /usr/sbin symlinks for UsrMerge (MR 53)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
@@ -421,6 +421,7 @@ func (archive *Archive) writeCpio() error {
|
|||||||
archive.addSymlink("/bin", "/bin")
|
archive.addSymlink("/bin", "/bin")
|
||||||
archive.addSymlink("/sbin", "/sbin")
|
archive.addSymlink("/sbin", "/sbin")
|
||||||
archive.addSymlink("/lib", "/lib")
|
archive.addSymlink("/lib", "/lib")
|
||||||
|
archive.addSymlink("/usr/sbin", "/usr/sbin")
|
||||||
}
|
}
|
||||||
// having a transient function for actually adding files to the archive
|
// having a transient function for actually adding files to the archive
|
||||||
// allows the deferred fd.close to run after every copy and prevent having
|
// allows the deferred fd.close to run after every copy and prevent having
|
||||||
|
Reference in New Issue
Block a user