1
0

fix: copy debian /usr/src with folow symbolic links

This commit is contained in:
dump_stack() 2023-05-24 07:30:18 +00:00
parent 02bca8e0ae
commit 4a5376eb43
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -431,7 +431,7 @@ func (d Debian) Install(pkgname string, headers bool) (err error) {
cmds = append(cmds, "cp -r /boot /target/")
cmds = append(cmds, "cp -r /lib/modules /target/lib/")
cmds = append(cmds, "cp -r /usr/src /target/usr/")
cmds = append(cmds, "cp -rL /usr/src /target/usr/")
_, err = c.Run("", cmds)
if err != nil {