Closed tosasitill closed 8 months ago
你看下 ls -al bin/Darwin/X86-64/mkfs.erofs有没有 x权限? 确保是用的sudo权限运行port.sh
是sudo运行的 刚授权完x 现在正在尝试重新打包
[1211-23:13:01] 以[EROFS]文件系统打包[product.img]
FSPATCH by [affggh]
LICENES [Apache 2.0]
VERSION [1.0]
FsPatcher: Load origin 1841 entries
Add [product['0', '0', '0755']]
Add [product/etc/device_features/haydn.xml['0', '0', '0644']]
Add [product/etc/displayconfig/display_id_4630946736638489730.xml['0', '0', '0644']]
FsPatcher: Add 3 entries
Done!
CONTEXTPATCH by [ColdWindScholar]
VERSION [1.0]
ContextPatcher: Load origin 1842 entries
ADD [/lost+found ['u:object_r:system_file:s0']]
ADD [/product/etc/device_features/haydn.xml ['u:object_r:system_file:s0']]
ADD [/product/etc/displayconfig/display_id_4630946736638489730.xml ['u:object_r:system_file:s0']]
ContextPatcher: Add 3 entries
Done!
mkfs.erofs 1.7-gce362738
loaded 1767 fs_config entries
<E> erofs: failed to build shared xattrs: [Error 96] No message available on STREAM
<E> erofs: Could not format the device : [Error 96] No message available on STREAM
还是错误
这是他的权限
tosasitill@mac hyperos_port-main % ls -al /Users/tosasitill/Downloads/hyperos_port-main/bin/Darwin/X86_64/mkfs.erofs
-rwxrwxrwx@ 1 tosasitill staff 747640 12 10 16:39 /Users/tosasitill/Downloads/hyperos_port-main/bin/Darwin/X86_64/mkfs.erofs
而且其他分区打包是正常的 唯有product不行
还是报错 而且mio的这个erofs还是用我的电脑环境编译的 就很奇怪 我手动创建也失败了
这个就不知道咋回事了。 我这边 macOS Sonama 正常。
我估计是一些奇怪的环境冲突了 我待会重新试着配置一下
感觉没办法解决了 我去最新的erofs utils仓库提交了issue