Commit Graph

9 Commits (06364b33603e4ae166865b931a75f806ce101469)

Author SHA1 Message Date
Daniel Dickinson ce5a30ba10 [package] 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!



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 13:58:05 +00:00
Daniel Dickinson 9930188d22 [package] block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 17:28:50 +00:00
Daniel Dickinson efa3beb78b [package]: block-mount: Fixed two bugs in fstab.init. /etc/fstab was used where /tmp/fstab should have been, and locking was insufficiently careful and was such that it could result in deadlock when hotplug was in use.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:35:39 +00:00
Daniel Dickinson d2f3a21390 [package]: block-mount: Enable swap before doing fsck so that large filesystem checks have swap as well as memory (as they take large memory for large partitions). Closes #7599.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:25:09 +00:00
Daniel Dickinson fe638dc0ed block-extroot, block-mount: Fixed multiple bugs which prevented e2fsck from being executed on the external root filesystem before mounting it as root. Added /etc/e2fsck.conf which indicates that the clock is broken (since most OpenWRT devices don't have a battery backed RTC) so that e2fsck will not exit with fatal error when the rdat has not yet been run (i.e. before network).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 23:09:13 +00:00
Daniel Dickinson c0edae12e1 block-mount: Fixed mount deadlocks due to buggy use of locks in /lib/functions/block.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-29 10:07:45 +00:00
Nicolas Thill be605d9141 package/block-mount: mark /etc/config/fstab as conffiles (closes: #7130)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 07:24:00 +00:00
Nicolas Thill d21b23ab5e package/block-mount: disable config options altering busybox configuration, fix dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 00:52:51 +00:00
Felix Fietkau 3d97332bd2 add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 22:45:39 +00:00