1
0
Fork 0

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

timestamps
dump_stack() 2023-05-24 07:30:18 +00:00
parent 02bca8e0ae
commit 4a5376eb43
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

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 {