summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib/functions
AgeCommit message (Collapse)Author
2011-03-17base-files: add initial support for mounting overlayfsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()mb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20base-files: Add "-o noatime" to mount wrappermb
noatime is cheaper than default relatime. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07[PATCH] Fix permissions for /etc and other dirs after clean flash (#6039)jow
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23[package] base/block-extroot, base/block-mount: Modified preinit and ↵cshore
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! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19[package] base-files: Add function pi_include the /lib/functions/boot.sh ↵cshore
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-20[package] base-files: fix a preinit hang in jffs2_ready() when no ↵jow
rootfs_data partition is found (#7362) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21change from /jffs to /overlay, patch from Daniel Dickinsonflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-13[package] base-files: force preinit to use busybox mount (#6797)jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26add block-extroot, a package for using an external filesystem as rootfs ↵nbd
(patch by cshore) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25add preinit modularization work by Daniel Dickinson (cshore)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73