1
cncaihua 2014-12-18 14:41:02 +08:00
如此便是甚好啊
|
2
20150517 2014-12-18 16:11:25 +08:00 via Android
要大了不少吧openwrt上大家最在意的就是包大小了
|
4
582033 2014-12-18 16:41:49 +08:00
|
6
yangyang OP |
10
20150517 2014-12-18 20:45:50 +08:00
@yangyang
取决于你是不是SquashFS SquashFS is a read only compressed filesystem. While gzip is available, at OpenWrt it uses LZMA for the compression. Since SquashFS is a read only filesystem, it doesn't need to align the data, allowing it to pack the files tighter thus taking up significantly less space than JFFS2 (20-30% savings over a JFFS2 filesystem)! + taking up as little space as possible + allowing the implementation of an idiot proof FailSafe for recovery, since it is not possible to write to it - read only - waste space, since each time a file contained on it is modified, actually a copy of it is being copied to the second (JFFS2) partition 你的可能不是squashfs,输条mount来看看? |
12
20150517 2014-12-18 23:02:46 +08:00
@yangyang 大哥,讨论问题不需要这么傲娇好吗?你的overlay是jffs2格式,所以你能free space,不是因为你是Squashfs
装在squashfs上的包是没法free的 https://forum.openwrt.org/viewtopic.php?id=31246 OpenWRT uses squashfs. Read about squashfs at http://en.wikipedia.org/wiki/SquashFS In short you cannot remove preinstalled packages such that flash space it released. But preinstalled packages have the advantage of being compressed in flash and therefor take a lot less flash space. Packages installed using opkg are not compressed on your router so they are less efficient in regards to the amount of flash space they occupy but they can be removed. To do what you want you need to build your own version of openwrt using make menuconfig to select the packages you want preinstalled. |
13
SkYoung 2014-12-27 17:44:54 +08:00
lz ,请教,这种情况怎么办
Upgrading busybox on root from 1.22.1-2 to 1.22.1-5... Configuring busybox. //usr/lib/opkg/info/busybox.postinst: line 4: default_postinst: not found Collected errors: * pkg_run_script: package "busybox" postinst script returned status 127. * opkg_configure: busybox.postinst returned 127. |
14
v2exhehehehe 2015-02-01 11:05:40 +08:00
楼主来个patch吧,我给我的也加上
|