core: 修复在 windows 下打包 initramfs 时, 修改了 rdisc6 的 owner 导致 rdisc6 无法运行

造成 ipv6 统一配置成静态

> rdisc6 ens5
Raw IPv6 socket: Operation not permitted

> ls -l /usr/bin/rdisc6
-rwsr-xr-x 1 197108 197121 26648 Jan 14 2024 /usr/bin/rdisc6
This commit is contained in:
bin456789
2026-03-15 23:43:52 +08:00
parent 8dd873d7dd
commit c6000c16ab

View File

@ -3918,7 +3918,7 @@ This script is outdated, please download reinstall.sh again.
# -c Identical to "-H newc", use the new (SVR4)
# portable format.If you wish the old portable
# (ASCII) archive format, use "-H odc" instead.
find . | cpio --quiet -o -H newc | gzip -1 >/reinstall-initrd
find . | cpio --quiet -o -H newc -R 0:0 | gzip -1 >/reinstall-initrd
cd - >/dev/null
}