kiddin9 / Kwrt

一分钟在线定制编译 X86/64, NanoPi R2S R4S R5S R6S, 斐讯 Phicomm N1 K2P, 树莓派 Raspberry Pi, 香橙派 Orange Pi, 红米AX6, 小米AX3600, 小米AX9000, 红米AX6S 小米AX3200, 红米AC2100, 华硕ASUS, 网件NETGEAR 等主流软硬路由
https://openwrt.ai
MIT License
7.83k stars 3.14k forks source link

fstools.patch : update package to 2024-01-22 to fix extroot remount on block device #1784

Open KardRi opened 5 months ago

KardRi commented 5 months ago

見 openwrt的#7352 : FS#2231 - fstools: PREINIT calling of block extroot doesn't acknowledge non-MTD rootfs overlays

設定在fstab的extroot /overlay ,如果目標是emmc block device,remount會失敗

僅需要更新至這個版本,其餘不須更動就可解決。範例在 #1781

KardRi commented 4 months ago

@kiddin9 打擾了,可以把fstools更新一下嗎? 也可以直接加在 devices/common/kernel_6.1.sh裡

既然都替換了target/linux package/kernel package/boot package/firmware 到主線,那再加上 package/system/fstools 就好了

rm -rf target/linux package/kernel package/boot package/firmware package/system/fstools

cp -rf --parents target/linux package/kernel package/boot package/firmware package/system/fstools include/kernel config/Config-images.in config/Config-kernel.in include/image.mk include/trusted-firmware-a.mk scripts/ubinize-image.sh package/utils/bcm27xx-utils package/devel/perf ../