Felix Fietkau
6f46704743
base-files: split service related functions off to /lib/functions/service.sh
...
SVN-Revision: 31042
13 years ago
Gabor Juhos
6c61d7cbf1
base-files: remove trailing whitespaces from lib/functions/boot.sh
...
SVN-Revision: 30776
13 years ago
Gabor Juhos
561f4d2840
base-files: add lib/functions/uci-defaults.sh
...
SVN-Revision: 29384
13 years ago
Felix Fietkau
66bcd1d049
base-files: add initial support for mounting overlayfs
...
SVN-Revision: 26207
14 years ago
Michael Büsch
e6100a161b
boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
...
SVN-Revision: 25635
14 years ago
Michael Büsch
16a300ea66
base-files: Add "-o noatime" to mount wrapper
...
noatime is cheaper than default relatime.
SVN-Revision: 25634
14 years ago
Jo-Philipp Wich
a8efa34da3
Fix permissions for /etc and other dirs after clean flash ( #6039 )
...
During the first OpenWrt boot after a clean flash (when the jffs2
partition is not yet initialized) tmpfs is used instead of the usual
jffs2 overlay filesystem. If this tmpfs is mounted with default
options, all directories created there (/etc, /etc/config, other
subdirectories in /etc) get permissions 1777 by default, and these
permissions then persist in the created jffs2 at least until
subsequent sysupgrade. Mounting tmpfs with mode=0755 fixes the
permission problem.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
SVN-Revision: 23906
14 years ago
Daniel Dickinson
18b473ca9b
base/block-extroot, base/block-mount: Modified preinit and block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done.
...
Thanks jow for the preinit merge stuff!
SVN-Revision: 23110
14 years ago
Daniel Dickinson
1385904dfa
base-files: Add function pi_include the /lib/functions/boot.sh used by preinit, which safely sources files as well as working correctly whether the script using it is a package added to the jffs2 part of a squashfs or built into an image or on some other root filesystem.
...
SVN-Revision: 23099
14 years ago
Jo-Philipp Wich
d6a142375b
base-files: fix a preinit hang in jffs2_ready() when no rootfs_data partition is found ( #7362 )
...
SVN-Revision: 21511
15 years ago
Florian Fainelli
7af8ee0481
change from /jffs to /overlay, patch from Daniel Dickinson
...
SVN-Revision: 20356
15 years ago
Jo-Philipp Wich
1968fb8da3
base-files: force preinit to use busybox mount ( #6797 )
...
SVN-Revision: 20176
15 years ago
Felix Fietkau
9be4598569
add block-extroot, a package for using an external filesystem as rootfs (patch by cshore)
...
SVN-Revision: 19880
15 years ago
Felix Fietkau
56bc02a305
add preinit modularization work by Daniel Dickinson (cshore)
...
SVN-Revision: 19331
15 years ago